Skip to content
| Marketplace
Sign in
Visual Studio Code>Chat>Copilot Draw.ioNew to Visual Studio Code? Get it now.
Copilot Draw.io

Copilot Draw.io

Boyka Chongyang Zhu

|
763 installs
| (0) | Free
Use Copilot to generate draw.io diagrams via natural language
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copilot Draw.io

Generate and edit draw.io diagrams using natural language, powered by GitHub Copilot.

Features

  • Natural Language to Diagram — Describe what you want in plain text, get a draw.io diagram instantly
  • Image to Diagram — Attach a screenshot or image and have it recreated as an editable draw.io diagram
  • Iterative Editing — Refine your diagram through conversation: add nodes, change layouts, update styles
  • Live Preview — Diagrams render in a built-in draw.io WebView panel with full editing support
  • Export — Save diagrams as .drawio or .svg files

Usage

The extension contributes two language model tools that work in agent mode and in the Copilot harness:

Tool Reference Purpose
copilot-drawio_renderDiagram #drawDiagram Render draw.io XML in the preview panel
copilot-drawio_getCurrentDiagram #currentDiagram Read the current diagram (including manual edits)

Just ask for a diagram, or reference the tool explicitly:

#drawDiagram draw a flowchart: user login → auth check → dashboard
#currentDiagram #drawDiagram add a cache between the API gateway and the services

The diagram appears in the preview panel. Edit it there or keep chatting to refine it.

Image Input

Attach an image to your chat message and ask to recreate it:

#drawDiagram recreate this diagram

Requires a vision-capable model (e.g. GPT-4o, Claude).

Changelog

0.3.0

  • Breaking: Removed the @copilot-drawio chat participant. Chat participants are deprecated and not supported in the Copilot harness.
  • Added language model tools #drawDiagram (render diagram) and #currentDiagram (read current diagram), usable in agent mode and the Copilot harness.
  • Migration: replace @copilot-drawio <request> with #drawDiagram <request> in agent mode.

Requirements

  • VS Code 1.99.0+
  • GitHub Copilot Chat extension

License

MIT

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