Skip navigation links

Package com.yworks.yfiles.layout.router.polyline

Provides classes and interfaces for automatic polyline routing of the edges of a graph.

See: Description

Package com.yworks.yfiles.layout.router.polyline Description

Provides classes and interfaces for automatic polyline routing of the edges of a graph.

The main class of this package is EdgeRouter that normally routes the edges in an orthogonal fashion, i.e., they only consist of horizontal and vertical segments. The edges can also be routed in a polyline fashion. During the routing process, the positions of the nodes are considered to be fixed and EdgeRouter will not modify their locations or their sizes in any way.

Example Graphs

Sample output of the edge routing algorithm with default settings

Sample output of the edge routing algorithm with polyline routing and grouped edges

Sample output of the edge routing algorithm with polyline routing and group nodes

Related Documentation

See the yFiles Developer's Guide section on Polyline Edge Routing for a description of the polyline edge routing algorithm.

Skip navigation links
© Copyright 2000-2017,
yWorks GmbH.
All rights reserved.