Search
Layout.ArrangeAsync Method (Diagram, DiagramItemCollection)
See Also
 





Applies the layout asynchronously to the specified subset of items from the specified Diagram instance.

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

 Syntax

C#  Copy Code

public async Task<Boolean> ArrangeAsync (
    Diagram diagram,
    DiagramItemCollection items
)

Visual Basic  Copy Code

Public Async Function ArrangeAsync( _
    diagram As Diagram, _
    items As DiagramItemCollection _
) As Task(Of 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 diagram has been arranged successfully, or false otherwise.

 Remarks

This method is available only in the .NET 4.5 build of the MindFusion.Diagramming.dll assembly.

 See Also