環境
OS | Version |
---|---|
Ubuntu | 20.04 LTS |
Plugin
Intellijにて、PluginsのMarketplaceからPlantUML-integrationをインストール
公式
シーケンス図、アクティビティ図以外も作りたい場合、Graphvizをインストール
Graphvizをインストール
apt install -y --no-install-recommends graphviz graphviz-dev
Intellij->OtherSettings->Graphviz dot executableに「/usr/bin/dot」を設定
動作例(ステート図)
@startuml
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string
State1 -> State2
State2 --> [*]
@enduml