Search
LayeredLayout.SwapPairsIterations Property
See Also
 



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

 Syntax

VB6  Copy Code

Public Property Get SwapPairsIterations() As Long
Public Property Let SwapPairsIterations( _
    ByVal value As Long _
)

C++  Copy Code

public:
int get_SwapPairsIterations ()
void put_SwapPairsIterations (
    int value
)

 Property Value

A long value. 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