draw-io

Solid

draw.io diagram creation, editing, and review. Use for .drawio XML editing, PNG conversion, layout adjustment, and AWS icon usage.

Web & Frontend 27,705 stars 2858 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# draw.io Diagram Skill ## 1. Basic Rules - Edit only `.drawio` files - Do not directly edit `.drawio.png` files - Use auto-generated `.drawio.png` by pre-commit hook in slides ## 2. Font Settings For diagrams used in Quarto slides, specify `defaultFontFamily` in mxGraphModel tag: ```xml <mxGraphModel defaultFontFamily="Noto Sans JP" ...> ``` Also explicitly specify `fontFamily` in each text element's style attribute: ```xml style="text;html=1;fontSize=27;fontFamily=Noto Sans JP;" ``` ## 3. Conversion Commands See conversion script at [scripts/convert-drawio-to-png.sh](scripts/convert-drawio-to-png.sh). ```sh # Convert all .drawio files mise exec -- pre-commit run --all-files # Convert specific .drawio file mise exec -- pre-commit run convert-drawio-to-png --files assets/my-diagram.drawio # Run script directly (using skill's script) bash ~/.claude/skills/draw-io/scripts/convert-drawio-to-png.sh assets/diagram1.drawio ``` Internal command used: ```sh drawio -x -f png -s 2 -t -o output.drawio.png input.drawio ``` | Option | Description | |--------|-------------| | `-x` | Export mode | | `-f png` | PNG format output | | `-s 2` | 2x scale (high resolution) | | `-t` | Transparent background | | `-o` | Output file path | ## 4. Layout Adjustment ### 4.1. Coordinate Adjustment Steps 1. Open `.drawio` file in text editor (plain XML format) 2. Find `mxCell` for element to adjust (search by `value` attribute for text) 3. Adjust coordinates in `mxGeometry` tag - `x`:...

Details

Author
davila7
Repository
davila7/claude-code-templates
Created
11 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

draw-io

draw.io diagram creation, editing, and review. Use for .drawio XML editing, PNG conversion, layout adjustment, and AWS icon usage.

1,931 Updated 2 months ago
softaworks
Data & Documents Listed

draw-io

Create professional Draw.io (diagrams.net) XML diagrams for architecture, network flows, and system designs. Use when the user asks to create diagrams, architecture diagrams, flow charts, network diagrams, system diagrams, or mentions Draw.io/diagrams.net. Supports AWS/GCP icons, grouping, and custom styling.

0 Updated 4 days ago
alycd
Data & Documents Listed

drawio

Always use when user asks to create, generate, draw, or design a diagram, flowchart, architecture diagram, ER diagram, sequence diagram, class diagram, network diagram, mockup, wireframe, or UI sketch, or mentions draw.io, drawio, drawoi, .drawio files, or diagram export to PNG/SVG/PDF.

0 Updated today
matiaspakua
AI & Automation Solid

draw-io-diagram-generator

Use when creating, editing, or generating draw.io diagram files (.drawio, .drawio.svg, .drawio.png). Covers mxGraph XML authoring, shape libraries, style strings, flowcharts, system architecture, sequence diagrams, ER diagrams, UML class diagrams, network topology, layout strategy, the hediet.vscode-drawio VS Code extension, and the full agent workflow from request to a ready-to-open file.

34,233 Updated today
github
Data & Documents Listed

drawio-architecture

Create professional architecture diagrams, flowcharts, and system diagrams using draw.io MCP tools. Use this skill when the user asks to create architecture diagrams, system designs, data flow diagrams, UML diagrams, or any visual technical documentation. Export diagrams as editable .drawio files that can be opened in browser or draw.io desktop app.

3 Updated today
quant-chiggz