fixed addEdge in pygeometry