This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
gnc_graph(n, create_using=None, seed=None)¶
Return the growing network with copying (GNC) digraph with
The GNC graph is built by adding nodes one at a time with a link to one previously added node (chosen uniformly at random) and to all of that node’s successors.
- n (int) – The number of nodes for the generated graph.
- create_using (graph, optional (default DiGraph)) – Return graph of this type. The instance will be cleared.
- seed (hashable object, optional) – The seed for the random number generator.
 P. L. Krapivsky and S. Redner, Network Growth by Copying, Phys. Rev. E, 71, 036118, 2005k.},