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