simple polyline editor