Warning

This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.

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

G (graph) – A networkx graph