Can you add a button to the node?
birdle-joe opened this issue · 2 comments
birdle-joe commented
HI,Your example is great.I hope that your component can achieve the click effect similar to neo4j graph database node, click the node can appear buttons, choose to show or hide the node relationship, want to know if you can add buttons in the outer layer of the node, can you give me some suggestions? thanks. @emiliorizzo
emiliorizzo commented
HI @birdle-joe, please look at this example: https://codepen.io/emilio/pen/xxKMMpY
I used the 'node-click' event to display the dialog, and node coordinates for the labels.
birdle-joe commented
@emiliorizzo Thank you for your reply,It has achieved the desired results.