Function decompose_strongly_connected_components_non_consecutive

Source
pub fn decompose_strongly_connected_components_non_consecutive<Graph: StaticGraph>(
    graph: &Graph,
) -> HashMap<Graph::NodeIndex, Graph::NodeIndex>
Expand description

Returns the strongly connected components of a graph whose indices are non-consecutive.

If the graph is empty, no SCCs are returned. Otherwise, an array is returned that maps each node to a root node representing its SCC.