fromCollection(vertices, edges) implemented and tested