Hi All,
I am adopting phylotree.js for the display of a set of compounds with similar chemical structures. Each leaf node will be a compound. I would like to be able to display the chemical structure (and some additional information) for the compound when I mouseover a leaf node. However, I could not locate such functionality. I am wondering whether I should implement this myself or I should request such a feature/functionality to be added to phylotree. If someone can point me to the right direction it would be great.
Please note that phylotree.js is based on d3.js. An example tree display is here: http://phylotree.hyphy.org/
Phylotree.js GitHub repo is here: https://github.com/veg/phylotree.js
Thank you very much.
Besides writing some javascript, using css may also be a possibility. The relevant classes can be found in this D3 block. Look for the :hover selector. You can use the css content property to display some text or an image.