drawio-core-xml-format

Official

Draw.io XML diagram formatting and integrity.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill teaches the complete mxGraph XML format used by Draw.io (.drawio) files. It enables correct programmatic generation, reading, and modification of diagrams.

Core Features & Use Cases

  • Uncompressed XML generation: ALWAYS generate uncompressed XML to ensure AI readability and renderer compatibility.
  • Correct hierarchical structure: mxfile/diagram/mxGraphModel/root with mandatory root cells id="0" and id="1".
  • Vertex/Edge correctness and geometry: proper mxCell attributes, vertex/edge flags, and as="geometry".
  • Validation and examples: provides references to anti-patterns and working examples.

Quick Start

Start by composing an uncompressed mxGraph XML page using the mxfile>diagram>mxGraphModel>root structure and valid mxCell elements as shown in the examples.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: drawio-core-xml-format
Download link: https://github.com/OpenAEC-Foundation/Draw.io-Claude-Skill-Package/archive/main.zip#drawio-core-xml-format

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.