lattice edge edge kept shortcut (rewired) removed
Small world in two dimensions

Small world from a rewired square lattice

Start from an L × L square lattice (4 nearest neighbours, or 8 with diagonals). Visit every edge and, with probability p, move one end to a random node. A handful of long-range shortcuts collapses the typical distance, which on the plain lattice grows like L.

    Edges visited
    Path length and clustering vs p (average of 4 networks)
    ℓ(p)/ℓ(0) C(p)/C(0) (8 neighbours only) this network
    p
    L
    neighbours
    speed

    Two-dimensional version of the Watts–Strogatz construction (D. J. Watts & S. H. Strogatz, Nature 393, 440, 1998; see also M. E. J. Newman & D. J. Watts, Phys. Rev. E 60, 7332, 1999). Open boundaries; ℓ is the mean shortest-path length and C the mean local clustering coefficient.