7.2.1.6. remove_edge_fun

remove_edge_fun(graph)[source]

Returns a function that removes an edge from the graph.

..note:: The out node is removed if this is isolate.

Parameters:graph (networkx.classes.digraph.DiGraph) – A directed graph.
Returns:A function that remove an edge from the graph.
Return type:callable