NetworkX

Previous topic

star_graph

Next topic

wheel_graph

trivial_graph

trivial_graph(create_using=None)[source]

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