drawio — for Claude Code drawio, community, for Claude Code, ide skills, ## mxCell要素 ### 矩形(Rectangle), ### 角丸矩形(Rounded Rectangle), ### 楕円(Ellipse), ### ひし形(Diamond), ### テキスト(Text Only), ## 矢印・コネクタ ### 基本の矢印

v1.0.0

Über diesen Skill

Geeigneter Einsatz: Perfect for AI Coding Agents needing advanced diagram creation and editing capabilities in XML format. Lokalisierte Zusammenfassung: Create and edit draw.io diagrams in XML format. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Funktionen

Draw.io Diagram Skill
draw.ioファイル(.drawio)をXML形式で直接作成・編集するためのスキル。
<mxfile host="app.diagrams.net" modified="2024-01-01T00:00:00.000Z" agent="Claude" version="21.0.0"
<diagram name="Page-1" id="page-1"
<mxCell id="1" parent="0" /

# Kernthemen

akiojin akiojin
[5]
[0]
Aktualisiert: 4/6/2026

Skill Overview

Start with fit, limitations, and setup before diving into the repository.

Geeigneter Einsatz: Perfect for AI Coding Agents needing advanced diagram creation and editing capabilities in XML format. Lokalisierte Zusammenfassung: Create and edit draw.io diagrams in XML format. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Warum diese Fähigkeit verwenden

Empfehlung: Empowers agents to generate and edit diagrams in XML format, supporting load balancing and automatic model distribution, using draw.io files (.drawio) with features like mxCell elements for shapes and connectors, and mxGeometry for layout control.

Am besten geeignet für

Geeigneter Einsatz: Perfect for AI Coding Agents needing advanced diagram creation and editing capabilities in XML format.

Handlungsfähige Anwendungsfälle for drawio

Anwendungsfall: Creating flowcharts with rectangles and rounded rectangles
Anwendungsfall: Generating diagrams with ellipses and diamonds
Anwendungsfall: Editing existing draw.io files for efficient workflow management

! Sicherheit & Einschränkungen

  • Einschraenkung: Requires XML parsing capabilities
  • Einschraenkung: Limited to draw.io file format (.drawio)

About The Source

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Labs-Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

FAQ und Installationsschritte

These questions and steps mirror the structured data on this page for better search understanding.

? Häufige Fragen

Was ist drawio?

Geeigneter Einsatz: Perfect for AI Coding Agents needing advanced diagram creation and editing capabilities in XML format. Lokalisierte Zusammenfassung: Create and edit draw.io diagrams in XML format. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

Wie installiere ich drawio?

Führen Sie den Befehl aus: npx killer-skills add akiojin/llmlb/drawio. Er funktioniert mit Cursor, Windsurf, VS Code, Claude Code und mehr als 19 weiteren IDEs.

Wofür kann ich drawio verwenden?

Wichtige Einsatzbereiche sind: Anwendungsfall: Creating flowcharts with rectangles and rounded rectangles, Anwendungsfall: Generating diagrams with ellipses and diamonds, Anwendungsfall: Editing existing draw.io files for efficient workflow management.

Welche IDEs sind mit drawio kompatibel?

Dieser Skill ist mit Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer kompatibel. Nutzen Sie die Killer-Skills CLI für eine einheitliche Installation.

Gibt es Einschränkungen bei drawio?

Einschraenkung: Requires XML parsing capabilities. Einschraenkung: Limited to draw.io file format (.drawio).

So installieren Sie den Skill

  1. 1. Terminal öffnen

    Öffnen Sie Ihr Terminal oder die Kommandozeile im Projektverzeichnis.

  2. 2. Installationsbefehl ausführen

    Führen Sie aus: npx killer-skills add akiojin/llmlb/drawio. Die CLI erkennt Ihre IDE oder Ihren Agenten automatisch und richtet den Skill ein.

  3. 3. Skill verwenden

    Der Skill ist jetzt aktiv. Ihr KI-Agent kann drawio sofort im aktuellen Projekt verwenden.

! Source Notes

This page is still useful for installation and source reference. Before using it, compare the fit, limitations, and upstream repository notes above.

Upstream Repository Material

The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.

Upstream Source

drawio

Lokalisierte Zusammenfassung: Create and edit draw.io diagrams in XML format. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

SKILL.md
Readonly
Upstream Repository Material
The section below comes from the upstream repository. Use it as supporting material alongside the fit, use-case, and installation summary on this page.
Upstream Source

Draw.io Diagram Skill

draw.ioファイル(.drawio)をXML形式で直接作成・編集するためのスキル。

XML基本構造

xml
1<mxfile host="app.diagrams.net" modified="2024-01-01T00:00:00.000Z" agent="Claude" version="21.0.0"> 2 <diagram name="Page-1" id="page-1"> 3 <mxGraphModel dx="1000" dy="600" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0" defaultFontFamily="Noto Sans JP"> 4 <root> 5 <mxCell id="0" /> 6 <mxCell id="1" parent="0" /> 7 <!-- 図形要素をここに追加 --> 8 </root> 9 </mxGraphModel> 10 </diagram> 11</mxfile>

mxCell要素

矩形(Rectangle)

xml
1<mxCell id="rect-1" value="ラベル" style="rounded=0;whiteSpace=wrap;html=1;fontFamily=Noto Sans JP;fontSize=18;" vertex="1" parent="1"> 2 <mxGeometry x="100" y="100" width="120" height="60" as="geometry" /> 3</mxCell>

角丸矩形(Rounded Rectangle)

xml
1<mxCell id="rounded-1" value="ラベル" style="rounded=1;whiteSpace=wrap;html=1;fontFamily=Noto Sans JP;fontSize=18;arcSize=20;" vertex="1" parent="1"> 2 <mxGeometry x="100" y="100" width="120" height="60" as="geometry" /> 3</mxCell>

楕円(Ellipse)

xml
1<mxCell id="ellipse-1" value="ラベル" style="ellipse;whiteSpace=wrap;html=1;fontFamily=Noto Sans JP;fontSize=18;" vertex="1" parent="1"> 2 <mxGeometry x="100" y="100" width="120" height="80" as="geometry" /> 3</mxCell>

ひし形(Diamond)

xml
1<mxCell id="diamond-1" value="条件" style="rhombus;whiteSpace=wrap;html=1;fontFamily=Noto Sans JP;fontSize=18;" vertex="1" parent="1"> 2 <mxGeometry x="100" y="100" width="100" height="100" as="geometry" /> 3</mxCell>

テキスト(Text Only)

xml
1<mxCell id="text-1" value="テキスト" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontFamily=Noto Sans JP;fontSize=18;" vertex="1" parent="1"> 2 <mxGeometry x="100" y="100" width="120" height="30" as="geometry" /> 3</mxCell>

矢印・コネクタ

基本の矢印

xml
1<mxCell id="arrow-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Noto Sans JP;fontSize=14;" edge="1" parent="1" source="rect-1" target="rect-2"> 2 <mxGeometry relative="1" as="geometry" /> 3</mxCell>

ラベル付き矢印

xml
1<mxCell id="arrow-2" value="ラベル" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontFamily=Noto Sans JP;fontSize=14;" edge="1" parent="1" source="rect-1" target="rect-2"> 2 <mxGeometry relative="1" as="geometry" /> 3</mxCell>

点線矢印

xml
1<mxCell id="arrow-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;dashed=1;fontFamily=Noto Sans JP;fontSize=14;" edge="1" parent="1" source="rect-1" target="rect-2"> 2 <mxGeometry relative="1" as="geometry" /> 3</mxCell>

スタイル設定ガイド

フォント設定(必須)

  1. mxGraphModeldefaultFontFamily="Noto Sans JP"を設定
  2. すべてのテキスト要素fontFamily=Noto Sans JP;を明示的に追加

推奨設定

項目推奨値説明
fontSize18標準の1.5倍、視認性向上
日本語テキスト幅30-40px/文字レイアウト計算用
矢印とラベル間隔20px以上重なり防止

色設定

fillColor=#ffffff;      # 塗りつぶし色
strokeColor=#000000;    # 枠線色
fontColor=#333333;      # 文字色

よく使う色

用途色コード
白背景#ffffff
薄い青#dae8fc
薄い緑#d5e8d4
薄い黄#fff2cc
薄い赤#f8cecc
薄いグレー#f5f5f5

配置ルール

XMLの記述順 = 描画順

  • 先に書いたものが背面に配置される
  • 矢印は図形より先(XMLの先頭側)に記述して最背面に配置

推奨構造

xml
1<root> 2 <mxCell id="0" /> 3 <mxCell id="1" parent="0" /> 4 5 <!-- 1. 矢印・コネクタ(最背面) --> 6 <mxCell id="arrow-1" ... edge="1" ... /> 7 <mxCell id="arrow-2" ... edge="1" ... /> 8 9 <!-- 2. 図形(中間) --> 10 <mxCell id="rect-1" ... vertex="1" ... /> 11 <mxCell id="rect-2" ... vertex="1" ... /> 12 13 <!-- 3. テキストラベル(最前面) --> 14 <mxCell id="text-1" ... vertex="1" ... /> 15</root>

PNG変換

drawio CLIコマンド

bash
1drawio -x -f png -s 2 -t -o output.png input.drawio
オプション説明
-xエクスポートモード
-f pngPNG形式
-s 22倍スケール(高解像度)
-t透明背景
-o出力ファイル指定

検証チェックリスト

作成後、以下を確認:

  • mxGraphModelにdefaultFontFamilyが設定されているか
  • 全テキスト要素にfontFamilyが明示的に設定されているか
  • fontSizeは18px程度か(視認性)
  • 矢印がXMLの先頭側に配置されているか(最背面)
  • 矢印とラベルの間隔は20px以上か
  • 日本語テキストの幅は十分か(30-40px/文字)
  • PNG出力で視覚確認したか

テンプレート

基本テンプレートは templates/basic.drawio を参照。

Verwandte Fähigkeiten

Looking for an alternative to drawio or another community skill for your workflow? Explore these related open-source skills.

Alle anzeigen

openclaw-release-maintainer

Logo of openclaw
openclaw

Lokalisierte Zusammenfassung: 🦞 # OpenClaw Release Maintainer Use this skill for release and publish-time workflow. It covers ai, assistant, crustacean workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

333.8k
0
Künstliche Intelligenz

widget-generator

Logo of f
f

Lokalisierte Zusammenfassung: Generate customizable widget plugins for the prompts.chat feed system # Widget Generator Skill This skill guides creation of widget plugins for prompts.chat . It covers ai, artificial-intelligence, awesome-list workflows. This AI agent skill supports Claude Code

149.6k
0
Künstliche Intelligenz

flags

Logo of vercel
vercel

Lokalisierte Zusammenfassung: The React Framework # Feature Flags Use this skill when adding or changing framework feature flags in Next.js internals. It covers blog, browser, compiler workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

138.4k
0
Browser

pr-review

Logo of pytorch
pytorch

Lokalisierte Zusammenfassung: Usage Modes No Argument If the user invokes /pr-review with no arguments, do not perform a review . It covers autograd, deep-learning, gpu workflows. This AI agent skill supports Claude Code, Cursor, and Windsurf workflows.

98.6k
0
Entwickler