Component Props
Core Props
Array of documents with their associated memories to display in the graph. This is the primary data source for the visualization.
Indicates whether the initial data is currently loading. Shows a loading indicator overlay.
Error object to display if data fetching fails. Shows an error state with the error message.
Content to display when no documents are available. Useful for custom empty states.
Display Props
Visual variant that determines the default zoom level and UI layout.
- console: Full dashboard view (zoom: 0.8, spaces selector shown, legend bottom-right)
- consumer: Embedded widget view (zoom: 0.5, spaces selector hidden, legend top-right)
Controls visibility of the spaces/container filter dropdown. Defaults to
true for console variant, false for consumer variant.Custom ID for the legend element. Useful for DOM targeting or testing.
Highlighting Props
Array of document IDs to highlight in the graph. Supports both internal IDs and custom IDs. Perfect for showing search results or filtered content.
Controls whether highlights are currently visible. Useful for toggling highlights on/off.
Pagination Props
For large datasets, implement pagination to load documents incrementally:Indicates whether additional data is being loaded. Shows a loading indicator without blocking interactions.
Indicates whether more documents are available to load.
Total number of documents currently loaded. Displayed in the loading indicator.
Async callback function to load more documents. Called automatically when user scrolls near the viewport edge.
Advanced Props
Number of pixels occluded on the right side (e.g., by a chat panel). Used to adjust auto-fit calculations.
Enable automatic loading when 80% of documents are visible in viewport. Set to
false for manual pagination control.Custom theme class name for styling overrides. Use with Vanilla Extract theme system.
TypeScript Types
Core Data Types
Graph Types
Component Props Type
Variants Comparison
| Feature | Console | Consumer |
|---|---|---|
| Initial Zoom | 0.8 (closer view) | 0.5 (wider view) |
| Spaces Selector | Shown by default | Hidden by default |
| Legend Position | Bottom-right | Top-right |
| Best For | Full-page dashboards | Embedded widgets |
| Use Cases | Admin panels, analytics | Sidebars, chat integration |