Type Details
- yfiles module
- layout-orthogonal
- yfiles-umd modules
- layout-orthogonal-compact, layout-orthogonal, layout
- Legacy UMD name
- yfiles.orthogonal.TreeLayoutStyle
See Also
Constants
A tree layout style that yields tree layouts with an aspect ratio close to 1:1
that are generated by AspectRatioNodePlacer.
Remarks
See Also
Sample Graphs
A tree layout style that aims to create maximally compact layouts for the subtrees by using the CompactNodePlacer for the tree layout algorithm.
Remarks
See Also
Sample Graphs
A tree layout style that arranges subtrees in a layered tree fashion with grouped edge routes, generated by a DefaultNodePlacer with routing style FORK 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 tree layout 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 tree layout style that defines that subtrees should not be handled specifically.
Remarks
See Also
Sample Graphs
Static Methods
Converts the argument to TreeLayoutStyle.
Parameters
A map of options to pass to the method.
- value - TreeLayoutStyle
- The value to convert to TreeLayoutStyle.
Returns
- ↪TreeLayoutStyle
- Either
value
if it is already a TreeLayoutStyle or an appropriate converted value.