NetworkX

Previous topic

networkx.star_graph

Next topic

networkx.wheel_graph

networkx.trivial_graph

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