drawio

Generate draw.io diagrams in mxGraphModel XML and export to PNG, SVG, or PDF.

19|14|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/X-School-Academy/skill-pilot --skill drawio-x-school-academy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawio
Source: https://github.com/X-School-Academy/skill-pilot/tree/main/core/skills/third-party/drawio
Command: npx skills add https://github.com/X-School-Academy/skill-pilot --skill drawio-x-school-academy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the creation and export of diagrams, allowing users to generate visual representations of complex information without manual design effort.

Core Features & Use Cases

  • Diagram Generation: Creates diagrams directly from structured data (e.g., XML).
  • Format Export: Exports diagrams to various formats like PNG, SVG, and PDF, with the option to embed the editable diagram data.
  • Use Case: Generate a flowchart for a user login process and export it as an SVG file that can be easily shared and edited later.

Quick Start

Use the drawio skill to create a flowchart for a user login process and save it as a drawio file.

Frequently Asked Questions about drawio

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

FAQPage Schema
How do I automate flowchart creation and export to SVG or PNG?

Automate flowchart creation by generating draw.io diagrams using mxGraphModel XML format and exporting them to PNG, SVG, or PDF via a command-line interface.

Can I export a diagram to PDF and keep it editable for later?

Export a diagram to PDF with optional embedded XML to retain editability. This allows the generated PDF to be shared and later edited without losing the underlying diagram data.

How do I generate a diagram from structured data without manual design?

Generate diagrams directly from structured XML data to create visual representations of complex information. This automated diagram creation removes the need for manual design effort.

Does this diagram generation approach support custom styling for flowchart elements?

The diagram generation process handles various diagram elements and styles within the mxGraphModel XML format. It supports configuring these elements to create customized flowcharts before exporting.

What is the best way to create a user login flowchart and save it as a drawio file?

Create a user login flowchart by using the drawio skill to generate the diagram from structured data and saving it as a drawio file for future reference and editing.