Added capability to draw lines between points.