cosmosgl/graph

GPU-accelerated force graph layout and rendering

58
/ 100
Established

Implements force-directed layout entirely on GPU via WebGL 2 fragment and vertex shaders, eliminating CPU-GPU memory transfers for real-time simulation of hundred-thousand-node graphs. Built on luma.gl with async initialization, decoupled simulation/rendering, and support for shared GPU devices across multiple graph instances. Provides fine-grained control over node/link attributes through typed arrays, point clustering forces, and interactive features like dragging, context menus, and viewport fitting.

1,118 stars. Actively maintained with 25 commits in the last 30 days.

No Package No Dependents
Maintenance 23 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 16 / 25

How are scores calculated?

Stars

1,118

Forks

76

Language

TypeScript

License

MIT

Last pushed

Mar 12, 2026

Commits (30d)

25

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/cosmosgl/graph"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.