Is there a way to reduce vertical space between two boxes ???

0 votes
asked Nov 27, 2018 in Question / help by Guna
edited Nov 27, 2018

skinparam roundCorner 10
skinparam defaultFontName "Arial"
skinparam sequenceMessageAlign center
skinparam BoxPadding 5

box "AA"
participant "A" as A
end box

box "BB"
participant "B" as B
end box

box "CC"
participant C as C
end box

activate A
activate B
activate C

A -> B: xxxxxxxxxxxxxxxxx

//i want to reduce the space between the group AA and BB
commented Nov 27, 2018 by albert (3,170 points)
Please show in an example where you find the space to large.

1 Answer

0 votes
answered Dec 5, 2018 by mgrol (2,740 points)


the distance of the two boxes is currently defined by the length of your text. The longer the "xxx" comment the farther the distance. To reduce it you need either to incorporate line breaks "xxx\nxxx" or use a narrower font and smaller font size.

Is that something you want to consider or do you have something in mind. If the latter could you please add some more information on how you think it should look like.