Skip to content
GitHub

Graph

The graph shows the notes around one note: the notes that link to it on the left and the notes it links to on the right. Both [[links]] and Markdown links to notes count.

╭─● Untitled-1
Other ●─╮ │ ╭─● EC2
├─● Note ──┼─● AWS ─────┤
Index ●─── Study ●─╯ │ ╰─● S3
╰─● Docker

Type :graph in NORMAL mode, or press Space g. The graph opens in its own tab, centred on the note you were in. The preview stays on the right and shows whichever note is selected in the graph, so you can read a note before opening it.

Close the graph like any other tab.

The graph is used with the mouse.

Mouse Action
Click a note Select it and show it in the preview
Click it again Open it in its own tab
Scroll Zoom out and in
Drag Move around the map

Zoomed out, the map also shows the links of those notes, and theirs, up to four steps away. The title shows how many steps and notes are on the map.

The buttons along the bottom do the rest:

Button Action
− / + Zoom out / in
centre Put the selected note in the middle of the map
back Return to the note you centred on before
reset Put the map back after dragging it

Buttons that can’t do anything right now are greyed out. Opening the graph again from another note starts afresh from that note.

The graph picks up links as you type them in other tabs, before you save. Links in notes that aren’t open are read from disk.