NetworkX

Previous topic

networkx.generators.classic.cycle_graph

Next topic

networkx.generators.classic.empty_graph

networkx.generators.classic.dorogovtsev_goltsev_mendes_graph

dorogovtsev_goltsev_mendes_graph(n, create_using=None)

Return the hierarchically constructed Dorogovtsev-Goltsev-Mendes graph.

n is the generation. See: arXiv:/cond-mat/0112143 by Dorogovtsev, Goltsev and Mendes.