Type Details
- yfiles module
- layout-seriesparallel
- yfiles-umd modules
- layout-seriesparallel, layout
- Legacy UMD name
- yfiles.seriesparallel.PortAssignmentMode
See Also
Constants
A port assignment specifier which defines that all ports are reset to the center of their nodes.
See Also
Sample Graphs
Ports that are restricted by strong PortConstraints are excluded. They will keep their current locations on the node.
A port assignment specifier which defines that the ports of incoming and outgoing edges are distributed evenly at the side of their nodes.
Remarks
The source ports of edges without PortConstraints will be distributed at the sides of their source and target nodes. Edges with weak PortConstraints are distributed at the side of the nodes which is specified in the PortConstraint.
Grouped edges will get the same port location.
See Also
PortConstraint,
PortConstraintKeys.SOURCE_GROUP_ID_DP_KEY,
PortConstraintKeys.TARGET_GROUP_ID_DP_KEY
Sample Graphs
Ports that are restricted by strong PortConstraints are excluded. They will keep their current locations on the node.
Static Methods
Converts the argument to SeriesParallelLayoutPortAssignmentMode.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- value - SeriesParallelLayoutPortAssignmentMode
- The value to convert to SeriesParallelLayoutPortAssignmentMode.
Returns
- ↪SeriesParallelLayoutPortAssignmentMode
- Either
value
if it is already a SeriesParallelLayoutPortAssignmentMode or an appropriate converted value.