christophergandrud / networkD3

D3 JavaScript Network Graphs from R
http://christophergandrud.github.io/networkD3
649 stars 270 forks source link

forceNetwork gets laggy as number of nodes gets larger #294

Closed ayeTown closed 2 years ago

ayeTown commented 2 years ago

Hi there, I was wondering if there is a way of making the force network less laggy as the number of nodes increases? Tends to be pretty slow as I increase the number of nodes even to just 1,000. Thanks for your help, AT

cjyetman commented 2 years ago

Unfortunately not. More nodes means more work. It was not really designed to work with more than 1000 nodes because there's not many realistic ways to show 1000+ nodes on a normal size computer screen without overlapping.

neon-ninja commented 9 months ago

https://github.com/vasturiano/3d-force-graph might be of interest