umple-diagram-generator
Installation
SKILL.md
Umple Diagram Generator
Supported diagram types
| Type | language value |
Read first |
|---|---|---|
| Class diagram | classDiagram |
references/class-diagram-syntax.md |
| State machine | stateDiagram |
references/state-machine-syntax.md |
| ER diagram | entityRelationshipDiagram |
references/class-diagram-syntax.md |
| Trait diagram | traitDiagram |
references/class-diagram-syntax.md |
Workflow
- Read the syntax reference for the requested diagram type.
- Write valid Umple code.
- Call the Umple Online API (see below).
- Extract SVG from the response and save to a
.svgfile. - On error, read the message, fix the code, retry (up to 3 times).
- Render the SVG inline for the user.