trav_both_edge function

Traverse from one or more selected nodes onto adjacent edges