dash14 / v-network-graph

An interactive network graph visualization component for Vue 3
https://dash14.github.io/v-network-graph/
MIT License
495 stars 44 forks source link

Feature request: Events for double click #37

Closed dashavoo closed 2 years ago

dashavoo commented 2 years ago

There are events for view, node, edge and path clicks. It would be useful to have a separate event for double-click. I have tried to handle this in the event handler, but my solutions were a bit complex. It would probably be simpler to handle at the library level.

dash14 commented 2 years ago

Hi @dashavoo,

Thank you for your feedback. As you mentioned, it would be nice if the double-click event could be handled by the library. So, I just released a new version(v0.4.0) that adds a "dblclick" event to each element that has a "click" event. Please refer to release page for details.

Best Regards,

dashavoo commented 2 years ago

Thank you!!