Click here to Skip to main content
15,743,541 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hey guys, I am trying to display a tooltip when the user hovers over a node in a diagram I created using arbor js. As the nodes are not rendered as actual dom elements I can't see an easy way to achieve this.

What I have tried:

I have tried binding an event to the node in the renderer.js file but with no luck. any suggestions are very much appreciated thanks.
Updated 2-Nov-16 9:35am
Suvendu Shekhar Giri 3-Nov-16 4:53am    
So, anything you have tried so far?
How about external script and may be html injection?
frostcox 3-Nov-16 7:06am    
Hey thanks for your response, I have never done anything like that before, I am fairly comfortable with javascript/jquery, what I would expect is that each node would be accessible by using a css selector either by id or class name byt this does not seem to be the case as arbor js renders the nodes on a canvas so the html would need to be inserted when the canvas is being drawn?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900