基本的例子
序列-> 用于繪制兩個參與者之間的信息。參與者不必明確聲明。
要有一個點狀的箭頭,就用-->
也可以用<- 和<-- 。這不會改變繪圖,但可能提高可讀性。注意,這只適用于順序圖,其他圖的規則不同。
plantuml @startuml !include https://f.umlcn.com/c4.puml
Alice -> Bob: Authentication Request Bob --> Alice: Authentication Response
Alice -> Bob: Another authentication Request Alice <-- Bob: Another authentication Response @enduml
https://umlcn.com
本文由博客一文多發平臺 OpenWrite 發布!