Runs one or more layout iterations.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public void Iterate ( |
Visual Basic Copy Code |
---|
Public Sub Iterate( _ |
Specifies from which iteration to start.
Specifies at which iteration to stop.
true to disable UI updates, or false otherwise.
Use this method to create an animation of the layout process, for example, by calling it from a timer. Call BeginArrange to prepare the layout object for use of Iterate, and call EndArrange when done. Each call to Iterate starts from the iteration next to the one where the previous call has stopped. Setting the asynchronous argument to true will let you run SpringLayout calculations from a worker thread.