stronglyConnectedComponents property

List<List<Vertex<T>>> stronglyConnectedComponents

Returns a valid reverse topological order ordering of the strongly connected components. Acyclic graphs will yield components containing one vertex only.

Implementation

List<List<Vertex<T>>> get stronglyConnectedComponents {
  return graphs.stronglyConnectedComponents<Vertex<T>>(_edges.keys, edges);
}