netcenlib.algorithms.bottle_neck_centrality module

netcenlib.algorithms.bottle_neck_centrality.bottle_neck_centrality(graph: Graph) dict[str, float][source]

Compute the BottleNeck Centrality for each node in the graph G.

Ref: https://www.centiserver.org/centrality/BottleNeck/

Parameters:

network – NetworkX graph

Returns:

Dictionary of nodes with computed centrality as the value