NetworkX

Previous topic

networkx.algorithms.components.attracting.attracting_component_subgraphs

Next topic

networkx.find_cores

CoresΒΆ

Find the k-cores of a graph. The k-core is found by recursively pruning nodes with degrees less than k.

find_cores(G) Return the core number for each vertex.