Compute the reciprocity for the whole graph.
See the doc of reciprocity for the definition.
A networkx graph