Sunday, 12 March 2023

PlantUML: customize padding using skinparam

Following statements can be used to customize the padding for participant, box.

skinparam ParticipantPadding 25
skinparam BoxPadding 15

 

paddingDemo.txt

@startuml

skinparam ParticipantPadding 25
skinparam BoxPadding 15

' 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