Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

networkx.generators.classic.null_graph

null_graph(create_using=None)[source]

Returns the Null graph with no nodes or edges.

See empty_graph for the use of create_using.