alis.network_tools.metrics.degree_centrality#

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

Calculates the degree centrality of each node in a graph

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