can draw and modify a line by clicking on vertices