Search
SpringLayout.BeginArrange Method
See Also
 





Initializes the layout object for a step-by-step execution.

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

 Syntax

C#  Copy Code

public bool BeginArrange (
    Diagram diagram,
    DiagramItemCollection items
)

Visual Basic  Copy Code

Public Function BeginArrange( _
    diagram As Diagram, _
    items As DiagramItemCollection _
) As Boolean

 Parameters

diagram
The Diagram that should be arranged.
items
A collection of nodes and links from diagram that define the subgraph to arrange.

 Return Value

true if the layout object has been initialized successfully; otherwise, false.

 Remarks

You can use this method together with Iterate and EndArrange to display an animation of the layout process. To run all iterations of the process at once and display just the end result, call Arrange.

 See Also