Function retworkx::weakly_connected_components [−][src]
pub fn weakly_connected_components(graph: &PyDiGraph) -> Vec<BTreeSet<usize>>
Find the weakly connected components in a directed graph
:param PyDiGraph graph: The graph to find the weakly connected components in
:returns: A list of sets where each set it a weakly connected component of the graph :rtype: list