Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
create_empty_copy
Returns a copy of the graph G with all of the edges removed.
G (graph) – A NetworkX graph
with_data (bool (default=True)) – Propagate Graph and Nodes data to the new graph.
See also
empty_graph()