NetworkX

Previous topic

networkx.generators.classic.barbell_graph

Next topic

networkx.generators.classic.complete_bipartite_graph

networkx.generators.classic.complete_graph

complete_graph(n, create_using=None)

Return the Complete graph K_n with n nodes.

Node labels are the integers 0 to n-1.