Added ability to draw lines between points.