Join edges and curves into "polylines"