docs / graph
The graph.
:graph, or gr in a note, opens a live canvas of your notes and the links between them. People are rings and tags are rounded squares.
With the mouse
| Action | Does |
|---|---|
| scroll | zoom at the cursor |
| drag the background | pan |
| drag a node | move it; the rest follow |
| hover a node | highlight its neighbourhood |
| click a note | open it |
| click a tag | show its notes |
| double-click a tag | open its tag page |
With the keys
| Key | Does |
|---|---|
| h j k l | pan |
| + / - | zoom in / out |
| 0 | fit everything |
| n / N | step through notes, most linked first |
| ⏎ | open the selected note |
| t | hide or show tags |
Tags as nodes
Every tag is a node. Child tags hang off their parent (#projectlighthouse → #projectlighthouse/api), and each note hangs off every tag it carries, so a note under two tags sits between them. Press t to hide tags and see only links.
People
People are rings. gr on a person shows who and what is within two links of them.
Labels and layout
The most linked notes are labelled from a moderate zoom, and the rest fade in as you zoom closer. Paperkites lays the graph out in the background, when it starts and shortly after you stop writing, so the page opens already settled.