vaw Wiki
Reading preferences
Text size

Note graphs

On this page

Note graphs#

VAW derives graph relationships from resolved links between published notes. It writes graph JSON during the build and renders it in the browser on the global graph page and, when enabled, beside notes with relationships. Graphs need no server, database, external library, or CDN.

Global graph#

The global graph is at /graph/ and its data is under graph/data.json. It shows published note nodes and resolved link edges, with controls to search labels, filter by tag or folder, pan, zoom, select a note, and open that note. Canvas labels are an enhancement; a static expandable list of graph notes remains available for keyboard and no-JavaScript use. The frontend caps the global payload at graph.max_nodes and reports when it is truncated.

Local graph#

When a note has links, VAW writes a small per-note graph JSON file under graph/local/. The local graph includes the current note and neighbors up to graph.local_depth. It loads only when its section approaches the viewport. The current note is selected when it loads; resolved nearby note links remain available as HTML beneath it.

Local relationship extraction uses per-note incident-edge lists, so producing these views does not rescan every graph edge for every note. The layout is deterministic and intentionally bounded. It does not run a large force simulation in the browser.

Privacy and configuration#

graph:
  enabled: true
  global: true
  local: true
  local_depth: 1
  max_nodes: 1000

Only notes in the published content registry are graph nodes; edges are created only when both endpoints resolve to published notes. A private or excluded note cannot be embedded as a graph node through a public link. Graph relationships are still public data: review a public note's links before publishing if the relationship itself is sensitive. noindex: true controls search/SEO indexing, not publication or graph visibility.

Disable global to omit the graph page and global data. Disable local to omit per-note graph files. Disable enabled to omit all graph data and graph controls. max_nodes accepts 1–10,000 and local_depth accepts 1–5; the local graph also has a hard 120-node safety cap. The graph remains a static progressive enhancement; direct note navigation does not depend on it.

If a graph page shows no data, make sure the relevant notes are published and the links resolve. Broken or ambiguous Obsidian references do not create graph edges.

Linked notes

Related notes

Linked from

Search is ready.

    ↑ ↓ move · Enter open · Esc close

    Explore graph

    Open the graph to explore note relationships.