Type Details
- yfiles module
- layout-hierarchic
- yfiles-umd modules
- layout-familytree, layout-hierarchic, layout-radial, layout
- Legacy UMD name
- yfiles.hierarchic.PortAssignmentMode
See Also
Constants
A port assignment strategy that distributes ports evenly along the border of the node.
A port assignment strategy that places all edges on grid lines.
Remarks
If there are not enough grid lines for each port, ports may overlap. In case there is no grid line available at the side of a node, the ports are placed centered at that side.
See Also
Sample Graphs
This port assignment can only be used if the grid spacing is greater than
0
.A port assignment strategy that places all edges on grid lines or sub-grid lines.
Remarks
If there are not enough grid lines for each port, the grid gets subdivided with sub-grid lines until each edge has space for its port.
See Also
Sample Graphs
This port assignment can only be used if the grid spacing is greater than
0
.Static Methods
Converts the argument to HierarchicLayoutPortAssignmentMode.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - HierarchicLayoutPortAssignmentMode
- The value to convert to HierarchicLayoutPortAssignmentMode.
Returns
- ↪HierarchicLayoutPortAssignmentMode
- Either
value
if it is already a HierarchicLayoutPortAssignmentMode or an appropriate converted value.