graphscope.framework.dag_utils.clear_graph

graphscope.framework.dag_utils.clear_graph(graph)[source]

Create clear graph operation for nx graph.

Parameters:

graph (nx.Graph) – A nx graph.

Returns:

An op to modify edges on the graph.