d3-process-map icon indicating copy to clipboard operation
d3-process-map copied to clipboard

Any Idea How I can Improve Performance

Open TimeTravelersHackedMe opened this issue 7 years ago • 1 comments

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

TimeTravelersHackedMe avatar Mar 02 '18 20:03 TimeTravelersHackedMe

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.

nylen avatar May 09 '18 04:05 nylen