PlantUML アクティビティ図の新しい構文は、
- Graphviz に依存しない。
- メンテナンス性が良い?
新しい構文は、start, end , stop で開始、終端を記述する。
@startuml start title 新しい構文 end title :処理A; :処理B; if (条件1) then (Yes) :処理C; else (No) :処理D; endif :処理E; end @enduml
レガシー構文
@startuml title レガシー構文 end title (*) --> "処理A" "処理A" -> "処理B" if "条件1" then -->[Yes] "処理C" --> "処理E" else -->[No] "処理D" --> "処理E" endif --> (*) @enduml