feat: obsidian-style graph view for wissens-vault

This commit is contained in:
Hitonabi
2026-08-07 12:16:01 +02:00
parent 327d5a495e
commit 8f359ef4c9
3 changed files with 116 additions and 10 deletions
+2 -1
View File
@@ -172,8 +172,9 @@ export const useGovernor = (refetchInterval: number = TAKT.normal) =>
export const useMemoryGraph = (enabled = true) =>
useQuery({
queryKey: qk.memoryGraph,
queryFn: () => api<MemoryGraph>("/api/memory/graph"),
queryFn: () => api<MemoryGraph>("/api/wissen/graph"),
enabled,
staleTime: 60 * 1000,
})
export const useHealth = () =>