Friday, 13 January 2023

PlantUML: draw a box around some participants

Using box, end box commands we can draw a box around some participants.

 

boxAroundParticipants.txt

@startuml

' Participants definition
actor client #green

box Internal Service #gold
participant server #445566
database database as db1 #00FFFF
end box

client -> server : Submit the job
server -> database: Request the job configuration
database -> server: Send job configuration
server -> client: Send job execution status

@enduml

 

Above snippet generate below diagram.

 


Previous                                                    Next                                                    Home

No comments:

Post a Comment