Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>DigraphNew to Visual Studio Code? Get it now.
Digraph

Digraph

arren

|
5 installs
| (1) | Free
Interactive graph of the links between your Markdown notes.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Digraph logo

Digraph

An interactive graph of the links between your Markdown notes, inside VS Code.

Digraph graph view: notes colored by folder, with links as edges

Open any folder of .md files and Digraph draws every note as a node and every link as an edge. Nodes settle under a physics layout. You can drag them, filter them, color them, and click one to open the note. The graph updates as you create, edit, rename or delete notes.

Getting started

  1. Install Digraph from the Extensions view, or run code --install-extension arren.digraph.
  2. Open a folder that contains Markdown notes.
  3. Run Digraph: Open Graph View from the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).

To see only the notes around the file you are editing, open the Digraph icon in the Activity Bar.

Global graph

Digraph: Open Graph View shows every note in the workspace. Click a node to open its note, drag nodes to move them, scroll to zoom, and drag the background to pan. Hovering a node highlights its connections.

Global graph with Engineering MOC hovered and its connections highlighted

Local graph

The Local Graph view in the Digraph sidebar follows the active editor and shows the current note's neighborhood, up to 5 links deep. Digraph: Open Local Graph jumps to it from the Command Palette.

Local graph centered on the note Raft, two links deep

Filters, groups and display

The ⚙ button opens the settings panel. From there you can:

  • filter notes with a search query (syntax below)
  • color notes into groups, each defined by its own query
  • change node size, line width, label fade and arrows
  • tune the center, repel and link forces
  • save the current filters, groups, display and force settings as a named view

Settings panel open with two color groups applied to the graph

Search syntax

Search matches file paths, names and tags. It does not search note contents. Terms separated by spaces must all match.

Query Matches
word notes whose path or name contains word
"phrase" the phrase as one term, spaces included
-word notes that do not match word
path:docs notes whose path contains docs
file:index notes whose name contains index
tag:#idea notes tagged #idea, including #idea/nested
a OR b notes matching a or b

Animate and export

Animate replays your notes in the order they were created. A note's date comes from its frontmatter created or date field, or from the file's creation time if neither is set. Export PNG saves the current view at 2× resolution.

Animate replaying notes appearing in creation order

Supported link syntax

  • Wikilinks: [[note]], [[note|alias]], [[note#heading]]
  • Embeds: ![[embed]]
  • Standard Markdown links to .md files
  • Inline #tags, plus aliases and tags in frontmatter

Links inside code blocks are ignored.

Obsidian vaults

If the workspace contains .obsidian/graph.json, Digraph reads its graph settings as a starting point. Digraph saves its own changes to VS Code workspace state and never writes to .obsidian/.

Link resolution follows Obsidian's rules: notes are matched by file name, case-insensitively, and frontmatter aliases count.

Digraph is not affiliated with Obsidian.

Known limitations

  • Search does not look inside note contents.
  • Two attachments with the same file name in different folders share one node.
  • File creation times are often unreliable, because cloning or copying files resets them. Add created to frontmatter if you need Animate to be accurate.

Feedback

Report bugs and request features in the Q & A tab of the Marketplace page.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft