You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there-
First of all, I would like to thank you for providing this library, it just fits my needs perfectly! Switching to dagre from a not-so-complete d3 layout took less than an hour!
In order to support actions when clicking on nodes it would be great if I could attach html content or a callback function to nodes, something like:
As you saw, @robopeter recently submitted a patch with HTML support. I've updated the hosted demo to include his patch. Here's a quick example with an onclick handler.
His patch currently resides on the v0.0.3 branch. I plan to get this merged to master and published sometime this week.
Hi there-
First of all, I would like to thank you for providing this library, it just fits my needs perfectly! Switching to dagre from a not-so-complete d3 layout took less than an hour!
In order to support actions when clicking on nodes it would be great if I could attach html content or a callback function to nodes, something like:
Allowing HTML content in the SVG could be used to provide the same functionality.
Thanks a lot,
Moritz
The text was updated successfully, but these errors were encountered: