How to keep level 3 in a horizontal layout?

+1 vote
asked Jan 21, 2022 in Question / help by John
IN WBS level 3 switches from a horizontal stack to vertical.  How can i keep level 3 horizontal?
commented May 3, 2022 by Jas
It would be really helpful if wbs was made it bit more flexible in the rendering direction at each node depth.

At the moment it seems like at depth 1, nodes are aligned horizontally from the parent node, then at depth 2 onwards, they are vertically aligned. With some additional notation you can have two nodes horizontally aligned at depth 2 onwards.

Not sure what causes this limitation, but would be great to fix/improve.
commented May 4, 2022 by plantuml (295,960 points)
> With some additional notation you can have two nodes horizontally aligned at depth 2 onwards.
>
> Not sure what causes this limitation, but would be great to fix/improve.
>

The real cause of this limitation is the syntax: finding a simple and natural syntax is not that easy.

So any suggestion about this syntax is welcome! :-)

1 Answer

0 votes
answered May 3, 2024 by JC
I agree that this would be a nice feature. How about putting it inside the style block?

Something like:

<style>

node {

   levelToFlipToVertical 4

}

</style>

In this example, everything through level 3 would be oriented horizontally, and level 4 and following would be vertical.
...