Simple Draw Example

Click on the canvas to draw.
Ctrl-click a line to split it, shift-click a point to remove it.
Points are draggable.