You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
It's difficult to select multiple nodes in a force graph without some kind of multi select tool. A lasso selection tool would be great to accomplish this.
Describe the solution you'd like
When holding down control or holding down right click, it'd be great to make use of d3 lasso in order to lasso select things on the canvas. See this example for how this could work https://observablehq.com/@bumbeishvili/d3-lasso-selection
Perhaps it doesn't need to be a native feature of the react-force-graph library, but an example of how to create a simple lasso select would be great.
Describe alternatives you've considered
NA
Additional context
Ideally the library could expose the lasso selection in some way wherein the library user could just make use of a "lassoSelectedItems" state variable to either get selected nodes or edges or both
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
It's difficult to select multiple nodes in a force graph without some kind of multi select tool. A lasso selection tool would be great to accomplish this.
Describe the solution you'd like
When holding down control or holding down right click, it'd be great to make use of d3 lasso in order to lasso select things on the canvas. See this example for how this could work
https://observablehq.com/@bumbeishvili/d3-lasso-selection
Perhaps it doesn't need to be a native feature of the react-force-graph library, but an example of how to create a simple lasso select would be great.
Describe alternatives you've considered
NA
Additional context
Ideally the library could expose the lasso selection in some way wherein the library user could just make use of a "lassoSelectedItems" state variable to either get selected nodes or edges or both
The text was updated successfully, but these errors were encountered: