pub fn strongly_connected_component<N, FN, IN>(
node: &N,
successors: FN
) -> Vec<N>Expand description
Compute the strongly connected component containing a given node.
nodeis the node we want the strongly connected component for.successorsreturns a list of successors for a given node.
The function returns the strongly connected component containing the node,
which is guaranteed to contain at least node.