Table of Contents
Graph()
DiGraph()
MultiGraph()
MultiDiGraph()
Auto-generated API
networkx.algorithms.
number_attracting_components
Returns the number of attracting components in G.
G : DiGraph, MultiDiGraph
The graph to be analyzed.
n : int
The number of attracting components in G.
NetworkXNotImplemented :
If the input graph is undirected.
See also
attracting_components, is_attracting_component, attracting_component_subgraphs
attracting_components
is_attracting_component
attracting_component_subgraphs