drawio

Generate and export .drawio diagrams to PNG, SVG, or PDF.

41|11|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/cilangzzz/software-dev-ai-workflow --skill drawio-cilangzzz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawio
Source: https://github.com/cilangzzz/software-dev-ai-workflow/tree/main/0.0-%E9%80%9A%E7%94%A8skill/tool-Draw.io/drawio
Command: npx skills add https://github.com/cilangzzz/software-dev-ai-workflow --skill drawio-cilangzzz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires drawio-cli, and includes scripts (resource) components.

What problem does it solve?

This Skill helps users generate and export draw.io diagrams directly from the command line, simplifying the process of creating and sharing technical diagrams.

Core Features & Use Cases

  • Diagram Generation: Create diagrams in .drawio format and optionally export to PNG, SVG, or PDF with embedded XML.
  • Export Formats: Support for PNG, SVG, PDF, and optional image formats with embedded diagram XML.
  • Use Case: Ideal for engineers and technical professionals needing to quickly visualize complex systems or processes in a format that can be easily shared or edited.

Quick Start

To create a diagram and export it as a PNG, use the following command: drawio create a diagram --format png.

Frequently Asked Questions about drawio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I export draw.io diagrams to PNG, SVG, or PDF from the command line?

You can generate diagrams in .drawio format and export them to PNG, SVG, or PDF with embedded XML directly from the command line. This simplifies the process of creating and sharing technical diagrams for engineers.

Do I need draw.io CLI installed to generate and export technical diagrams?

Yes, the draw.io CLI is required as a dependency for diagram creation and export functionalities. The Skill relies on this command line interface to generate and export technical diagrams.

What is the best way to create technical documentation diagrams for complex systems?

Generating .drawio files is an effective way to visualize complex systems or processes for technical documentation. This approach allows engineers to quickly create and export technical diagrams in formats that can be easily shared or edited.

Can I embed XML into exported diagram formats like PNG or SVG?

Yes, when exporting diagrams to PNG, SVG, or PDF, the Skill supports optional image formats with embedded diagram XML. This allows the exported files to contain the underlying diagram structure for later editing.

How does command line diagram generation work for technical professionals?

Command line diagram generation works by creating .drawio files and exporting them to various formats without needing a graphical interface. It helps technical professionals quickly visualize complex systems or processes and share them easily.