Sunday, 15 January 2023

PlantUML: configure response message below the arrow in a sequence diagram

Using the command ‘skinparam responseMessageBelowArrow true’ we can put the response message below the arrow.

 

responseBelowArrow.txt

@startuml

skinparam responseMessageBelowArrow true

p1->p2: Hello
p1<-p2: Hi, How are you
p1->p2: I am fine, thank you

@enduml

 

Above snippet generate below diagram.


 

 

Previous                                                    Next                                                    Home

No comments:

Post a Comment