1.1k stars · Apache-2.0 · npm v4.32.0 (2026-06-25); no GitHub releases
WebGL 2D/3D graph canvas for React with clustering — the zoomed-out constellation view that hands off to React Flow.
▶Repo detailsthe review · specs · pros & cons · install
What it is
A React graph-visualisation library that renders nodes and edges in WebGL, with fifteen or more built-in layouts, clustering, path-finding and both 2D and 3D modes. It is built for graphs too large to draw as HTML elements.
Why it matters
React Flow from Edition 1 is the right canvas for Grasppy's detail view, and it starts to struggle somewhere past a thousand or two visible nodes because every node is a real DOM element. A 500-message thread with nested subtopics reaches that. Reagraph is the answer to that specific ceiling rather than a replacement: WebGL draws the whole constellation at once, the user picks a cluster, and you hand off to React Flow for the readable drill-in. Worth noting that the repository ships a CLAUDE.md, which means Claude Code has maintainer-written guidance for it.
- WebGL handles node counts that make DOM-based canvases stutter
- Clustering and fifteen layouts built in — no hand-rolled force simulation
- Apache-2.0, and the repo carries a CLAUDE.md for Claude Code to follow
- Small team, 1.1k stars — real bus-factor risk for something load-bearing in your UI
- Releases ship to npm without matching GitHub release notes; pin the version and read the changelog
- WebGL nodes are not React components, so you cannot reuse your existing card UI inside them
npm install reagraph
