Skip to main content

PlantUML

PlantUML creates UML and related diagrams from directives and relationships.

Use this type

Use PlantUML for sequence, class, activity, state, component, deployment, and use-case diagrams.

Source format

The source format is PlantUML text. Enter the source in the diagram.zip editor.

Syntax essentials

  • Start the source with @startuml.
  • End the source with @enduml.
  • Declare participants or elements before complex relationships.
  • Use arrows to define relationships or messages.

Example

@startuml
actor Alice
participant Service
Alice -> Service: Create a diagram
Service --> Alice: Return the link
@enduml
Rendered exampleDrag to pan. Use the wheel or controls to zoom.
100%
This view uses the live diagram.zip renderer.

Upstream reference

PlantUML documentation