Members
Constants
A style that yields tree layouts with an aspect ratio close to 1:1 that are generated by AspectRatioSubtreePlacer.
1:1 that are generated by AspectRatioSubtreePlacer.Sample Graphs
See Also
Developer's Guide
API
- treeSubstructureStyle
A style that aims to create maximally compact layouts for the subtrees by using the CompactSubtreePlacer for the tree layout algorithm.
Sample Graphs
See Also
Developer's Guide
API
- treeSubstructureStyle
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.
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.
Sample Graphs
See Also
Developer's Guide
API
- treeSubstructureStyle
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.
Sample Graphs
See Also
Developer's Guide
API
- treeSubstructureStyle
Sample Graphs
See Also
Developer's Guide
API
- treeSubstructureStyle
Static Methods
Converts the given argument to an enum constant of this enum type.
Parameters
- value: OrthogonalLayoutTreeSubstructureStyle
- The value to convert to an enum constant.
Return Value
- OrthogonalLayoutTreeSubstructureStyle
- The enum constant that corresponds to the given argument.
Returns the name of the given enum constant.
Parameters
- value: OrthogonalLayoutTreeSubstructureStyle
- The numeric value of an enum constant.
Return Value
- 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.