Vorflux AI
190cf727f4
Dim superseded (non-latest) memory nodes in graph
...
Memory nodes with isLatest=false are now visually dimmed:
- Full-size nodes: 35% opacity with dashed border stroke
- Zoomed-out dots: 35% opacity with thinner stroke
- Selected/hovered superseded nodes render at full opacity
so users can still inspect them
2026-03-27 02:12:12 +00:00
Vorflux AI
3eab287959
Fix biome lint/format errors: aria-hidden on SVGs, Infinity -> Number.POSITIVE_INFINITY, line length formatting
2026-03-27 00:12:50 +00:00
Vorflux AI
e7676763a9
Add comprehensive unit tests for memory-graph package
...
79 tests across 6 test files covering:
- SpatialIndex: grid rebuild, queryPoint hit-testing, boundary cells, hash detection
- ViewportState: worldToScreen/screenToWorld roundtrip, pan, zoomImmediate,
zoomTo animation, fitToNodes, centerOn, inertia decay
- ForceSimulation: init/destroy lifecycle, update hot-swap, reheat/coolDown
- VersionChainIndex: chain building via parentMemoryId, caching, rebuild
- Graph data utils: normalizeDocCoordinates, getMemoryBorderColor,
getEdgeVisualProps, screenToBackendCoords, calculateBackendViewport
- Mock data: deterministic seeded output, correct counts, valid edge references
Also exports pure utility functions from use-graph-data.ts for testability.
2026-03-27 00:06:21 +00:00
Vorflux AI
4dcf3b2a62
Fix review bugs: slideshow re-mount, edges cascade, stale popover, maxNodes
...
- Fix slideshow useEffect: use nodesRef instead of nodes in deps to prevent
interval teardown/recreation on every render
- Fix edges useMemo: compute allNodeIds from normalizedDocs directly instead
of depending on nodes (which changes identity every render)
- Fix popover position: add zoomDisplay to deps so position updates on pan/zoom
- Implement maxNodes prop: limit documents before passing to useGraphData
- Fix SpatialIndex hash: include node IDs and use 10x position granularity
to prevent false cache hits during physics simulation
2026-03-26 18:04:25 +00:00
Vorflux AI
1c5ef7e5ed
Rewrite @supermemory/memory-graph with perf optimizations and consolidate consumers
...
Package changes (packages/memory-graph):
- Spatial grid nearest-neighbor: O(n^2) -> O(n*k) for doc-doc edge rendering
- Zoom-based edge culling: skip low-similarity edges at low zoom levels
- Modular canvas engine from mono repo (renderer, simulation, viewport, hit-test)
- Remove vanilla-extract CSS, use inline styles only
- Add motion/react for slide-in animations
- Export mock data generator for stress testing
- Add performance and integration tests (15/15 pass)
Web app changes (apps/web):
- Remove local graph implementation (~4400 lines deleted)
- Add thin wrapper (memory-graph-wrapper.tsx) using useGraphApi hook
- Keep app-specific graph-card.tsx and use-graph-api.ts
Playground changes (apps/memory-graph-playground):
- Add stress test buttons (50/100/200/500 docs)
- Add mock data generation via package
- Convert DocumentWithMemories to GraphApiDocument format
- Show FPS counter during stress tests
All TypeScript compiles clean. Performance tests: 15/15 pass.
2026-03-26 17:58:28 +00:00
MaheshtheDev
84d0fb802a
feat: bulk delete documents in nova app ( #777 )
...

2026-03-10 15:29:25 +00:00
Vedant Mahajan
9f7f415dd5
perf: Optimize array traversal for empty memory-graph documents ( #770 )
2026-03-07 19:34:25 -08:00
nexxeln
5dd358a939
graph frontend ( #713 )
2026-02-09 07:02:20 +00:00
MaheshtheDev
1423bd7004
feat: mobile responsive, lint formats, toast, render issue fix ( #688 )
...
- Mobile responsive
- new toast design
- web document render issue fix
- posthog analytics
- ui improvements
2026-01-21 03:11:53 +00:00
Vidya Rupak
d93ffbb93f
MemoryGraph - revamped ( #627 )
2025-12-29 00:32:26 +05:30
Dhravya Shah
27f69e451f
fix: memory graph not visible with just docs
2025-12-17 20:24:57 -08:00
nexxeln
dfb0c05ab3
add spaces selector with search ( #600 )
...
relevant files to review:
\- memory-graph.tsx
\- spaces-dropdown.tsx
\- spaces-dropdown.css.ts
2025-12-02 18:37:24 +00:00
nexxeln
895f37ac89
runtime styles injection + let user proxy requests for data in graph package + new playground ( #588 )
2025-11-22 07:04:05 +00:00
nexxeln
5e24eb66c3
package the graph ( #563 )
...
includes:
- a package that contains a MemoryGraph component which handles fetching data and rendering the graph
- a playground to test the package
problems:
- the bundle size is huge
- the styles are kinda broken? we are using [https://www.npmjs.com/package/vite-plugin-libgi-inject-css ](https://www.npmjs.com/package/vite-plugin-lib-inject-css ) to inject the styles

2025-11-19 18:57:56 +00:00