Skip to main content

complement_graph

Function complement_graph 

Source
pub fn complement_graph(graph: &Graph) -> Graph
Expand description

Return the complement of the graph.

The complement has the same nodes but edges where the original has none.