netjsongraph.js
netjsongraph.js copied to clipboard
Using Web Worker
Put plenty of calculation into Web Worker. for example, put static layout calculation(#44) into it
https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers
here is a demo: https://bl.ocks.org/mbostock/01ab2e85e8727d6529d20391c0fd9a16
but I discover it is still slow.