The uploaded file [login to view URL] is a d3.js collapsible tree. The code is almost there, just need add some more functions. I need:
1. The text in the rect boxs can be displayed in multiple lines
2. The size of the rect box can be automatically adjusted to fit the text length
3. Add one function: At the bottom of the page, I want a text box, so that when I put the mouse on each node of the tree, say node A, I want the info value "1" can be displayed in the bottom text box.