Skip navigation links

Package com.yworks.yfiles.layout.orthogonal

Provides orthogonal layout style algorithms.

See: Description

Package com.yworks.yfiles.layout.orthogonal Description

Provides orthogonal layout style algorithms.

In an orthogonal layout, each edge is drawn as an alternating sequence of horizontal and vertical line segments. Algorithm implementations support layout of graphs that are "flat" as well as hierarchically grouped graphs, i.e., graphs where nodes can be nested within other nodes to arbitrary depth.

The main algorithm class is OrthogonalLayout.

In addition to general orthogonal layouts, it provides support for an edge routing that satisfies edge path-related constraints. This highlights a main layout direction by preferring edge routes in that direction.

Example Graphs

Default orthogonal layout

Orthogonal layout of a hierarchically grouped graph

Directed orthogonal layout with grouped edges. Marked edges are those that are considered directed.

Related Documentation

See the yFiles Developer's Guide sections on Orthogonal Layout and Orthogonal Layout of Hierarchically Organized Graphs for descriptions of the yFiles orthogonal layout style algorithms.
The sections on Directed Orthogonal Layout discusses directed orthogonal layout.

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