/*! \page dependency_tree_page Dependency Tree \anchor dependency_tree_general_description_anchor

General description

In order to better understand the relations between the %GEOM objects in a study the user has a possibility to display the ascendants and descendant of the object(s) in a family tree. User can build the dependency tree by selecting desirable object in Object Browser or OCC Viewer and calling "Show dependency tree" popup item. It will open a new or clear the existing "Dependency Tree" view window (only one view is supported) and display a dependency tree for the selected object or objects (multiple selection is supported). Also user can rebuild the tree if to select some object(s) right in the "Dependency Tree" view and call "Rebuild the tree" popup menu item. \image html tree_example.png User can change all necessary parameters of Dependency Tree Viewer in \ref pref_dependency_tree "Preferences".
\anchor dependency_tree_nodes_anchor

Nodes

Tree nodes in the Dependency Viewer are named according to the study names of the corresponding objects. Non-published objects are shown in the tree as "unpublished" and colored in special color. All nodes have the fixed size, so the long names are cut and shown with ellipsis; full name of the object can be seen in the tooltip if to keep the cursor over the node. "Dependency Tree" view supports the following states of nodes: \image html tree_main_node.png \image html tree_default_node.png \image html tree_unpublished_node.png \image html tree_highlighted_node.png \image html tree_selected_node.png
\anchor dependency_tree_links_anchor

Links

Dependency Tree Viewer shows oriented links between nodes to represent dependency direction. Viewer supports the following states of links: \image html tree_unidir_link.png \image html tree_bidir_link.png \image html tree_selfdep_link.png \image html tree_cycldep_link.png
\anchor dependency_tree_operations_anchor

Operations

The dependency tree of a chosen %GEOM object is displayed in the dedicated 2D view window. \n The functionalities of 2D viewer are available via its Viewer Toolbar. Buttons marked with small downward triangles have extended functionality which can be accessed by locking on them with left mouse button. \image html tree_tool_bar.png Dump View - exports an object from the viewer in bmp, png or jpeg image format. \image html tree_view_dump.png Fit all - scales the presentation so that it could fit within the Viewer boundaries. \image html tree_view_fitall.png Fit area - resizes the view to place in the visible area only the contents of a frame drawn with pressed left mouse button. \image html tree_view_fitarea.png Fit selection - resizes the view to fit in the visible area only currently selected objects. \image html tree_view_fitselect.png Zoom - allows to zoom in and out. \image html tree_view_zoom.png Panning - if the represented objects are greater that the visible area and you don't wish to use Fit all functionality, click on this button and you'll be able to drag the scene to see its remote parts. \image html tree_view_pan.png Global panning - allows to select a point to be the center of the presentation showing all displayed objects in the visible ares. \image html tree_view_glpan.png Hierarchy depth - allows to change the number of hierarchy levels to be shown in the dependency tree. \image html tree_hierarchy_type.png Display ascendants - allows user to control the displaying of ascendants. \image html tree_disp_ascendants.png Display descendants - allows user to control the displaying of descendants. \image html tree_disp_descendants.png Move nodes - enables/disables of moving the nodes. \image html tree_move_nodes.png Update - allows user to update a dependency tree model and the view. \image html tree_button_update.png
\anchor dependency_tree_navigation_anchor

Navigation

Dependency Tree 2D Viewer supports the following navigation mode: Also, holding \b Ctrl key with pressed mouse buttons performs the following view transformations:
\anchor dependency_tree_popup_menu_anchor

Popup Menu

After the object has appeared in the Dependency Tree 2D Viewer, user can select it with left mouse click to change its presentation parameters and get access to other useful options by right-clicking on the selected object. \image html tree_popup_menu1.png Some functionalities are available through right-clicking on the viewer background: \image html tree_popup_menu2.png Dependency Tree 2D Viewer background can be customized using the "Change background" popup menu command that opens standard "Select Color" dialog box: \image html selectcolor.png */