7 ms·
It's a bit too bad that the network visualisation relies on d3: it is really slow with big networks, and the force directed algorithm is far from the best. Have
by boogheta 10mo ago
It's a bit too bad that the network visualisation relies on d3: it is really slow with big networks, and the force directed algorithm is far from the best.
Have you tried using JS libraries built specifically to visualise graph networks such as Sigma.js, Vivagraph or Cytoscape?
- tootyskooty 10mo agoShameless plug: if OP is looking to stay on d3, he could also try slotting in my C++/WASM versions[1] of the main d3 many-body forces. Not the best, but I've found >3x speedup using these for periplus.app :) [^1]: https://www.npmjs.com/package/d3-manybody-wasm https://www.npmjs.com/package/d3-manybody-wasm
- marginalia_nu 10mo agoWhat do you have to run to use this thing? I have a 4090 and 32 GB of RAM and this thing is chugging at like 2 FPS, with the UI being completely unresponsive.
- deleted 10mo ago[deleted]
- claiir 10mo agoJavascript doesn’t generally execute on your GPU.
- marginalia_nu 10mo agoWebsite rendering does.