luolanaatud443 downloadsAnalyze your vault using graph algorithms with Rust WASM for high-performance insights into note structure and relationships.
An Obsidian plugin that turns your vault into a knowledge graph, then feeds those graph-theory metrics to AI — giving it structured, quantitative context instead of raw note content. The result: deeper insights into how your knowledge is organized, how it evolves, and what to do next.
Open the plugin by clicking the plugin icon in the left ribbon.

Most AI tools analyze notes by reading their text. That works for summaries, but it can't tell you which notes hold your vault together, where structural gaps exist, or how your thinking has shifted over time.
This plugin takes a different approach. It first computes real graph metrics — degree, betweenness, closeness, and eigenvector centrality — across your entire vault. These metrics are well-defined, reproducible, and reveal structure that no amount of text reading can surface. The AI then reasons over this structured data, producing analysis that is grounded in the actual topology of your knowledge, not just keywords.
Graph metrics → AI context → deeper insights → concrete actions.
In Obsidian, open Settings → Community plugins, turn on community plugins if prompted, and search for Knowledge Graph Analysis. If the listing is not visible yet, use manual installation below.
.obsidian/plugins/ directoryThe graph renders your vault as a network — notes are nodes, links are edges. Node size reflects degree centrality (more connections → larger node), and color can encode betweenness, closeness, or eigenvector centrality.
Open the Vault Analysis modal from the status bar or command palette. The plugin first computes graph metrics in WASM, then runs AI analysis via Google Gemini. Results are organized into four tabs — Semantic Analysis produces the base data, and the other three tabs build on it independently.
The foundation layer. The AI processes each note alongside its graph metrics and produces:
Results are searchable, paginated, and update incrementally — only changed or new notes are re-analyzed.
Reveals how your knowledge is organized by combining domain analysis with graph topology.
Tracks how your vault grows and shifts over time.
Turns analysis into concrete next steps.
[[links]] directly into your notesThis plugin does not contact external servers when it loads. Network access happens only when you start Vault Analysis or generate AI insights for a tab.
| When | What leaves your device |
|---|---|
| Vault Analysis / tab AI actions | Note text and prompts sent to Google Gemini (generativelanguage.googleapis.com) using your API key |
| Graph view / WASM metrics | Stays local; graph data is read from your vault inside Obsidian |
There is no plugin-owned backend. Analysis caches (semantic results, derived charts, tab analyses) are stored in Obsidian plugin data on your device.
HTTP for Gemini uses Obsidian's requestUrl API via a small REST client (no bundled Google SDK). See docs/security-and-privacy.md for reviewer notes (WASM embedding, automated scan context).
Under Obsidian settings → Knowledge Graph Analysis:
| Setting | Description |
|---|---|
| Exclude Folders | Comma-separated paths (e.g. Archive, daily-notes). Real-time stats show excluded vs included counts. |
| Exclude Tags | Comma-separated tags without # (e.g. private, draft). |
| Gemini API Key | Required for vault AI analysis. Visit Google AI Studio to create a key, then paste it under "LLM Model Configuration". |
| Visualization | Graph appearance options in the graph view settings panel. |
Prerequisites: Node.js, npm, Rust, and wasm-pack.
git clone https://github.com/luolanaaTUD/obsidian-graph-analysis.git
cd obsidian-graph-analysis
npm install
npm run build
npm run build runs three steps in order:
wasm-pack build --target webdist/, and embeds the WASM binary in main.jsTo install into a vault, copy dist/ contents into .obsidian/plugins/knowledge-graph-analysis/, or use npm run copy-to-vault if configured.
This project uses eslint-plugin-obsidianmd. Before submitting to the community plugin directory:
npm run lint:submission # errors only (recommended before release)
npm run lint # full report including UI sentence-case warnings
npm run lint:fix # auto-fix where supported
Contributions are welcome. Open issues or pull requests on github.com/luolanaaTUD/obsidian-graph-analysis.
MIT — see the LICENSE file for details.