Overview
Prerequisites
- Install JDK
- Download Plantuml jar file
How to generate files
In this page, dir structure is below.
~/.local/bin/
java <-- symbolic link of the java command
lib/
plantuml/
plantuml.jar
~/<path to dir>/example.pml
Example file: example.pml is this
@startuml
:User: --> (Use)
"Main Admin" as Admin
"Use the application" as (Use)
Admin --> (Admin the application)
@enduml
Run java command with jar argument based on ther plantuml jar argument options
java -jar ~/.local/lib/plantuml/plantuml.jar example.pml
Tips
Sequence Diagram
sequence.pml@plantuml
@end
Command
java -jar plantuml.jar --theme cyborg sequence.pml
Diagram
Ativity
sequence.pml@plantuml
@end
Command
java -jar plantuml.jar --theme cyborg sequence.pml
Diagram
Component
sequence.pml@plantuml
@end
Command
java -jar plantuml.jar --theme cyborg sequence.pml
Diagram
Json
data.json@plantuml
@end
Command
java -jar plantuml.jar --theme cyborg sequence.pml
Diagram