# Troubleshooting ## See what the plugin is doing The status button at the right of the panel's header says what the plugin is doing: **Up to date**, **Loading notes**, **Building graph**, **Enriching notes**, or **Needs attention**. Press it to open **Graph status**. It says whether your notes have loaded, how many notes have AI data, how many connections have an explanation, and lists the latest problems with their time. Where something can be retried, it has a button: **Load again**, **Run again**, or **Explain N more**, where N is how many connections the next round will label (at most 200). The button's dot turns orange when something needs a look, or a problem happened since you last opened it. **Graph status** keeps the latest 20 problems; you can clear them from there. ## "AI analysis unavailable - showing structural graph" This status message appears when AI analysis is enabled in settings but the graph couldn't be built with semantic edges. The underlying reason is usually one of these, surfaced from `ProviderResolver` or `JoplinNativeProvider`: - **`joplin.ai is not available.`** Your Joplin version doesn't expose the AI API, or AI is turned off in Joplin's own Configuration screen (**AI** page, "Enable AI features"). Requires Joplin 3.7 or later with AI enabled (the plugin itself only requires Joplin 3.5+; only semantic analysis and LLM enrichment need 3.7+). - **`Joplin AI index is not usable yet (state: preparing)`** or **`(state: disabled)`**: the embedding index hasn't started, or the Configuration screen's separate "Enable the embeddings indexer" option is unticked even though AI features are otherwise on. - **`(state: indexing)`** is not blocking by itself; notes not yet indexed just show up as per-note errors ("Note not yet indexed by Joplin AI"), which can make the semantic graph look sparse until indexing catches up. If AI analysis is off in the plugin's own settings (Configuration screen's **Note Graph** section), no status message appears; the structural graph is simply the expected result. See [Settings reference](settings.md). ## The graph has very few or no semantic edges - Check the **similarity threshold** setting; 70% is the default and can be lowered to surface more edges. The threshold is a *percentile* cutoff: it keeps the strongest (100 - value)% of candidate pairs, ranked by how much closer two notes are than each usually is to its nearest notes. Two notes also have to be among each other's 10 closest notes, so a note can have no semantic edges when nothing is clearly close to it. - A small vault, or a vault with genuinely unrelated notes, will produce fewer edges by design: semantic edges require the raw cosine similarity to clear the absolute floor (`SEMANTIC_FLOOR`, 0.3) *before* the percentile cutoff runs, and no tag, link, or time bonus can manufacture one out of a weak semantic score. See [Similarity engine](similarity-engine.md). - Confirm the embedding index state is `ready` or at least `indexing` with meaningful progress, not `preparing`. ## "No graph data received" The panel opened but hasn't received any graph yet. This is normal for a moment on first open of a large vault (notes are still loading and being embedded); check the progress bar. If it persists, open **Graph status** (the status button), or check the developer console (**Help -> Toggle Development Tools**) for an error logged by `index.ts` or `AnalysisController`. ## Some semantic edges have no relationship label Confirm both **Enable AI-based semantic analysis** and **Enable LLM analysis** are on; Pass B has nothing to label without semantic edges from Pass A. A batch that fails every retry attempt is simply left unlabeled for that run rather than blocking the rest of the graph; press **Explain N more** in **Graph status**, or tick **Retry AI labels**, to ask again. See [LLM enrichment](llm-enrichment.md#retrying-missing-labels). The developer console's `LLM enrichment:` log lines say exactly which batch failed and why. ## Colors changed after adding or removing notes Community numbers carry over between rebuilds, so colors should normally stay put. A community can still change color if it splits or merges with another, since its notes then really are in a different group. See the "Stability" note in [Graph model](graph-model.md). ## Notes, tags, or events look incomplete in a very large vault Notes and tags are fetched without a cap, and a failed request is retried. If a page still fails, the panel shows a notice that the graph is incomplete, and that partial graph is not saved over the cached one. Run **Show Note Graph** again to retry. If no notes can be read at all, the panel says so and retries shortly, and a graph already on screen is left as it is. The sync sweeps for `/events` and embeddings have their own page safety caps (see [Incremental updates](incremental-updates.md)). Hitting one logs a message, and the next sync picks up anything missed. ## I don't see "All notebooks", or the graph only shows part of my vault Above 1500 notes, the vault is too large to draw at once, so the graph shows one notebook at a time, plus the notes elsewhere that connect to it. Search covers every note. If a large notebook shows only a few notes, check whether **Focus** is on: it hides everything except notes near the selected one. See [Large vaults](large-vaults.md). ## The panel is empty when Joplin opens Joplin doesn't fill a plugin's panel until its window has been on screen, for example if another window covers it while it starts. Bring Joplin to the front and the panel fills straight away. ## Semantic edges don't change right after I edit a note This is expected. Joplin re-embeds an edit a few minutes later, and the plugin updates the edges once it has. See [Incremental updates](incremental-updates.md#embedding-sweeps). ## Reinstalling after a build Joplin does not always pick up a rebuilt `.jpl` automatically. After `npm run dist`, reinstall it from the Configuration screen's **Plugins** page (**Plugin tools** gear button -> **Install from file**) and restart Joplin (or disable/re-enable the plugin) if changes don't appear to take effect.