Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
trivial_graph
Return the Trivial graph with one node (with label 0) and no edges.