Gets or sets how many times to perform pair-swapping iterations on each layer.
Namespace: MindFusion.Diagramming.Wpf.Layout
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public int SwapPairsIterations { get; set; } |
Visual Basic Copy Code |
---|
Public Property SwapPairsIterations As Integer |
An integer value specifying how many pair-swapping iterations to perform. The default is 5.
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.