alis.network_tools.metrics.closeness_centrality#

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

Calculates the closeness centrality of each node in a graph

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