Note

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

# Reciprocity¶

Algorithms to calculate reciprocity in a directed graph.

 reciprocity(G[, nodes]) Compute the reciprocity in a directed graph. Compute the reciprocity for the whole graph.