Watts–Strogatz Generator
Set n, k, p, choose layout and press
Generate
.
Number of nodes (n)
Nearest neighbors (k) — must be even < n
Rewiring probability (p) — 0.0 to 1.0
Layout
circular
random
physics (force)
Generate
Download PNG
Clustering coeff:
-
Avg shortest path (L) on largest CC:
-
If the graph is disconnected, calculations are done on the largest connected component.