Message vertical padding

0 votes
asked May 14, 2020 in Question / help by Echirivella (120 points)
Hi,

There is a Message vertical padding to reduce the vertical space between messages?

Kind Regards,

Enrique.
commented May 15, 2020 by albert (3,520 points)
Would be nice to know which version of plantuml you used and have an example where you see the problem.
commented May 17, 2020 by Echirivella (120 points)

Hi Albert,

The version that i am using are basically online webpages, however if this feature can be executed in local one I will donwloaded and executed. The intention is to reduce the padding to be able to "compact" a long diagram.

Here you have an example.

@startuml
skinparam Padding -3

Alice -> Bob: Authentication Request
Bob --> Alice: Authentication Response

Alice -> Bob: Another authentication Request
Alice <-- Bob: another authentication Response
@enduml

Thanks,

Enrique

1 Answer

0 votes
answered May 15, 2020 by albert (3,520 points)

According to the "language list" as provided by:

java -Djava.awt.headless=true -jar plantuml.jar -language

there are the following skinparam regarding padding:

BoxPadding
Padding
ParticipantPadding

Disclaimer: I didn't try them myself as an example is lacking.

commented May 15, 2020 by Echirivella (120 points)
Thank you very much!!! Padding is the option that i was looking!!! However do not accept negative values to reduce a bit the size of the figure :(.

Kind Regards,

Enrique
...