PlantUML is a versatile tool for creating various diagrams quickly and easily using a simple, intuitive language. It supports UML diagrams like sequence, use case, class, object, activity, component, deployment, state, and timing diagrams. Beyond UML, PlantUML can generate JSON, YAML, EBNF, regex, network, UI mockups, Archimate, SDL, ditaa, Gantt, chronology, MindMap, WBS, IE, and ER diagrams. It offers features like hyperlinks, tooltips, rich text formatting, and mathematical notations. Export diagrams in PNG, SVG, LaTeX, and ASCII art formats.
To use PlantUML in Diagramming AI, switch the diagram language button from "Mermaid" to "PlantUML" in the diagram rendering area.
By switching to the "Code" tab, you can edit PlantUML code. The diagram will be rendered immediately after editing.
The @start...
patterns include the following options. The templates feature in Diagramming AI allows you to select and generate diagrams using AI:
@startuml
... @enduml
- UML Diagrams: Includes sequence diagrams, class diagrams, object diagrams, activity diagrams, use case diagrams, component diagrams, deployment diagrams, state diagrams, timing diagrams, etc.@startgantt
... @endgantt
- Gantt Charts: Used for project management and scheduling.@startmindmap
... @endmindmap
- Mind Maps: Used for organizing ideas and planning.@startwbs
... @endwbs
- Work Breakdown Structure (WBS) Diagrams: Visualize the task structure of a project.@startjson
... @endjson
- JSON Data Visualization: Represent JSON data as diagrams.@startyaml
... @endyaml
- YAML Data Visualization: Represent YAML data as diagrams.@startebnf
... @endebnf
- EBNF Diagrams: Generate diagrams using Extended Backus-Naur Form.@startregex
... @endregex
- Regular Expression Diagrams: Visualize regular expressions.@startsalt
... @endsalt
- UI Mockups: Create user interface mockups.@startmath
... @endmath
, @startlatex
... @endlatex
- Mathematical Diagrams: Use AsciiMath or JLaTeXMath notation for mathematical symbols.In Diagramming AI, you can easily switch between color themes for PlantUML. The following themes are available by default with the corresponding commands.
none
amiga
aws-orange
black-knight
bluegray
blueprint
carbon-gray
cerulean
cerulean-outline
cloudscape-design
crt-amber
crt-green
cyborg
cyborg-outline
hacker
lightgray
mars
materia
materia-outline
metal
mimeograph
minty
mono
plain
reddress-darkblue
reddress-darkgreen
reddress-darkorange
reddress-darkred
reddress-lightblue
reddress-lightgreen
reddress-lightorange
reddress-lightred
sandstone
silver
sketchy
sketchy-outline
spacelab
spacelab-white
superhero
superhero-outline
toy
united
vibrant