Using a tree layout is especially suitable if the input graph is a tree or a collection of trees. A tree is a graph that contains no undirected cyclic edge path. If the input graph is not a tree, it is transformed into one by temporarily removing some edges.
If the layout style is set to Directed,
the tree layout can also handle so-called multi-parent structures, i.e.,
multiple nodes that share (exactly) the same predecessors as well as the same
successors. This means that each successor of such nodes has multiple parents.
All nodes belonging to such a structure are placed side by side and the
incident edges are routed in a bus-style fashion.
Note that multi-parent structures are arranged in the aforementioned way only
if option Enforce Global Layering is disabled and option
Child Placement Policy is not set to "All Leaves in same Layer".
The layout style determines the overall style of the resulting tree layout. The remaining option tabs allow for the configuration of the chosen layout style in more detail.
Determines the routing style for all non-tree edges if the input graph is not a tree.
(Note: Tree and non-tree edges are determined automatically.)
Whether or not to act on selected nodes and edges that are connected to selected nodes only.
Determines how tightly the edges are merged/bundled for Routing Style for
Non-Tree Edges Bundled
. The higher this value, the stronger
the connection of the bundled edges.
These options configure the layout style Directed in more detail.
Determines the minimal distance between the siblings of a node.
Determines the minimal distance between parent and child nodes.
Determines the main layout orientation. The layout algorithm tries to arrange nodes in such a way that all edges point in the main layout direction.
Determines the port assignment policy to be used.
Whether or not node labels should be considered during layout calculation.
Whether or not edge labels should be considered during layout calculation.
If set, all edges will be routed orthogonally in a bus-like fashion. If not set, the edges will be routed as straight-line segments.
Determines the relative placement of the bus-like routing of edges that connect to child nodes.
Determines the placement of same-layer child nodes relative to each other.
This option determines the layer assignment for child nodes. Depending on the selected child placement policy, an optimal area utilization can be achieved.
If set, the algorithm ensures that all nodes of same depth are placed in the same
layer.
This means, that all nodes which have the same distance to the root node (distance
= number of edges on the shortest path connecting two nodes), are placed on the
same horizontal line.
This setting is useful, if the hierarchical structure of the tree should be more
distinguished.
If global layering is enforced, multi-parent structures are not supported.
These options configure the layout style Horizontal-Vertical in more detail. Subgraphs rooted at selected nodes will be laid out vertically. Subgraphs rooted at unselected nodes will be laid out horizontally.
The minimal horizontal distance between adjacent nodes.
The minimal vertical distance between adjacent nodes.
These options configure the layout style Compact in more detail. Children rooted at selected nodes will be laid out in vertical columns. Children rooted at unselected nodes will be laid out in horizontal rows.
The minimal horizontal distance between adjacent nodes.
The minimal vertical distance between adjacent nodes.
Determines the preferred minimal distance between two consecutive bends, between source port and first bend, and between target port and last bend. In other words, this settings determines the preferred minimal length for the line segments of an edge path.
The current aspect ratio of the view will be used to determine the preferred aspect ratio of the calculated drawing.
Determines the preferred aspect ratio (width by height) of the resulting layout. This option allows for creating layouts which for example fit perfectly onto the page of a book.
This option will only be respected if the Use Aspect Ratio of View option is disabled.