High-performance WebGPU rendering engine for 3D graph visualisation.
This is Layer 1 of the Econic graph framework. It handles GPU-side computations and projects 3D world positions to 2D screen coordinates via shared buffers.
npm install @econic/graph-coreimport { GraphCore } from '@econic/graph-core';
const core = await new GraphCore(canvas, {});
core.set_capacity(1000);
core.set_buffers(worldPositions, scales, visibility, screenPositions, depths);
core.set_node_count(nodes.length);
core.render();# Build for web
wasm-pack build --target web
# Build with debug symbols
wasm-pack build --target web --devSee the full documentation for architecture details and API specifications.
MIT