ASP.NET Pack Programmer's Guide
LayeredLayout.SwapPairsIterations Property
See Also
 





Gets or sets how many times to perform pair-swapping iterations on each layer.

Namespace: MindFusion.Diagramming.Layout
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public int SwapPairsIterations { get; set; }

Visual Basic  Copy Code

Public Property SwapPairsIterations As Integer

 Property Value

An integer value specifying how many pair-swapping iterations to perform. The default is 5.

 Remarks

The algorithm swaps node pairs on each layer aiming to decrease the number of crossing links. Setting a higher value to this property helps to decrease the number of crossings.

 See Also

LayeredLayout Members
LayeredLayout Class
MindFusion.Diagramming.Layout Namespace