Hello,
Very good work. I have been able to install the demo very easily.
I would like to do some action when the user click on one of the task or arrow (redirecting to another page or diagram for example)
How would you do that ?
Your online demos are clickables so I think everything is already there.
Thanks
I have created a small example project that should answer this question for you.
Depending on what you actually need, you may either
- Listen to clicks on all diagram elements (by hooking in the diagram’s event bus)
- Listen to clicks on some elements (via their DOM-Nodes) only
Check out the examples README.md
for a detailed explaination.
Thanks a lot. This works perfectly.