Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.tree.PortAssignmentMode
See Also
Constants
A port assignment specifier which defines that edges are distributed evenly at the eastern side of their nodes.
Remarks
See Also
Sample Graphs
A port assignment specifier which defines that edges are distributed evenly at the northern side of their nodes.
Remarks
See Also
Sample Graphs
A port assignment specifier which defines that edges are distributed evenly at the southern side of their nodes.
Remarks
See Also
Sample Graphs
A port assignment specifier which defines that edges are distributed evenly at the western side of their nodes.
Remarks
See Also
Sample Graphs
A port assignment specifier that defines that PortConstraints are considered.
Remarks
Ports are placed using the following rules:
- edges without a PortConstraint (including weak any-side constraints) are anchored at the center of the node
- edges with a weak PortConstraint are anchored at the center of their specified side
- edges with a strong PortConstraint are anchored at their initial coordinates
If edges with PortConstraints are grouped, all edges in the same group will use the port coordinates of the first edge in the group.
See Also
Sample Graphs
Static Methods
Converts the argument to TreeLayoutPortAssignmentMode.
Parameters
A map of options to pass to the method.
- value - TreeLayoutPortAssignmentMode
- The value to convert to TreeLayoutPortAssignmentMode.
Returns
- ↪TreeLayoutPortAssignmentMode
- Either
value
if it is already a TreeLayoutPortAssignmentMode or an appropriate converted value.