Great work.
I'd love to see some more configuration (different shapes, lines connecting shaped, etc) but I'm sure those would add to the size.
One thing I noticed is on Chrome on my Macbook Pro resizing the window gets slow when this is running. Usually when I see that it is because the onResize handler is too heavy. But I noticed you don't have an onResize.