netcenlib.algorithms.leverage_centrality module

netcenlib.algorithms.leverage_centrality.leverage_centrality(network: Graph) dict[str, float][source]

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

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

Parameters:

network – NetworkX graph

Returns:

Dictionary of nodes with computed centrality as the value