1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ドア、センサ、ユーザ、Timing Diagram, plantUML

Posted at

PlantUML
一目でわかるPlantUML
https://plantuml.com/ja/

PlantUML を使った UML の描き方
https://plantuml.com/ja/guide

シーケンス図
https://plantuml.com/ja/sequence-diagram

タイミング図
https://plantuml.com/ja/timing-diagram

@startuml
robust "ドア" as DOOR
robust "センサ" as SENSOR
concise "ユーザ" as WU

@0
WU is アイドル
SENSOR is アイドル
DOOR is アイドル

@+100
WU -> SENSOR : センサー圏内に侵入
WU is 待機
SENSOR is 処理中

@+100
SENSOR is 待機
SENSOR -> DOOR@+50 : 処理結果をもとに開く

@+100
DOOR is 処理中

@+100
DOOR is 待機

@+50
DOOR -> SENSOR@+50 : 確認処理 

@+50
SENSOR is 処理中

@+100
SENSOR is 待機
SENSOR -> DOOR@+50 : 処理結果をもとに閉める

@+100
DOOR is 処理中

@+100
DOOR is アイドル

@+50
SENSOR is 処理中

@+100
SENSOR is アイドル
SENSOR -> WU : 終了
WU is アイドル
@enduml

SoWkIImgAStDuIhAJoejBb5GUjpS-RXfaP92Oh62Yxz_44AyQVVZvisFcxQ2fO9T_OA1aidvUScPnQaWNSiUD-zvtBGDB1iUoiNbOC0L7ggGMQm0DErnqnAGiSshkI3wC8H1Dc48SZbe6ng0JT6rWrgeOAK0TmVGlgTp-f-sjJvkNFratzQdhKkX5ZxTr_fivNmagvwsBti-eUt9ZhKm8.png

1
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?