Monitoring the edges of a graph using distances with given girth | Synapse