More work on graph traversal