alis.network_tools.metrics.average_degree#

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

Calculates the average degree of a graph

Parameters
Gnetworkx graph
Returns
float
average degree of a graph