DiagramLite Programmer's Guide
SwimlaneLayout Class
Remarks See Also
 





Implements an algorithm which arranges nodes in lanes.

Namespace: MindFusion.Diagramming.Layout
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public class SwimlaneLayout : Layout

Visual Basic  Copy Code

Public Class SwimlaneLayout
    Inherits Layout

 Remarks

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 via a control template, or one composed of locked background nodes.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.Layout.Layout
        MindFusion.Diagramming.Layout.SwimlaneLayout

 See Also

SwimlaneLayout Members
MindFusion.Diagramming.Layout Namespace