Specifies the various styles for arranging tree-like structures within an OrthogonalLayout.
Type Details
- yFiles module
- algorithms
Constants
A style that yields tree layouts with an aspect ratio close to 1:1
that are generated by AspectRatioSubtreePlacer.
Remarks
See Also
Sample Graphs
A style that aims to create maximally compact layouts for the subtrees by using the CompactSubtreePlacer for the tree layout algorithm.
Remarks
See Also
Sample Graphs
A style that arranges subtrees in a layered tree fashion with grouped edge routes, generated by a SingleLayerSubtreePlacer with routing style ORTHOGONAL and alignment setting CENTER.
Remarks
Child nodes sharing the same parent node are placed next to each other above/below the root (vertical orientation) or above each other left/right of the root (horizontal orientation).
In contrast to INTEGRATED this style produces more compact layout results. However, the overall layout may be less homogeneous because the subtrees are separately arranged by a dedicated tree layout algorithm which does e.g., not consider the specified grid.
See Also
Sample Graphs
A style that arranges subtrees in a layered tree fashion with grouped edge routes and integrates the tree elements into the orthogonal layout framework.
Remarks
Child nodes sharing the same parent node are placed next to each other above/below the root (vertical orientation) or above each other left/right of the root (horizontal orientation).
In contrast to DEFAULT, the subtree elements are handled by the orthogonal layout framework internally. This makes the final layout more homogeneous, but potentially less compact. Furthermore, the grid will be correctly obeyed also for tree nodes.
See Also
Sample Graphs
A style that defines that subtrees should not be handled specifically.
Remarks
See Also
Sample Graphs
Static Methods
Converts the given argument to an enum constant of this enum type.
Remarks
Parameters
A map of options to pass to the method.
- value - OrthogonalLayoutTreeSubstructureStyle
- The value to convert to an enum constant.
Returns
- ↪OrthogonalLayoutTreeSubstructureStyle
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
A map of options to pass to the method.
- value - OrthogonalLayoutTreeSubstructureStyle
- The numeric value of an enum constant.
Returns
- ↪string
- The name of the enum constant.
Throws
- Exception({ name: 'Error' })
- If this type is a flags enums, and the provided value doesn't correspond to a single enum constant, or if this enum type contains no constant of the given numeric value.