How to reduce space between WBS Items ?

0 votes
asked May 26 in Question / help by carlheinmostert (200 points)
Hi

The below skiparams dont seem to affect a  WBS.

skinparam nodesep 100
skinparam ranksep 30

Is there another way to achive this?

Many thanks

Carl

1 Answer

0 votes
answered May 26 by The-Lu (4,840 points)

Hello Carl,

You can use Margin and new style feature like:

<style>
wbsDiagram {
    Padding 5
    Margin 5
}
</style>

With this result:


[Click to see on PlantUML server]

Regards,
Th.

commented May 26 by carlheinmostert (200 points)

Hi Th.

Thanks for the quick reply.

The margin seems to create more vertical space, which is great, but it does not change the horizontal spacing.  

http://www.plantuml.com/plantuml/png/XO-n2i8m48RtFCNDMRH3jo95NGeAnGxEPtCqqVHIaXCHyTsDnL7eJNV7zt_mrqamokEIL9NawMcZyhvtE4GSuQKWJul6E1wWdAyZni4nb6lrLjNgbz5mtdPAQpZWdNiBOWcc6AxKI_vgs8LnyYG4dU2DRF268fme4SRUpaJ3JXnwQBxWI2meBZ2q7lc_jrWM5qlcGjN49XV-0000

Any thoughts on how to get the horizontal spacing tuned?

Carl

commented May 27 by albert (2,900 points)
edited May 27 by albert

The only "margin" that is mentioned in the output of the command:

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

is:

PageMargin

@plantuml something to add to the (language output) code I think

...