The importance of structure: Using targeted rewiring to explore social networks property interdependencies
Fig 2
Clustering Coefficient rewiring algorithm.
Node A is randomly selected and rewiring occurs if a path of length five exists and there is not already an edge connecting nodes A and D or C and E.