Reciprocity¶

Algorithms to calculate reciprocity in a directed graph.

reciprocity(G[, nodes])

Compute the reciprocity in a directed graph.

overall_reciprocity(G)

Compute the reciprocity for the whole graph.