Note

This documents the development version of NetworkX. Documentation for the current release can be found here.

# 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