Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Mermaid Node EditorNew to Visual Studio Code? Get it now.
Mermaid Node Editor

Mermaid Node Editor

Saadman Sakib

|
3 installs
| (0) | Free
A sidebar editor for Mermaid flowchart nodes — rename an ID and every edge updates with it.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Mermaid Node Editor

A sidebar editor for Mermaid flowchart nodes. Click into a diagram and a searchable panel lists its nodes; change a node's label or ID and it's written straight back to your file. Renaming an ID also updates every edge that references it — from the panel or with F2 — so there's no find-and-replace. Jump to a tag's definition, find all its references, and get a warning when the same id names two different elements.

Renaming a node's ID in the sidebar updates every edge that references it

Features

  • A dedicated Activity Bar panel: a searchable, master-detail node list that scales to large diagrams
  • Edit node labels and IDs; renaming an ID updates all of its edges
  • Rename from the editor too — F2 / Rename Symbol on a tag (same edge propagation)
  • Go to Definition (F12) and Find All References (Shift+F12) on any tag
  • Duplicate-tag warnings — a squiggle + Problems entry when one id names two different elements
  • Selection sync: your cursor in the source highlights the matching node, and clicking a node reveals it in the source
  • Edit subgraph titles; see each node's incoming and outgoing connections
  • Works in .mmd / .mermaid files and ```mermaid blocks in Markdown
  • Follows your VS Code theme

Flowcharts only (graph / flowchart). Other diagram types show an "unsupported" notice.

Install

Install from the VS Code Marketplace, or from the command line:

code --install-extension SS-inkwright.mermaid-node-editor

Usage

Open a .mmd file, or a Markdown file with a ```mermaid block, and put your cursor inside the diagram. Click the Mermaid Node Editor icon in the Activity Bar (or run Mermaid: Open Node Editor from the Command Palette). Click a node row to expand its editor, filter the list with the search box, and click away to apply an edit.

In the source itself, any tag also supports the standard editor gestures: Go to Definition (F12), Find All References (Shift+F12), and Rename Symbol (F2, which propagates to every edge).

Supported shapes

A[rect], A(round), A([stadium]), A[[subroutine]], A[(database)], A((circle)), A{decision}, A{{hexagon}}, A>flag]. The shape and any quotes around a label are preserved when you edit it.

Known limitations

  • Flowcharts only — other diagram types show an "unsupported" notice.
  • Subgraph IDs are read-only — edit the title instead (an F2 rename of a subgraph id is declined).
  • A dash-delimited edge label (A -- text --> B) may add a spurious entry to a node's read-only connection list; the pipe form (A -->|text| B) is handled correctly.
  • A direction statement sharing one line with an edge via ; (e.g. direction TD; A --> TD) is not tag-navigated or renamed on that line.

Release notes

See the changelog.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft