rev_edge_dir_ws function

Reverse the direction of selected edges in a graph using an edge selection