@supermemory/memory-graph on npm
Check out the NPM page for more details
Installation
Quick Start
Backend API Route
Create an API route to fetch documents from Supermemory:Variants
Console Variant - Full-featured dashboard view (0.8x zoom, space selector visible):Examples
With Pagination
Highlighting Search Results
Controlled Space Selection
Custom Empty State
Props Reference
Core Props
Pagination Props
Display Props
Controlled State Props
Data Types
DocumentWithMemories
MemoryEntry
Exports
Components
Hooks
Constants
Performance
The graph handles hundreds of nodes efficiently through:- Canvas-based rendering (not DOM elements)
- Viewport culling (only draws visible nodes)
- Level-of-detail optimization (simplifies when zoomed out)
- Change-based rendering (only redraws when state changes)