fix edge iterator on undirected graphs to skip inverted edges
add user index for no reason