Function connected_components
Source pub fn connected_components(graph: &Graph) -> Vec<Vec<NodeId>>
Expand description
Returns all connected components in the graph.
§Arguments
§Returns
Vector of components, where each component is a vector of node IDs