NetworkX

Previous topic

networkx.generators.classic.star_graph

Next topic

networkx.generators.classic.wheel_graph

networkx.generators.classic.trivial_graph

trivial_graph(create_using=None)
Return the Trivial graph with one node (with integer label 0) and no edges.