label_edges function

Annotate the direct upstream or downstream mutations on the edges