visit: implement IntoEdges and IntoEdgesDirected for Reversed

Thanks to the previous change, this will work correctly on both directed and
undirected graphs.

Closes #292.
2 files changed