plantUMLはテキストであの忌々しいUMLを書き表す拡張です。
利用環境一覧
導入法
ブラウザ上での簡易確認
単に動作を確認したいだけであれば、
PlantUMLServer
で動作をみることもできます。
sequence diagram
Father <- MYN : すいません許してください!何でもしますから! Father -> MYN : ん? 今なんでもするって、言ったよね?

use case diagram
@startuml
left to right direction
skinparam packageStyle rect
actor customer
actor clerk
rectangle checkout {
customer -- (checkout)
(checkout) .> (payment) : include
(help) .> (checkout) : extends
(checkout) -- clerk
}
@enduml
class diagram
@startuml
class BaseClass
namespace net.dummy #DDDDDD
.BaseClass <|-- Person
Meeting o-- Person
.BaseClass <|- Meeting
end namespace
namespace net.foo {
net.dummy.Person <|- Person
.BaseClass <|-- Person
net.dummy.Meeting o-- Person
}
BaseClass <|-- net.unused.Person
@enduml
activity diagram
@startuml
(*) --> if "Some Test" then
-->[true] "activity 1"
if "" then
-> "activity 3" as a3
else
if "Other test" then
-left-> "activity 5"
else
--> "activity 6"
endif
endif
else
->[false] "activity 2"
endif
a3 --> if "last test" then
--> "activity 7"
else
-> "activity 8"
endif
@enduml
state diagram
@startuml
scale 350 width
[*] --> NotShooting
state NotShooting {
[*] --> Idle
Idle --> Configuring : EvConfig
Configuring --> Idle : EvConfig
}
state Configuring {
[*] --> NewValueSelection
NewValueSelection --> NewValuePreview : EvNewValue
NewValuePreview --> NewValueSelection : EvNewValueRejected
NewValuePreview --> NewValueSelection : EvNewValueSaved
state NewValuePreview {
State1 -> State2
}
}
@enduml
で、何が嬉しいんです?
- テキストベース
- マルチプラットフォーム
- pdf報告書用と内部wiki用が同一のコードで描ける。
- GUI不要
- 処理高速
- レイヤ構造の意識不要