number Default:
10
The size of the gravity inside the cluster, which affects the compactness of the cluster, and it takes effect when clustering is true
boolean Default:
false
Whether to layout according to clustering
number Default:
10
The size of the center force, which means the force that all nodes are attracted to the center. The larger the number, the more compact the layout
number
The height of the layout, defaults to the container height
string Default:
'cluster'
The field name of the node data data in the data, which is used when cluster is true
(data: LayoutMapping) => void
The callback function for each iteration
number Default:
5
The speed at which the node moves in each iteration. A speed that is too fast may cause strong oscillations
number
The width of the layout, defaults to the container width