Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Draft CanvasNew to Visual Studio Code? Get it now.
Draft Canvas

Draft Canvas

acltabontabon

|
2 installs
| (0) | Free
Open and edit .draftcanvas diagrams in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Draft Canvas for VS Code

Architecture diagrams that live next to your code.

Open a .draftcanvas file and you're straight in the Draft Canvas editor. Draw, hit ⌘S / Ctrl+S, and the diagram is saved back to that file: plain JSON you can diff, review and commit.

Usage

  • Open a diagram: click any .draftcanvas file in the Explorer.
  • Start a new one: run Draft Canvas: New Diagram from the Command Palette, draw, then save it wherever it belongs (docs/architecture/payments.draftcanvas, say).
  • Save: ⌘S / Ctrl+S, from the canvas or anywhere else. The tab shows unsaved changes like any other file, and closing it asks before throwing them away.

Got diagrams in the browser version? Export them there (Export → Document, editable) and drop the .draftcanvas files into your repo.

To see a diagram's raw JSON, right-click its tab and choose Reopen Editor With… → Text Editor.

What this extension does

It opens .draftcanvas files in the Draft Canvas web app, inside an editor tab. VS Code reads and writes the file; the app draws it. That's it.

  • It doesn't scan your workspace, read other files or upload your source code.
  • It collects no telemetry.
  • The file is handed to the app inside VS Code and never sent anywhere. The app itself makes no network requests with your diagram.

The app is loaded from https://acltabontabon.com/draft-canvas/, so the first open needs a network connection. After that, the app's offline cache usually lets it open without one.

Known limits

  • VS Code shortcuts don't work while the canvas has focus. Keys pressed inside the canvas go to Draft Canvas, so ⌘P, ⌘⇧P and ⌘W do nothing there. ⌘S is passed through. Click the tab title or anywhere outside the canvas first.
  • Copy and paste stay inside Draft Canvas. ⌘C / ⌘V between shapes work, but the "Copy code" button and Paste from the right-click menu can't reach the system clipboard in VS Code.
  • Background images aren't saved in the file. A canvas background image lasts until the tab closes.
  • Desktop VS Code only, for now. Not available on vscode.dev.

About Draft Canvas

A diagramming tool for developers, built for the moment in a meeting when someone needs to draw the architecture instead of just describing it. Services, queues, databases, flows you can present step by step, and sequence diagrams from those flows. Open source, no account.

Links

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