What code can i use to draw a line from one point to another. All points would be connected therefore giving us one shape conected to another shape ect... The points would be located in a text file.

ie. 12,34
23,45
34,56
23,23
34,-2