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

Neighborhood view layout can crash the page #21

Open
yGuy opened this issue Sep 12, 2022 · 0 comments
Open

Neighborhood view layout can crash the page #21

yGuy opened this issue Sep 12, 2022 · 0 comments

Comments

@yGuy
Copy link
Member

yGuy commented Sep 12, 2022

Describe the bug
In case of really really dense graphs, the neighborhood view (when used with more than one layer) can become a bottleneck and since it seems to be running the layout on the main thread, it can block the page.

To Reproduce
Steps to reproduce the behavior:

  1. Use a really really dense and large graph
  2. Click on a node
  3. Go to the overview and pull the slider down
  4. Observe the page freezing

Expected behavior
For truely large graphs, we should not be showing them in the overview anyway. But if we do, we should run the layout in a worker.

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

1 participant