Skip to main content

graph_difference

Function graph_difference 

Source
pub fn graph_difference(g1: &Graph, g2: &Graph) -> Graph
Expand description

Return the difference of two graphs.

Contains all nodes and edges in G1 but not in G2. Matches networkx.difference(G, H).