documentationfor yFiles for HTML 3.0.0.2

StraightLineEdgeRouter

This edge routing algorithm routes edges as straight lines considering the specified LayoutPortCandidates.

Inheritance Hierarchy
LayoutStageBase
StraightLineEdgeRouter
Implemented Interfaces

Remarks

Layout Style

The edges connect to their ports with straight lines. This may lead to edges crossing nodes.

Concept

StraightLineEdgeRouter will first invoke the coreLayout if one exists. Then, it will remove all bends from the edges and will place the ports either in the center of the nodes or at a location specified by EdgePortCandidates and NodePortCandidates. Port groups are handled as a postprocessing step by the portPlacementStage.

Default Values of Properties

coreLayoutnull

Type Details

yFiles module
algorithms

See Also

Constructors

Properties

Methods