networkx.find_cores
Matching
Enter search terms or a module, class or function name.
Return the core number for each vertex.
See: arXiv:cs.DS/0310049 by Batagelj and Zaversnik
If with_labels is True a dict is returned keyed by node to the core number. If with_labels is False a list of the core numbers is returned.