PortConstraintKeys are used for associating DataProviders that contain constraints for the edges of the input graph.
Remarks
These constraints can either be PortConstraints or edge groups. PortConstraints force the edges to start/end on specified sides of the node. They may also restrict ports of edges to certain coordinates. Edge groups will bundle edges at a common source or target. They will start at the same coordinates and may share parts of their edge routes.
Layout algorithms that support PortConstraints or edge groups will access the IDataProviders using the provided keys.
Type Details
- yfiles module
- layout-core
- yfiles-umd modules
- All layout modules, view-layout-bridge
- Legacy UMD name
- yfiles.layout.PortConstraintKeys
Constants
A data provider key for assigning source group information for edges of the input graph.
Remarks
Domain | Edge | |
Values | Object | an identifier which is the same for all edges in one source group or null for non-grouped edges |
See Also
A data provider key for providing source constraints for edges in the input graph.
Domain | Edge | |
Values | PortConstraint | strong or weak constraints for the source port of the edge |
See Also
A data provider key for assigning port group ids to the edges' source.
Remarks
Domain | Edge | the edges of the input graph |
Values | Object | an identifier specifying the port group at the edges' source or null for edges without port group |
See Also
A data provider key for assigning target group information for edges of the input graph.
Remarks
Domain | Edge | |
Values | Object | an identifier which is the same for all edges in one target group or null for non-grouped edges |
See Also
A data provider key for providing target constraints for edges in the input graph.
Domain | Edge | |
Values | PortConstraint | strong or weak constraints for the target port of the edge |
See Also
A data provider key for assigning port group ids to the edges' target.
Remarks
Domain | Edge | the edges of the input graph |
Values | Object | an identifier specifying the port group at the edges' target or null for edges without port group |