graphscope.experimental.nx.DiGraph.clear

DiGraph.clear()

Remove all nodes and edges from the graph.