@kineviz/gl
A GPU-first graph visualization engine: a declarative React component, an imperative API beside it, clean data structures, and no business-logic dependencies.
import { GraphCanvas } from '@kineviz/gl';
<GraphCanvas data={{ nodes, edges }} nodeCloud edgeCloud caption forceLayout />
Where to start
- Concepts — the mental model: the three surfaces, the data model, coordinate spaces, the lifecycle. Read this once and everything else lands faster.
- GraphCanvasProps — every prop, every default, grouped by category.
- Examples gallery — 41 runnable examples. Click any card to open the split-view editor and change the code live against a real canvas.
- API reference — 31 namespaces, with parameter tables, type cross-links and embedded examples.
The manual
| Page | What it covers |
|---|---|
| Concepts | the model you need before anything else |
| GraphCanvasProps | the full declarative surface |
| Force layout | the physics simulation, its backends and tuning |
| Node appearance | shapes, sizing, and which style layer wins |
| Node media | images, video and audio drawn on nodes |
| Node cards | a whole record as the node; HTML nodes |
| Filtering | hiding subsets declaratively |
| Real data integration | fetch-and-add patterns, format adapters |
| Maps | the geographic basemap, flat and globe |
| Effects & layers | everything composited over the base graph |
| Rendering | the render loop, WebGL vs WebGPU, faults |
| State persistence | URL / store / localStorage round-trips |
| Interaction recipes | click, hover and drag patterns |
| Upgrading | what to change when you take a new release |
The API surface
The engine exposes one object — RenderEngineApi — carrying a namespace per
subsystem. The reference has a page per namespace and per method:
| Data | nodes edges query types schema io |
| View | camera renderer map layout transform |
| Appearance | style emphasis markers coverage polygon cards overlays |
| Interaction | selection hover filter groups history ui |
| Time & motion | animations timeline playback flows |
| Analysis & extension | algorithms layers skills |
Reach for a namespace when you need a one-off action; the declarative props cover the common cases.
What's new
See Upgrading for the full list, including the breaking changes. The headlines: eight built-in node shapes, images / video / audio on nodes, records drawn as nodes, clickable custom layers, camera choreography, host-registered layouts, and an opt-in WebGPU render path.