This class represents an edge router.

Namespace: yWorks.yFiles.Layout.Router
Assembly: yWorks.yFilesSilverlight.Algorithms (in yWorks.yFilesSilverlight.Algorithms.dll) Version: 2.4.0.0

Syntax

C#
public class ChannelEdgeRouter : AbstractLayoutStage
Visual Basic
Public Class ChannelEdgeRouter _ Inherits AbstractLayoutStage

Remarks

This class represents an edge router. It combines two strategic steps of edge routing and executes them after each other. The first strategy is called path finder strategy and will route the edges, potentially with edge overlaps. The second strategy will then split overlapping edge segments inside their channels and distribute them according to the specific distribution strategy. For path finding strategies you can for example use ChannelEdgeRouter..::..OrthogonalShortestPathPathFinder or OrthogonalPatternEdgeRouter . By default the latter will be used. One possible implementation of an edge distribution strategy is OrthogonalSegmentDistributionStage , which is also used by default. Note: when exchanging only one of the strategies, make sure, that their algorithms will use the same (sub)set of graph objects. The strategies bound to this router by default will use key AffectedEdgesDpKey to determine the affected edges.

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..AbstractLayoutStage
    yWorks.yFiles.Layout.Router..::..ChannelEdgeRouter

See Also