Hello everybody it’s me candle.
In this article, I would like to build a plantUML environment which can make UML easily on Mac.
I have been used starUML for making UML. plantUML seems to be much more useful than that.
You already use brew.
Check java version
I think that java is already installed in your mac pc.
PlantUML can be run with mac default java.
So you launch terminal app and check the java version with the below command.
Probably it can be work in java version around 1.8.x .
graphviz is a graph creation tool.
It is useful when writing graphs mainly handling nodes and lines.
plantUML also use it when draw a graph. let’s install it.
brew install graphviz
Since plantUML also exsist in brew packages, you can install it easily.
brew install plantuml
After installation, you would type plantuml -v
Let’s draw a UML.
Create uml file in a temporary folder.
Open the hell.uml with your favorite editor and write it.
@startuml Bob -> Alice : hello @enduml
Run this command on terminal.
Then a png image file is created.
See the hello.png.
UML is drawn successfully.
UML is a really useful tool to carry out projects smoothly.