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

Any Idea How I can Improve Performance #25

Open
TimeTravelersHackedMe opened this issue Mar 2, 2018 · 1 comment
Open

Any Idea How I can Improve Performance #25

TimeTravelersHackedMe opened this issue Mar 2, 2018 · 1 comment

Comments

@TimeTravelersHackedMe
Copy link

Is there anything I can do that'll improve the performance of this for say 2000+ nodes?

@nylen
Copy link
Owner

nylen commented May 9, 2018

Hi @TimeTravelersHackedMe,

What is the nature of the performance issue you're seeing?

If pages are slow to load, there is a lot of calculation that happens based on the source data. You could eliminate a lot of this and basically change the app into a static HTML view based on your data.

If objects are slow to render in the browser, you can try simplifying objects (get rid of rounded corners, hover effects, transparency), and maybe eliminating connections and other unneeded objects. It should also help to have the d3 force layout perform more than one iteration / "tick" per frame, but I haven't done this before.

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

No branches or pull requests

2 participants