all_local_reciprocity#

all_local_reciprocity(graph)#

Local reciprocity - measure of the symmetry of relationships associated with a node

This measures the proportion of a node’s outgoing edges which are reciprocated with an incoming edge.

Parameters:

graph (GraphView) – a directed Raphtory graph

Returns:

Mapping of nodes to their reciprocity value.

Return type:

NodeStateF64