Skip to content

LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。

TypeScript

fix: clicking graph node opens preview on right side, stays on graph view

nash_suee0e3feffbcb
diff --git a/src/components/graph/graph-view.tsx b/src/components/graph/graph-view.tsx
index d65164c7..d9bea334 100644
--- a/src/components/graph/graph-view.tsx
+++ b/src/components/graph/graph-view.tsx
@@ -249,12 +249,12 @@ export function GraphView() {
const content = await readFile(node.path)
setSelectedFile(node.path)
setFileContent(content)
- setActiveView("wiki")
+ // Stay on graph view — preview opens in right panel
} catch (err) {
console.error("Failed to open wiki page:", err)
}
},
- [nodes, setSelectedFile, setFileContent, setActiveView],
+ [nodes, setSelectedFile, setFileContent],
)
// Count nodes by type for legend