NetworkX

Previous topic

networkx.algorithms.components.attracting.attracting_components

Next topic

Cores

networkx.algorithms.components.attracting.attracting_component_subgraphs

networkx.algorithms.components.attracting.attracting_component_subgraphs(G)

Returns a list of attracting component subgraphs from G.

Parameters :

G : DiGraph, MultiDiGraph

The graph to be analyzed.

Returns :

subgraphs : list

A list of node-induced subgraphs of the attracting components of G.