edges from polygons