Gets or sets how many times to perform pair-swapping iterations on each layer.
Namespace: MindFusion.Graphs
File: LayeredLayout.js
JavaScript
![]() |
---|
get siftingRounds() {} |
Number
An integer value specifying how many pair-swapping iterations to perform. The default is 1.
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.