UML Tool#
Resources#
- PlantUML Office Site
- Graphviz Office Site
- Install Graphviz for PlantUML
- Download plantuml.jar
- Set "graphviz/bin" path to environment variables.
PlantUML for Notepad++#
Test with Notepad++#
- Create a new txt file with PlantUML commands, like this example called test_uml.txt
@startuml
:Main Admin: as Admin
(Use the application) as (Use)
User -> (Start)
User --> (Use)
Admin ---> (Use)
note right of Admin : This is an example.
note right of (Use)
A note can also
be on several lines
end note
note "This note is connected\nto several objects." as N2
(Start) .. N2
N2 .. (Use)
@enduml
- Then, run PlantUML, using test_uml.txt as input. The output is an image.
java -jar plantuml.jar test_uml.txt
- The result is:
Note
It only is sytax highlighting support for PlantUML user defined language defined for Notepad++, the real program is plantuml.jar.
PlantUML for Android Studio#
- File -> Settings -> Plug -> Browse Repositories
- Then search "plantuml"
- Then install it
Test with Android Studio#
-
File -> New -> UML Use Case -> "test.puml"
-
The result is: