Typically force-directed layouts contain multiple iterations and are
therefore parallelizable. We would like to provide WebWorker / WASM and
GPU approaches to obtain performance gains. Here's what we have done for
now:
@antv/layout-gpu
uses WebGL / WebGPU to implement GPGPU which has the best performance.
@antv/layout-wasm
uses WebWorker multi-threaded shared memory to run WASM, with Rust
rayon based parallelism
behind it.