networkx.is_frozen
networkx.subgraph
Enter search terms or a module, class or function name.
Return a copy of the graph G with all of the edges removed.
G : graph
A NetworkX graph
with_nodes : bool (default=True)
Include nodes.