local_graph function

Measures based on the neighborhood of each node