Draw all lines in one go, not once per node
Make line-drawing, which was the slowest part, much, much faster
Remove excess function calls from expand/collapse-drawing code
Draw labels all at once, without gradients.
Clip label/curve draws
Add just enough padding so we don't mis-render.
Optimize node-drawing to go all at once