graph-viz-d3-js
graph-viz-d3-js copied to clipboard
How to render tooltip
Hello, How can I render a node tooltip (or add an event onclick to nodes)? Thanks for the job! Ely
You can use the Graphviz tooltip attribute. Possibly also the URL attribute, depending on what you want to do.
If you want help with adding an onclick event, please provide your DOT source. In general, Stack Overflow is a better place to ask for help.
Thanks for answer! I've tried the tooltip attribute, but it seems the issue #31 is valid yet (it means, the tooltip attribute is ignored in the translation to SVG). Ely
Oh, yes, I had forgotten that.