Check in the additional d3 integration changes (including some things
I meant to add last night but also code to draw connection lines).