documentationfor yFiles for HTML 2.6

PortConstraintKeys

PortConstraintKeys are used for associating DataProviders that contain constraints for the edges of the input graph.

Inheritance Hierarchy
PortConstraintKeys

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