Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.NodeAlignment
See Also
Constants
Node alignment policy that results in center-aligned nodes.
Node alignment policy that results in vertically or horizontally distributed nodes.
Remarks
In this context, distributed means that the vertical (or horizontal) extensions of nodes do not overlap, independent of their horizontal (or vertical) position.
See Also
Sample Graphs
Node alignment policy that results in top-aligned nodes for vertical alignment and left-aligned nodes for horizontal alignments.
Node alignment policy that results in bottom-aligned nodes for vertical alignment and right-aligned nodes for horizontal alignments.
Static Methods
Converts the argument to NodeAlignment.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - NodeAlignment
- The value to convert to NodeAlignment.
Returns
- ↪NodeAlignment
- Either
value
if it is already a NodeAlignment or an appropriate converted value.