I’m using the collapsible tree with boxes example found here.
I haven’t been able yet to get any response from the developer.
Everything works fine except for the tooltips on the links. I list the issues below. I’ve tried a number of things and solved several issues with these particular tooltips, but the ones below have me stuck. In the code you will see indicated the changes I’ve made to make the link tooltips more functional.
-
As long as you don’t collapse any part of the tree, the link tooltips work Ok, except for the fact that I can’t get the link tooltip boxes (rects) and their text contents to re-position together so they appear closer to the links they are associated with. I have the rects and the text in a ‘g’ element with translation, but when I attempt to reposition things the text drifts away from the rects.
-
If you do collapse any part of the tree, the remaining link tooltips popups experience notable shifting of the text away from the rects.
-
When you expand the node(s) that were collapsed, the tooltips for those now-restored links drift way off to the lower-right corner of the browser window.
I’m currently at a loss as to what to try next. Please access the complete code and sample data here.