Edge Routing Algorithms

All edge routing algorithms provided by yFiles implement interface LayoutStage. LayoutStage makes it easy to use an edge routing algorithm as a postprocessing step to any of the major layout algorithms, for example.

yFiles supports different edge routing styles:

Organic Routing

Organic edge routing is described in the section called “Organic Edge Routing”.

Figure 5.58. Sample organic edge routings

Organic Edge Router
Organic Edge Router

This style is encapsulated in class OrganicEdgeRouter.

Orthogonal Routing

Orthogonal edge routing is described in the section called “Orthogonal Edge Routing” and the section called “Channel Edge Routing”.

Figure 5.59. Sample orthogonal edge routings

Orthogonal Edge Router
Channel Edge Router

This style is encapsulated in classes OrthogonalEdgeRouter and ChannelEdgeRouter.