li-zane274 downloadsDisplay and edit short relationship labels on graph edges.
Graph Edge Notes is an Obsidian plugin that overlays short relationship labels on graph-view edges.


.obsidian/plugins/graph-edge-notes/debug.log and removes that file again when debug mode is turned off.relations:
- '("limited-open")[[Open]]("finite-population open model")'
- '("gossip")[[Communication]]'
The command palette editor currently saves relations in the string form above.
Object-style YAML is also accepted when reading existing notes:
relation:
- target: "[[Open]]"
label: "limited-open"
detail: "finite-population open model"
label is what appears on the edge. detail is optional and appears in the hover tooltip.
The frontmatter property name is configurable in plugin settings. In the examples above, relations and relation are both valid if your plugin setting is configured to match that property name.
The plugin annotates edges that already exist in Obsidian's graph. It does not create new graph edges by itself. In practice, this means the two notes still need to be linked somewhere in the vault for an edge to appear.
Rendered labels show relation detail on hover. Edit relations through the command palette command Add graph relation to current note or by editing frontmatter directly.
npm install
npm run build
To test in a vault, copy main.js, manifest.json, and styles.css into:
<Vault>/.obsidian/plugins/graph-edge-notes/
Then reload Obsidian and enable Graph Edge Notes under Settings -> Community plugins.