🛠️PlantUML
Also known as Plant UML, PlantUML Diagram, @startuml
A free tool that turns lines of text into UML diagrams. You write it, and it draws it.
Think of it like
It is like a note to a painter. You write what goes where, and the painter makes the picture.
Example
Lucy keeps a PlantUML sequence diagram of the checkout in her team's wiki. When the payment step changes, she edits one line and the picture redraws.
Why it matters
It draws strict UML from text, so the picture can live in Git and change with the code. Big teams use it to keep design pictures up to date.
Definition
Example code
plantuml
@startuml
Emma -> Shop: Place order
Shop -> Bank: Take payment
Bank --> Shop: Paid
Shop --> Emma: Order confirmed
@endumlCommon mistake
Key takeaways
- 1Text in, picture out. Write between @startuml and @enduml.
- 2UML and more. Sequence, class, state, Gantt and more.
- 3Runs on Java. Draws on your machine or a server.