Open Notes Graph Highlight

by 4Cjyxbq25Cb
5
4
3
2
1
Score: 51/100

Reviews

No reviews yet.

Stats

0
stars
1,579
downloads
1
forks
107
days
6
days
6
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
0
open issues
1
closed issues
36
commits

Latest Version

7 days ago

Changelog

Performance release — no changes to settings, defaults, or how highlighting looks.

  • Smoother note switching in large graphs. Open, pinned, and linked notes are now looked up through an index instead of being searched node by node. On a 7,500-note test graph, the frame right after switching notes dropped from about 140 ms to about 17 ms, which removes the visible hitch.
  • One update per navigation. Opening a note fires several workspace events at once; they are now folded into a single update.
  • Linked notes are recomputed only when needed — when the set of open notes or the vault's links change — and now also refresh as soon as you add or remove a link, instead of at the next note switch.
  • Less work per frame: colors are parsed once per change, node color and size are only written when they differ, edges are skipped while edge highlighting is off, and the render loop idles while highlighting is disabled.

Full Changelog: https://github.com/4Cjyxbq25Cb/obsidian-open-notes-highlight/compare/1.4.0...1.4.1

README file from

Github

Open Notes Graph Highlight

An Obsidian plugin that visually highlights currently open notes in the graph view.

Features

  • Color highlight — open notes appear in a custom color
  • Size boost — open notes are enlarged to a fixed size, independent of link count
  • Dim other nodes — non-open notes are faded out so open notes stand out
  • Highlight linked notes (optional) — notes directly linked to an open/pinned note are tinted in the same color at reduced opacity, so you can spot neighbors without confusing them for open notes
  • Highlight edges (optional) — edges connecting to an open/pinned note are tinted in that note's color, the same effect Obsidian applies when you hover a node in the graph
  • Workspace scope (optional) — pick any saved workspace and highlight the notes it has open, without loading it and disturbing your current layout
  • In-graph control panel — adjust color, size, and opacity directly in the graph view without opening settings

Screenshot placeholder

Installation

  1. Open Obsidian Settings → Community Plugins
  2. Disable Safe Mode if prompted
  3. Click Browse and search for Open Notes Graph Highlight
  4. Click Install, then Enable

Manual installation

  1. Download main.js and manifest.json from the latest release
  2. Create a folder open-notes-graph-highlight inside your vault's .obsidian/plugins/ directory
  3. Copy both files into that folder
  4. Reload Obsidian and enable the plugin in Settings → Community Plugins

Usage

  1. Open the Graph View
  2. Open one or more notes in Obsidian
  3. The open notes will immediately appear highlighted in the graph

A small control panel appears in the bottom-right corner of the graph view for quick adjustments.

Settings

Setting Description Default
Scope Which notes count as open: all panels, the active panel only, or a saved workspace All panels
Workspace Which saved workspace to read (only shown in workspace scope) active workspace
Highlight color Color used to highlight open notes #e06c75 (red)
Node size Fixed visual size of open notes (normal nodes: ~2–3) 8
Dim opacity Opacity of non-open nodes (0 = invisible, 1 = normal) 0.15

All settings are also accessible directly in the graph view via the control panel.

Workspace scope

With Scope → Saved workspace, the plugin reads the layout of a workspace saved by Obsidian's Workspaces core plugin and highlights the notes stored in it. The workspace is not loaded — your current layout, and the graph you are looking at, stay exactly as they are. Notes pinned inside that workspace keep the pinned color, just as they do in the live scopes.

This scope needs the Workspaces core plugin to be enabled (Settings → Core plugins). If it is off, or no workspace has been saved yet, the picker says so and no notes are highlighted.

Compatibility

  • Obsidian 1.4.0 and later
  • Works on desktop and mobile

License

MIT