How and where diagrams can be writtenEach diagram description begins with the keyword
@startumlthen ends with the keyword
You can refer to the PlantUML Language Reference Guide.
Those descriptions may be included into :
- Text files (.txt),
- Html files (.html or .htm),
- Java sources files (.java),
- C/C++ source files (.c, .h, .cpp)
- LaTeX sources files (.tex),
- APT files(.apt)
- Word files(.doc)
Of course, if you use Html, LaTeX, APT or Java/C/C++ files, you should put diagram descriptions into comments.
.png file have the same name as the source file used to generated them (only the extension changes).
An automatic sequence is added if a source file contains several instances of
It is possible to use a different file name for the generated file. For example:
Alice->Bob: Authentication Request
Bob-->Alice: Authentication Response
In this example, the
.png file will be named
(Please note that you should not use this feature with Word integration.)
You can contribute on this page by clicking here