This layout stage can be used to automatically assign SwimLaneDescriptor instances to nodes using the SwimlaneDescriptorDpKey by treating top-level group nodes as swimlanes.

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

Syntax

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

Remarks

This layout stage can be used to automatically assign SwimLaneDescriptor instances to nodes using the SwimlaneDescriptorDpKey by treating top-level group nodes as swimlanes. This stage will modify the hierarchy by removing the top level group nodes and assign corresponding descriptors to the remaining nodes. After running the core layout, the nodes will be arranged to function as swim lanes. This class allows for using the current coordinates of the group nodes to arrange the swim lanes from sketch . Also the spacing between swim lanes may be specified.

This stage can be appended to the IncrementalHierarchicLayouter .

Inheritance Hierarchy

System..::..Object
  yWorks.yFiles.Layout..::..AbstractLayoutStage
    yWorks.yFiles.Layout.Hierarchic.Incremental..::..TopLevelGroupToSwimlaneStage

See Also