在Ubuntu上安装PlantUML到Intellij
环境
OSVersionUbuntu20.04 LTS
插件
请在Intellij中,从插件市场中安装PlantUML-integration插件。
公式
シーケンス図、アクティビティ図以外も作りたい場合、Graphvizをインストール
Graphvizをインストール
apt install -y --no-install-recommends graphviz graphviz-dev
在Intellij中,转到其他设置,找到Graphviz dot可执行文件选项,并将其设置为”/usr/bin/dot”。

動作例(ステート図)
@startuml
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string
State1 -> State2
State2 --> [*]
@enduml
