Only returns one edge direction for undirected edges