networkx.algorithms.reciprocity.overall_reciprocity

overall_reciprocity(G)[source]

Compute the reciprocity for the whole graph.

See the doc of reciprocity for the definition.

Parameters
Ggraph

A networkx graph