networkx.algorithms.components.weakly_connected.weakly_connected_component_subgraphs
networkx.algorithms.components.attracting.number_attracting_components
Enter search terms or a module, class or function name.
Returns True if G consists of a single attracting component.
G : DiGraph, MultiDiGraph
The graph to be analyzed.
attracting : bool
True if G has a single attracting component. Otherwise, False.
See also
attracting_components, number_attracting_components, attracting_component_subgraphs