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

[bug] Simulation is slow and blocks UI for large graphs #7

Open
valentinoli opened this issue Jun 17, 2021 · 0 comments
Open

[bug] Simulation is slow and blocks UI for large graphs #7

valentinoli opened this issue Jun 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@valentinoli
Copy link
Owner

valentinoli commented Jun 17, 2021

Running the simulation for large graphs is computationally heavy and freezes the UI. We should use static force layout as described in d3 force docs, perhaps even computing it with a web worker to avoid freezing the UI

https://stackoverflow.com/a/47522074/8238129
https://bl.ocks.org/mbostock/6526445e2b44303eebf21da3b6627320
https://jarrettmeyer.com/2019/01/04/static-force-layout-d3js

@valentinoli valentinoli added the bug Something isn't working label Jun 21, 2021
@valentinoli valentinoli changed the title Render large graphs at once [bug] Simulation is slow and blocks UI for large graphs Jun 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant