Defines root alignments for the SingleLayerSubtreePlacer, see property rootAlignment.
Type Details
- yFiles module
- algorithms
Constants
Alignment specifier which defines that the root node is placed aligned with the center of its subtrees.
Alignment specifier which defines that the root node is placed aligned with the center of its children.
Remarks
See Also
Alignment specifier which defines that the root node is placed aligned with the center of the ports at its children.
Remarks
See Also
Sample Graphs
Alignment specifier which defines that the root node is placed ahead of all its child subtrees.
Remarks
See Also
Sample Graphs
Alignment specifier which defines that the root is placed ahead of all its subtrees, centered on the bus.
Remarks
See Also
Sample Graphs
Alignment specifier which defines that the root node is placed aligned with its first subtree.
Remarks
See Also
Sample Graphs
Alignment specifier which defines that the root node is placed at the median of the connection points to its subtrees.
Alignment specifier which defines that the root node is placed aligned with its last subtree.
Remarks
See Also
Sample Graphs
Alignment specifier which defines that the root is placed after all its subtree.
Remarks
See Also
Sample Graphs
Alignment specifier which defines that the root is placed after all its subtrees, centered on the bus.
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 - SingleLayerSubtreePlacerRootAlignment
- The value to convert to an enum constant.
Returns
- ↪SingleLayerSubtreePlacerRootAlignment
- 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 - SingleLayerSubtreePlacerRootAlignment
- 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.