everything-drawio-mind is a powerful Draw.io graph processing pipeline that converts AI-generated content into professional, structured, and directly publishable Draw.io graph format.
This project automates the transformation from raw AI output to visual XML documents that can be directly opened and previewed in draw.io, suitable for report generation, document organization, and content publishing.
- Intelligent Logic Organization: Reorganizes unstructured text into clear hierarchy and logically rigorous structure
- Format Conversion: Converts logically organized content into standard Draw.io XML format with correct tag semantics
- Visual Beautification: Applies professional styling, color schemes, and visual effects to create beautiful diagrams
- Position Adjustment: Automatically adjusts element positions to ensure beautiful layout and avoid interference
- Multi-format Support: Supports various diagram types including flowcharts, organization charts, UML diagrams, and more
The pipeline consists of four coordinated sub-skills:
- logic-organizer: Content logic organization expert
- drawio-format-adapter: Draw.io XML format adapter
- drawio-xml-beautifier: Draw.io XML chart beautification guide
- drawio-position-adjuster: Element position adjustment specialist
- Node.js (>= 14.x)
- Python (>= 3.8)
- draw.io or diagrams.net for viewing generated graphs
- libxml2-utils for XML validation (optional but recommended)
# Clone the repository
git clone https://github.com/smith-source/everything-drawio-mind.git
mv everything-drawio-mind ~/.claude/skills/For XML format validation, install xmllint:
# Check if xmllint is installed (automated)
bash sub-skills/drawio-format-adapter/scripts/check_format.sh
# Or manually install
sudo apt-get install libxml2-utilsUse the everything-drawio-mind skill to convert content to Draw.io graphs:
# Invoke the skill
/everything-drawio-mind your_question- Input Analysis: Analyze the type and structure of your content
- Logic Organization: Organize content into clear hierarchy
- Format Conversion: Convert to standard XML format
- Beautification: Apply visual styling and effects
- Position Adjustment: Optimize layout and element positions
- Output Delivery: Receive complete XML files
- Original Agent output text (any format)
- Target document type (optional): report/manual/guide/presentation
- Style preference (optional): business/academic/simple/lively
The final output is a .xml file containing:
- Semantic tag structure
- Embedded style definitions
- Responsive layout support
Here are some examples of diagrams generated by everything-drawio-mind:
everything-drawio-mind/
├── sub-skills/
│ ├── logic-organizer/
│ │ └── SKILL.md
│ ├── drawio-format-adapter/
│ │ ├── SKILL.md
│ │ └── scripts/
│ │ └── check_format.sh
│ ├── drawio-xml-beautifier/
│ │ └── SKILL.md
│ ├── drawio-position-adjuster/
│ │ └── SKILL.md
│ └── reference/
│ ├── xml-reference.md
│ ├── mermaid-reference.md
│ ├── style-reference.md
│ └── mxfile.xsd
├── SKILL.md
├── README.md
└── README.zh.md
Comprehensive documentation is available in each sub-skill:
- Logic Organizer - Content organization principles
- Format Adapter - XML format specifications
- XML Beautifier - Style and beautification guide
- Position Adjuster - Layout and positioning strategies
| Diagram Type | Layout Style | Recommended Direction |
|---|---|---|
| Flowchart | Hierarchical Layout | Top-down |
| Organization Chart | Tree Layout | Top-down |
| Class Diagram | Grid Layout | Top-down or left-to-right |
| State Diagram | Circular Layout | Circular direction |
| Sequence Diagram | Horizontal Layout | Left-to-right |
| Architecture Diagram | Layered Layout | Top-down |
- Input Quality: Provide clear, well-structured input content for best results
- Style Consistency: Choose a consistent style throughout your document
- Element Spacing: Ensure adequate spacing between elements for readability
- Text Containment: Ensure all text is fully contained within element boundaries
- Connection Logic: Maintain logical connection relationships between elements
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
For support, please open an issue on GitHub or contact the maintainers.
- draw.io / diagrams.net for providing an excellent diagramming platform
- The open-source community for inspiration and contributions

