Don't pass a pointer from Directed.EachEdge(), edges are value objects.