supermemory/apps/web/components/memory-graph/hooks
Vorflux AI a2765e377a fix: MCP forward-reference bug + type cleanup from review
- Fix MCP transformData to pre-populate nodeIds before edge computation,
  preventing silently dropped edges for forward-referenced memories
- Use MemoryRelation type for edgeType fields in GraphApiEdge and GraphEdge
- Use MemoryRelation type in use-graph-api.ts instead of inline literals
- Remove redundant MemoryRelation re-export from types.ts (already in index.tsx)
- Remove unnecessary type assertion cast in mock-data.ts
- Add defensive comments for runtime typeof checks
2026-03-28 23:23:23 +00:00
..
use-graph-api.ts fix: MCP forward-reference bug + type cleanup from review 2026-03-28 23:23:23 +00:00