diagram-generator

Generate and edit drawio, Mermaid, and Excalidraw diagrams from plain-text descriptions.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/ViewWay/openclaw-skills --skill diagram-generator-viewway
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: diagram-generator
Source: https://github.com/ViewWay/openclaw-skills/tree/main/diagram-generator
Command: npx skills add https://github.com/ViewWay/openclaw-skills --skill diagram-generator-viewway

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Diagram generation and editing across formats (drawio, Mermaid, and Excalidraw) reduces manual effort when creating technical diagrams such as flowcharts, network topologies, and architecture diagrams.

Core Features & Use Cases

  • Generate and edit diagrams across multiple formats (drawio, mermaid, excalidraw).
  • Supports common diagram types: flowcharts, sequence diagrams, class diagrams, ER diagrams, mind maps, architecture diagrams, and network topologies.
  • MCP server integration to generate files with consistent formatting.
  • Automated configuration: default output path is diagrams/{format}/, with optional custom paths.
  • Use case: auto-generate production-ready diagrams from text descriptions for documentation and design reviews.

Quick Start

Describe your diagram in plain text and have the skill generate it and save to the default diagrams directory.

Frequently Asked Questions about diagram-generator

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

FAQPage Schema
How do I generate a flowchart from plain text?

You can generate diagrams from plain text by providing a text description of your flowchart, sequence diagram, or architecture. The skill processes the text and outputs production-ready files to a default diagrams directory.

Can I create Excalidraw and drawio diagrams automatically?

Yes, you can create Excalidraw and drawio diagrams automatically from text descriptions. The skill supports multiple formats including drawio, mermaid, and excalidraw for generating technical diagrams.

What diagram types are supported by text-to-diagram automation?

Supported diagram types include flowcharts, sequence diagrams, class diagrams, ER diagrams, mind maps, architecture diagrams, and network topologies. All can be generated from plain-text descriptions.

Does the diagram generator require an MCP server?

Yes, the diagram generator requires an MCP diagram generator server. It delegates file creation to this server to ensure consistent formatting across drawio, mermaid, and excalidraw outputs.

How do I edit an existing Mermaid diagram?

To edit an existing Mermaid diagram, provide a plain-text description of the desired changes. The skill processes the modification and regenerates the updated diagram file.

Where are generated diagram files saved by default?

Generated diagram files are saved to a default diagrams/{format}/ directory based on the output format. You can also specify optional custom paths for saving results.