This algorithm routes edges using an organic-like layout approach and style.
Namespace: yWorks.yFiles.Layout.RouterAssembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public class OrganicEdgeRouter : ILayoutStage, ILayouter |
| Visual Basic |
|---|
Public Class OrganicEdgeRouter _ Implements ILayoutStage, ILayouter |
Remarks
This algorithm routes edges using an organic-like layout approach and style.
It is implemented as a LayoutStage so that it can easily be appended to
another stage, by setting the other stage as the core of this one.
Note that this algorithm only works correctly if it is guaranteed that nodes are at
least approximately twice as far away from each other as the minimal edge
distance, which has been set for this algorithm. This can be achieved by using
the
CreateNodeEnlargementStage()()()()
layout stage in combination with a stage
that removes node overlaps as the core of this layouter.
Here is a sample output of the router using as input a straight-line drawing
created by
SmartOrganicLayouter
:

Inheritance Hierarchy
System..::..Object
yWorks.yFiles.Layout.Router..::..OrganicEdgeRouter
yWorks.yFiles.Layout.Router..::..OrganicEdgeRouter