documentationfor yFiles for HTML 3.0.0.3

PortAdjustmentPolicy

Specifies how port locations should be adjusted after a layout has been calculated.

Remarks

Layout algorithms only consider rectangular nodes even though the actual shape of a node is, for example, circular. Hence, the ports are usually placed at the border of the nodes' bounds (except for some layout algorithms that produce straight-line edge routes and place the ports at the nodes' center).

Based on this setting the edges will be shortened or lengthened in a way that their sourcePorts and targetPorts will be placed on the node's outline.

Type Details

yFiles module
view-layout-bridge
The coordinates of a port will not be changed if the port is associated with a strong port constraint.

Constants

Static Methods