This is a personal reference repository for PlantUML, with all the examples in PlantUML Language Reference Guide. Feel free to use it, fork it, or send pull requests to update the examples.
PlantUML is an open source project that allows you to create UML diagrams, by using a simple and intuitive text language. It uses GraphViz software to draw its diagrams. Images can be generated in PNG, in SVG or in LaTeX format.
- PlantUML
- VS Code extension - highly recommended
- PlantUML: 1.2020.18
- GraphViz: 2.38.0
- Language Reference Guide: 1.2019.9
- VS Code extension: 2.13.14
You can find the current guide under "0 Docs" folder.
After installing PlantUML & GraphViz tools, you can test them by creating the diagrams under "0 Docs" folder.
Hello.puml should draw the following diagram:
GraphViz.puml should draw "Installation seems OK. File generation OK" message:
-
To be able draw "Math" formulas (examples under Chapter 13)
- Download the additional JLatexMath support jars from PlantUML website
- Unzip the extra jars into the same directory as plantuml.jar
-
If a
function
has no return value, I had to change it to aprocedure
throughout the examples.
If you have any feedback, feel free to reach me on Twitter or LinkedIn.
This repository is licensed under MIT license.
You are allowed to freely use, modify and distribute this repository for any activity.