Assembly: yWorks.yFilesNET.Algorithms (in yWorks.yFilesNET.Algorithms.dll) Version: 4.1.0.1 (4.1.0.1)
Syntax
| C# |
|---|
public class OrthogonalEdgeRouter : AbstractLayoutStage |
| Visual Basic |
|---|
Public Class OrthogonalEdgeRouter _ Inherits AbstractLayoutStage |
Remarks
Several LayoutStages can be used to enhance performance and/or functionality of this class, e.g. EdgeGroupRouterStage , GroupNodeRouterStage , ReducedSphereOfActionStage or PatchRouterStage .
This edge router will obey strong and weak port constraints. It expects the port constraints to be bound to the input graph by the data provider keys SourcePortConstraintDpKey and TargetPortConstraintDpKey . Furthermore, this class supports the more advanced port constraint concept of PortCandidate s. It expects collections of port candidates to be bound to the input graph by the data provider keys SourcePcListDpKey and TargetPcListDpKey .
The router often finds ideal routes in difficult situations like the one depicted below.

Inheritance Hierarchy
yWorks.yFiles.Layout..::..AbstractLayoutStage
yWorks.yFiles.Layout.Router..::..OrthogonalEdgeRouter
yWorks.yFiles.Layout.Router..::..ChannelEdgeRouter..::..OrthogonalShortestPathPathFinder