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

Limit node locations to visible area #26

Open
guy4261 opened this issue Aug 5, 2021 · 1 comment
Open

Limit node locations to visible area #26

guy4261 opened this issue Aug 5, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@guy4261
Copy link

guy4261 commented Aug 5, 2021

Thank you for creating Jaal! It's very fun :D

Once request I have is this:
When I filter edges, nodes the end up disconnected (no incoming/outgoing edegs) tend to "fly out" of the visible area. Right now I need to zoom out to see them again, in the hope I get them all. Is it possible to limit the nodes so that they don't fly out of the visible part of the canvas? Thanks!

To reproduce (I'm using Chrome on OSX):

If you run the Jaal demo code and in the browser filter edges using weight > 90,
as the filter is set you will see that disconnected nodes get "pushed away", and some of them end up disappearing.
As a user, if I don't notice some have disappeared and zoom out, I will simply not see them (and miss out the notion of how some nodes get disconnected).

An alternative would be some button to set the zoom value so that all nodes are visible.

Thanks!

@imohitmayank
Copy link
Owner

Hey @guy4261, agree with the issue. In fact, sometimes even these guys wander off the screen (without filter) 😄
image
Anyways, will have a look at this and come back. Thnx for sharing this!

@imohitmayank imohitmayank added the enhancement New feature or request label Aug 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants