## Clustering - Scale-Free-Graph

This example shows therandomly generated scale-free-graph set of nodes and connected edges from example 2. By clicking the checkbox you can turn clustering on and off. If you increase the number of nodes to a value higher than 100, automatic clustering is used before the initial draw (assuming the checkbox is checked).
Clustering is done automatically when zooming out. When zooming in over the cluster, the cluster pops open. When the cluster is very big, a special instance will be created and the cluster contents will only be simulated in there. Double click will also open a cluster.
Try values of 500 and 5000 with and without clustering. All thresholds can be changed to suit your dataset. Experiment with the clusterEdgeThreshold, which increases the formation of clusters when zoomed out (assuming the checkbox is checked).
Number of nodes: Enable Clustering: clusterEdgeThreshold: