documentationfor yFiles for HTML 3.0.0.3

SeriesParallelLayoutPortAssigner

SeriesParallelLayoutPortAssigner implements the default port assignment strategy for SeriesParallelLayout.

Inheritance Hierarchy
SeriesParallelLayoutPortAssigner
Implemented Interfaces

Remarks

Ports are either placed at the CENTER or get DISTRIBUTED at the sides of the node.

If LayoutPortCandidates are specified, the fixed LayoutPortCandidates are handled separately and keep their initial location relative to the node while free LayoutPortCandidates just influence on which side of the node the port is placed.

If there are edge groups specified, the edges which belong to the same group get the same port locations.

Default Values of Properties

borderToPortGapRatio0.5
modeCENTER

Type Details

yFiles module
algorithms

See Also

Constructors

Properties

Methods