Implements an algorithm which arranges nodes in lanes.
Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming
C# Copy Code |
---|
public class SwimlaneLayout : Layout |
Visual Basic Copy Code |
---|
Public Class SwimlaneLayout |
This layout algorithm can be used to arrange process diagrams in which nodes representing activities are placed in swimlanes representing resources. The index of the resource allocated to an activity should be assigned to the corresponding node's LayoutTraits[SwimlaneLayoutTraits.Lane].
By default, the algorithm works with the diagram's LaneGrid, but its SwimlaneGrid property can be set to any class that implements ISwimlaneGrid. This allows applying the layout to a custom-drawn grid rendered through the DrawBackground event, or one composed of locked background nodes.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
MindFusion.Diagramming.Layout.Layout
MindFusion.Diagramming.Layout.SwimlaneLayout