graphscope.framework.dag_utils.clear_edges#

graphscope.framework.dag_utils.clear_edges(graph)[source]#

Create clear edges operation for nx graph.

Parameters:

graph (nx.Graph) – A nx graph.

Returns:

An op to modify edges on the graph.