dynetx.classes.function.create_empty_copy

dynetx.classes.function.create_empty_copy(G, with_data=True)

Return a copy of the graph G with all of the edges removed. Parameters ———-

Ggraph

A DyNetx graph

with_databool (default=True)

Include data.

Notes

Graph and edge data is not propagated to the new graph.