alis.network_tools.metrics.betweenness_centrality#

alis.network_tools.metrics.betweenness_centrality(G)[source]#

Calculates the betweenness centrality of each node in a graph

Parameters
Gnetworkx graph
Returns
sorted list of degree centrality values of each node