refactored Edges() and Vertices() method to us Iter methods in graphdb