documentationfor yFiles for HTML 2.6

PolylineLayoutStage

PolylineLayoutStage extends the orthogonal edge paths with polyline segments.

Inheritance Hierarchy
LayoutStageBase
PolylineLayoutStage
Implemented Interfaces

Remarks

The current implementation only adds octilinear segments to all orthogonal edges. Non-orthogonal edges are completely ignored.

An octilinear segment is added between two consecutive vertical and horizontal segments. The length of an octilinear segment can be influenced by the maximum non-orthogonal segment ratio and the preferred polyline segment length. The new octilinear segments maintain a minimum distance between the edges and all nodes in the graph if possible.

Default Values of Properties

maximumNonOrthogonalSegmentRatio0.5
minimumNodeToEdgeDistance10
preferredPolylineSegmentLength50
scopeROUTE_ALL_EDGESAll edges are routed.

Type Details

yfiles module
router-polyline
yfiles-umd modules
layout-area, layout-multipage, layout-orthogonal-compact, layout, router-bus, router-polyline
Legacy UMD name
yfiles.router.PolylineLayoutStage

See Also

Constructors

Properties

Methods