Create a small-world network by rewiring a lattice of size N, degree k.
Arguments
- N
Population size
- k
Seed lattice degree
- p
Rewire probability
- label_func
Specify a function that takes N, k, p and makes a label assigned to igraph via igraph::graph_attr(...)