How and where diagrams can be written
@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
It is possible to use a different file name for the
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.)