Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to incorporate a lasso selection? #480

Open
kwjjohnson opened this issue Dec 7, 2023 · 2 comments
Open

Is it possible to incorporate a lasso selection? #480

kwjjohnson opened this issue Dec 7, 2023 · 2 comments

Comments

@kwjjohnson
Copy link

I've seen a lasso selection solution incorporated into D3. Wondering if it's possible to incorporate it into react-force-graph-2d. It's an amazing library and appreciate any input. Best Regards!

@vasturiano
Copy link
Owner

I believe it should be possible, if you overlay an element where you can draw the lasso shape, and then figure out which nodes it encompasses by cross checking their positions. But I haven't seen a specific example that does exactly that.

@kwjjohnson
Copy link
Author

Thanks for the input. I'll let you know about any progress...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants