Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

networkx.generators.classic.null_graph

null_graph(create_using=None)[source]

Return the Null graph with no nodes or edges.

See empty_graph for the use of create_using.