Skip to content

econic-ai/graph-core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@econic/graph-core

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.

Installation

npm install @econic/graph-core

Usage

import { 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();

Building

Requires Rust and wasm-pack.

# Build for web
wasm-pack build --target web

# Build with debug symbols
wasm-pack build --target web --dev

Documentation

See the full documentation for architecture details and API specifications.

License

MIT

About

Wasm library for 3D graph rendering

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors