CitationGecko/gecko-react

Graph plotting becomes slow and unresponsive for large graphs

Opened this issue · 3 comments

Even a single very famous paper leads to hundreds of nodes to be plotted as citing it. This adds a huge overhead (up to Firefox suggesting closing the page). One of the problems is the slow animation; another is the unresponsiveness once it is drawn.

The only solution to both problems that I imagine is defaulting to computing a static layout (i.e. no animation) after certain number of nodes. This will require not refreshing it for each added node (as it is currently implemented).

Temp fix is to stop displaying graph at a maximum node size or at least give ask for user confirmation before plotting with a warning that it may crash the browser.

Hi,
Is there any updates on this? I'm gonna suggest getting rid of animation effects (nods wiggling with pointer and so on) might help.