Keybinding Note: This extension uses Emacs-style keybindings where Ctrl is used on all platforms (not Cmd on Mac), except where explicitly noted.

✅ Understanding the Graph

✅ Nodes

Each node in the graph represents a file:

  • Center node - The starting file, highlighted in a distinct color

  • Connected nodes - Files that link to or from the center file

  • Node size - Larger nodes have more connections

✅ Edges

Edges (lines) represent links between files:

  • Direction - Arrows show link direction (source → target)

  • Bidirectional - Some file pairs may have links in both directions

✅ Node Tooltips

Hover over a node to see information about the file:

  • File name and path

  • File type (org, markdown)

  • Number of headings

  • Number of TODO items

  • Tags present in the file

  • Modification time

✅ Interacting with the Graph

Click

  • Single click - Opens the file in the editor

Double-click

  • Double-click - Recenters the graph on that file

Drag

  • Drag nodes - Move nodes around to arrange the layout

  • Nodes stay where you place them until you recenter

✅ Graph Controls

✅ Depth

Controls how many hops away from the center file to include:

DepthDescription
1Only direct connections
2Connections and their connections
3Up to 3 hops away (larger graphs)

Larger depths show more of the network but can become cluttered.

✅ Direction

Controls which types of links to follow:

DirectionDescription
BothShow incoming and outgoing links
OutgoingOnly show files this file links to
IncomingOnly show files that link to this file

✅ Filters

The filter panel allows you to narrow down which links appear in the graph based on various criteria.

✅ File Type Filter

Filter by file extension:

  • org - Org-mode files only

  • md - Markdown files only

Tag Filter

Filter to show only links within headings that have specific tags:

  • Enter comma-separated tags (e.g., project,important)

  • A link appears if its containing heading has ANY of the specified tags

TODO State Filter

Filter links by the TODO state of their containing heading:

  • TODO - Links in headings with TODO state

  • DONE - Links in completed headings

  • WAITING, NEXT, etc. - Other states

Exclude Done Filter

When checked, links in headings with DONE or CANCELLED states are hidden.

Modified After Filter

Show only links in files modified after a certain date:

  • Enter a date in YYYY-MM-DD format

  • Useful for finding recently updated connections

✅ Use Cases

✅ Tracing Topic Chains

Want to follow a chain of related topics?

  1. Open a starting file

  2. Set depth to 2 or 3

  3. Double-click interesting nodes to recenter

  4. Follow the chain of connections

✅ Finding Active Project Connections

Want to see links only in active tasks?

  1. Open a project file

  2. Apply filter: TODO state = "TODO" or "NEXT"

  3. Or check "Exclude done" to hide completed items

  4. See which files are referenced by active work

✅ Recent Modifications Review

Want to see recently updated connections?

  1. Apply "Modified after" filter with a recent date

  2. See which connected files have been recently changed

  3. Useful for reviewing changes in a connected set of notes

✅ Technical Details

✅ Database Tables

The link graph uses the links table in the Scimax database:

ColumnDescription
file_pathSource file containing the link
targetLink target (path, URL, etc.)
link_typeType of link (file, http, cite, etc.)
line_numberLine where link appears
heading_idID of containing heading (for filters)

✅ Visualization Technology

The graph is rendered using vis.js Network in a VS Code webview:

  • Force-directed layout automatically arranges nodes

  • Physics simulation enables smooth dragging

  • SVG rendering for crisp display at any zoom level

✅ Performance

  • Default maximum of 100 nodes to prevent overwhelming graphs

  • Truncation indicator shows when limit is reached

  • Use filters to narrow down large graphs

Navigation