Search
SwimlaneLayout Members
Constructors Properties Methods Events
 


Implements an algorithm which arranges nodes in lanes.

The following tables list the members exposed by the SwimlaneLayout type.

 Public Constructors

  Name Description

SwimlaneLayout

Initializes a new instance of the SwimlaneLayout class with the default settings.

 Public Properties

  Name Description

Anchoring

Gets or sets a value indicating how to align links to the anchor points of graph nodes. (Inherited from Layout.)

CollapseEmptyLanes

Get or sets a value indicating whether lanes without associated nodes will shrink to zero size. By default, empty lanes will have size equal to LaneDistance.

CompactNodes

Gets or sets a value indicating whether the nodes within individual lanes are compacted.

CustomSortOrder

Gets or sets a value indicating whether the nodes in a lane should be arranged according to the custom sort order specified through LayoutTraits.

Direction

Gets or sets the direction of the arranged diagram.

EnableParallelism

Gets or sets a value indicating whether to arrange subgraphs on separate threads. (Inherited from Layout.)

GrowToFit

Gets or sets a value indicating whether the diagram boundaries should grow to fit the arranged content. (Inherited from Layout.)

KeepGroupLayout

Gets or sets a value indicating whether to treat each Group of nodes as a single vertex in the arranged graph. (Inherited from Layout.)

KeepLaneSizes

Gets or sets a value indicating whether the layout will attempt to preserve the original sizes of the lanes in the supplied grid.

LaneDistance

Gets or sets the spacing between adjacent lanes in the final layout.

LayoutLink

Gets or sets a delegate, which is invoked when the position of a link is changed by the layout. (Inherited from Layout.)

LayoutNode

Gets or sets a delegate, which is invoked when the position of a node is changed by the layout. (Inherited from Layout.)

Margins

Gets or sets the distance between the top-left corner of the smallest rectangle containing the arranged diagram and the top-left point of the document bounds. (Inherited from Layout.)

MaxDegreeOfParallelism

Gets or sets the maximum degree of parallelism. (Inherited from Layout.)

MultipleGraphsPlacement

Gets or sets a value indicating how multiple independent graphs in the diagram should be positioned relatively to each other. (Inherited from Layout.)

Name

Gets a user-friendly name of the layout.

NodeDistance

Gets or sets the spacing between adjacent nodes within a lane in the final layout.

Orientation

Gets or sets the overall orientation of the arranged diagram.

Progress

Gets or sets a delegate, which is invoked regularly during the layout process to inform clients about the layout progress. (Inherited from Layout.)

RepeatingLinksPadding

Specifies the padding distance between repeating links. (Inherited from Layout.)

SwimlaneGrid

Gets or sets the object through which the layout can manipulate the swimlane grid.

 Protected Properties

  Name Description

DefaultMarginValue

Gets the default value of the Margins property.

SuppressCompleteEvent

Specifies whether raising the LayoutComplete event should be suppressed for this layout instance. (Inherited from Layout.)

 Public Methods

  Name Description

Arrange

Overloaded. Applies the layout to a Diagram instance. (Inherited from Layout.)

ArrangeAnimated

Applies the layout to the specified subset of items from the specified Diagram instance and animates items moving to their new positions. (Inherited from Layout.)

ArrangeAsync

Overloaded.   (Inherited from Layout.)

 Protected Methods

  Name Description

OnLayoutComplete

Raises the LayoutComplete event. (Inherited from Layout.)

 Public Events

  Name Description

LayoutComplete

Raised when a layout is finished arranging a graph. (Inherited from Layout.)

 See Also