Monday, 20 February 2023

PlantUML: Create a participant

‘create’ keyword specify the fact that this message is actually creating this new object. Use ‘create’ keyword just before the first receiption of message.

 

createParticipant.txt

@startuml

sys1 -> sys2: M1

create sys3
sys1 -> sys3: M2

sys1 -> sys4: M3

create sys5
sys1 -> sys5: M4

@enduml

 

Above snippet generates below diagram.


 
 

Previous                                                    Next                                                    Home

No comments:

Post a Comment