traversal: iterators for outgoing and incoming edges