Hello,
I want to be able to catch and handle a mouse click on the visual (label) of a connection, not just the line itself.
I'm doing something like
connection.redraw({content: {visual:
function
(){
return
new
TextBlock(...);}}})
It seems the `TextBlock` as well as other visual diagram elements don't have `onclick` events, and sadly the diagram click only fires when clicking on shapes or connections, and I couldn't get it to fire when clicking on the visual of a connection.
Please advise how to identify and handle a click on the visual of a connection.
Thanks.