Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.tree.RootPlacement
See Also
AspectRatioTreeLayout.createBends,
AspectRatioTreeLayout.getRootPlacement,
AspectRatioTreeLayout.rootPlacement
Constants
A root placement specifier for placing the root in the upper left corner of the subtree bounds with respect to the actual layout orientation.
Remarks
Whether the root is placed entirely beside the subtree with no horizontal overlaps or entirely above the subtree without vertical overlaps will be determined by the layout of the subtree. The layout algorithm tries to minimize the bounds of the subtree.
See Also
A root placement specifier for placing the root in the upper left corner of the subtree bounds with respect to the actual layout orientation.
Remarks
The root is placed entirely beside the subtree with no horizontal overlaps. This might by important if the root's height is very large while its width is small.
See Also
Sample Graphs
A root placement specifier for placing the root of a subtree in the upper left corner of the subtree bounds with respect to the actual layout orientation.
Remarks
The root is placed entirely above the subtree with no vertical overlaps. This might by important if the root's width is very large while its height is small.
See Also
Sample Graphs
A root placement specifier for placing the root centered above its subtree, depending on the actual layout orientation.
Static Methods
Converts the argument to RootPlacement.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - RootPlacement
- The value to convert to RootPlacement.
Returns
- ↪RootPlacement
- Either
value
if it is already a RootPlacement or an appropriate converted value.