-
Notifications
You must be signed in to change notification settings - Fork 227
Description
Is your feature request related to a problem? Please describe.
Hello there !
I was looking for a way to catch a right click event on the graph (not on a node), but I've noticed the event wasn't catched.
Following https://stackoverflow.com/a/31113000, the onContextMenu, or an equivalent, does not seem to be present on the tag in your source code.
Describe the solution you'd like
Being able to do a
<Graph ... onRightClickGraph={onRightClickGraph} ... />
or
<Graph ... onContextMenu={onRightClickGraph} ... />
Describe your use case
Being able to show a Menu on graph right click.
The event should be different from onRightClickNode, which should still work correctly by only triggering onRightClickNode.
Describe alternatives you've considered
Haven't found any alternative yet.