Please provide a skinparam to set a padding in pixels between participants and boxes on sequence diagrams

0 votes
asked Feb 16, 2017 in Closed feature request by anonymous

I'd like to specify a "padding" in pixels between participants and boxes, e.g.

@startuml
skinparam ParticipantPadding 10
skinparam BoxPadding 20

box "B"
participant Alice
end box

Alice -> Bob : hello
@enduml

1 Answer

0 votes
answered Feb 16, 2017 by plantuml (160,280 points)
selected Mar 23 by Anthony-Gaudino
 
Best answer

Thanks for the suggestion.

We like the idea of adding padding option, so here is a new beta:
https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

This beta works with the following diagram:

@startuml
skinparam ParticipantPadding 10
skinparam BoxPadding 20

box "B"
participant Alice
end box

Alice -> Bob : hello
@enduml

This kind of modification is quite easy to do (when you are used to PlantUML code...), so we did it directly.
The setting can be set in pixel only (which is consistent other values).

Other padding settings may be implemented on demand, so please ask!

Regards

commented Feb 20, 2017 by anonymous
The final solution works perfectly !
Cheers ... Helmut
...