netcenlib.algorithms.coreness_centrality module
- netcenlib.algorithms.coreness_centrality.coreness_centrality(network: Graph) dict[str, int][source]
Compute the Coreness Centrality for each node in the graph G.
Ref: https://www.centiserver.org/centrality/Coreness_Centrality/
- Parameters:
network – NetworkX graph
- Returns:
Dictionary of nodes with computed centrality as the value