Layout stage for OrthogonalEdgeRouter that adds support for a bus-like routing style.

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

Syntax

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

Remarks

Layout stage for OrthogonalEdgeRouter that adds support for a bus-like routing style. Edges that connect to a common node can be marked as grouped by using the data provider keys SourceGroupIdDpKey or TargetGroupIdDpKey . This stage tries to route grouped edges on a vertical or horizontal bus. The edges will connect to their common node at the same port coordinate. There are some limitations to this stage:
  • If at least one edge of a specific edge group is part of the sphere of action of OrthogonalEdgeRouter, then all of the edges belonging to that group will be part of the sphere of action of the router.
  • Edges can either be source or target grouped but not both at the same time.
  • Not all edges belonging to a group will be placed on a common bus. Only edges that connect to nodes which lie in the same direction relative to their common node will be routed on a bus.

Inheritance Hierarchy

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

See Also