In systems engineering, trees are commonly used to display a hierarchical structure. Elements in hierarchical structures can be viewed in regular tables but their hierarchy is more recognizable in a tree structure. Therefore, Relatics offers a specific tree view to view and edit hierarchical elements. This view enables users to benefit from a hierarchical visualization and additional editing capabilities.
Use the tree view for hierarchical elements
The following actions are available in the toolbox when an element is selected.
Icon | Toolbox action | Explanation |
---|---|---|
![]() |
Create root/sibling | A new element is created on the selected level of the tree. |
![]() |
Create child | A derived element is created. |
![]() |
Move up | The element’s position is moved up. This button is only available when positioning is activated. |
![]() |
Move down | The element’s position is moved down. This button is only available when positioning is activated. |
![]() |
Copy | Used to copy the selected element(s). |
![]() |
Paste | Used to paste element(s). |
![]() |
Delete | Used to remove the selected element(s). |
The following actions are available in the toolbox when a property of an element is selected.
Icon | Toolbox action | Explanation |
---|---|---|
Edit | Used to rename an element. |
Note:
- For each element in the treeview, the value of one of its properties is shown. Typically, this is a descriptive property (e.g. a property ‘Name’). The property used to display the value in the treeview is set as the Display as property for the element.
Restructure the hierarchy of elements in a tree view
- In the overview, click on
Treeview.
- In the tree view, select an element and drag and drop it on another element in the tree. The element on which you drop is marked byAs a result, the dragged element is now derived from the element on which it is dropped.
- In the tree view, select an element and drag and drop it above or below another element on the same level in the tree. As a result, the dragged element’s position is now relative to other elements on the same level.
Gain insight into elements in a tree view
The following actions are available in the ribbon of the tree view.
Icon | Feature | Explanation |
---|---|---|
Expand all | Quickly expand all root elements and their children. | |
Collapse all | Quickly collapse all root elements and their children. | |
Back in time | View the tree at a state in the past. |
Enable feature*
- In the workspace menu, click on
Type graphview.
- In the model, click on the type element.
- In the toolbox, click on
Edit. As a result, the dialog Type element settings is opened.
- In the dialog Type element settings, on the tab Advanced, ensure that Configuration is set to Derived element and that the Origin relation is set to a single relation that is part of the hierarchical structure.
- In the dialog Type element settings, on the tab Advanced, tick the checkbox for Hierarchical behavior.
Note:
- If the origin relation refers to the same type element, the option Hierarchical behavior is automatically enabled and cannot be disabled. This model pattern is always considered to be a hierarchical structure, and therefore always, a tree view is available.
* In the workspace, the user type of your user must be set to power user to enable this feature.