PlantUML is a highly versatile tool that facilitates the rapid and straightforward creation of a wide array of diagrams.
Utilizing a simple and intuitive language, users can effortlessly draft various types of diagrams.
For a detailed exploration of the language's capabilities and syntax, please refer to the
PlantUML Language Reference Guide.
If you are new to PlantUML, we recommend starting with our
quick start page to get up
and running quickly. Should you have any questions, our
F.A.Q. page is a valuable resource.
Additionally, PlantUML can be seamlessly integrated with
a variety of other tools to enhance your workflow.
With PlantUML, you can create well-structured UML diagrams, including but not limited to:
Beyond traditional UML diagrams, PlantUML also supports the creation of various other diagram types, such as:
Enhance the dynamism and informativeness of your diagrams with these additional features:
PlantUML allows you to generate diagrams from various source input formats:
You can choose from different internal encodings:
PlantUML allows you to use several different
layout engines:
- Graphviz is the default engine. Relies on an external program;
- Smetana. (Use
!pragma layout smetana
in the file or -Playout=smetana
on the command-line.) A port of Graphviz to Java. Tends to make slightly straighter arrows;
- VizJs uses JavaScript. (Use
-graphvizdot vizjs
on the command line.) Tends to space out nodes more, resulting in a bigger diagram;
- ELK (Eclipse Layout Kernel). (Use
!pragma layout elk
in the file or -Playout=elk
on the command-line.) Supports only orthogonal layout, and doesn't cover all features.
Sequence diagrams have 2 engines:
- Puma is the older and still default engine;
- Teoz (Use
!pragma teoz true
in the file or -Pteoz=true
on the command-line) is a new engine that has some unique features: anchors (named arrows/messages), duration, nested boxes...
Achieving good layout with PlantUML is sometimes non-trivial.
See PlantUML GraphViz Layout by Mark George at University of Otago for more advice.
Export your diagrams in a variety of formats to suit your needs, including:
Get started today and elevate your diagramming capabilities with
PlantUML. Transform your ideas into clear and professional diagrams effortlessly 🎉!
Example: (You can edit the text if you want, the diagram will be dynamically updated!)
|
describes the following diagram :
|
|
|
This example is working thanks to the online demo server.