documentationfor yFiles for HTML 3.0.0.3

OctilinearRoutingStage

OctilinearRoutingStage creates octilinear edge routes by extending given orthogonal edge paths with polyline segments.

Inheritance Hierarchy
LayoutStageBase
OctilinearRoutingStage
Implemented Interfaces

Remarks

Important: The current implementation only adds octilinear segments to all given orthogonal edges. Non-orthogonal edges are completely ignored. To create new routes in any case, apply EdgeRouter with routing style OCTILINEAR.

An octilinear segment is added between two consecutive vertical and horizontal segments. The length of an octilinear segment can be influenced by the maximumNonOrthogonalSegmentRatio and the preferredOctilinearSegmentLength. The inserted segments maintain a customizable minimum distance between the edges and all nodes in the graph if possible.

Default Values of Properties

maximumNonOrthogonalSegmentRatio0.5
minimumNodeToEdgeDistance10
preferredOctilinearSegmentLength50

Type Details

yFiles module
algorithms

Constructors

Properties

Methods