Search
LayeredLayout.siftingRounds Property
See Also
 





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

Namespace: MindFusion.Graphs
File: LayeredLayout.js

 Syntax

JavaScript  Copy Code

get siftingRounds() {}
set siftingRounds(value) {}

 Property Value

Number

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

 Remarks

The algorithm swaps node pairs on each layer aiming to decrease the number of crossing links. Assigning a higher value to this property helps decrease the number of crossings, at the cost of longer execution times.

 See Also