1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

PlantUML 備忘録

Posted at

シーケンス図

書き方参考
https://plantuml.com/ja-dark/sequence-diagram

.wsd
' コメント方法
' コメント範囲を選択して [ctrl]+[/]
.wsd
'participant Participant as Foo
'actor       Actor       as Foo1
'boundary    Boundary    as Foo2
'control     Control     as Foo3
'entity      Entity      as Foo4
'database    Database    as Foo5
'collections Collections as Foo6
'queue       Queue       as Foo7


@startuml
title ステージ画面
participant ステージマネージャー
actor ステージ資材
database ステージデータ


ステージマネージャー -> ステージデータ:リクエスト
ステージデータ -> ステージマネージャー:レスポンス

ステージマネージャー -> ステージ資材:スポーン


@enduml

フローチャート

書き方参考
https://plantuml.com/ja-dark/activity-diagram-legacy

.wsd

' (*):開始と終了
' --> "次のフロー名"
' --> [説明] "次のフロー名"

' if文
' (*)  --> "check input"
' If "input is verbose" then
' --> [Yes] "turn on verbosity"
' --> "run command"
' else
' --> "run command"
' Endif
' -->(*)

@startuml
(*) --> "プレーヤーデータ生成"
--> "イベント待機"
if "イベント発生" then
  -->[true]"イベント処理"
    if "HP < 0" then
        -->[true] (*)
    else
        --> [false]"イベント待機"
    endif
else
  --> [false]"イベント待機"
endif

@enduml

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?