A SubtreeRootAlignment describes how a local root node is arranged in relation to its children.
Remarks
Type Details
- yFiles module
- algorithms
Constants
Horizontal SubtreeRootAlignment with the bus of the grid so that the position of the root depends on the selected BusPlacement.
Remarks
Horizontal alignment above the opposite node of the critical edge with the highest priority.
Remarks
The centers of the root node and the target of the critical edge will be aligned.
Critical edges are marked using an IMapper<K,V> registered using criticalEdgePriorities.
See Also
Horizontal alignment at the center of the children.
Remarks
Horizontal SubtreeRootAlignment at the center above the ports of the children.
Remarks
Horizontal SubtreeRootAlignment left of the children.
Remarks
Horizontal SubtreeRootAlignment at the left side.
Remarks
Horizontal SubtreeRootAlignment at the median child node.
Remarks
Horizontal SubtreeRootAlignment at the right side.
Remarks
Horizontal SubtreeRootAlignment right of the children.
Remarks
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 - MultiLayerSubtreePlacerRootAlignment
- The value to convert to an enum constant.
Returns
- ↪MultiLayerSubtreePlacerRootAlignment
- 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 - MultiLayerSubtreePlacerRootAlignment
- 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.