Horizontal line bug in WBS styling

0 votes
asked Feb 14, 2022 in Bug by anonymous

The creole syntax for horizontal lines doesn't work correctly when used with the new beta styles for WBS diagrams: the lines are indented to the right and extend beyond the node boundaries. That's true for all types of horizontal line.

For an example see:


If you comment out the procedure call, you'll see the horizontal lines display okay.

If it's not possible to combine creole + beta style, is there a way to achieve a similar result with just the beta styles?

Many thanks!
commented Feb 14, 2022 by The-Lu (65,440 points)

Hello all,

It seems to be due to:

HorizontalAlignment center

Compare, with:

or without:

If that can help for debugging...

commented Feb 14, 2022 by anonymous

I think it's related to MinimumWidth as if that's commented-out, the horizontal lines render okay – even if centred.

1 Answer

+1 vote
answered Feb 14, 2022 by plantuml (295,000 points)

Thanks for the report.

This is indeed a bug, which has just been fixed on the online server.

commented Feb 15, 2022 by anonymous
Many thanks for picking this up. Is the horizontal alignment working okay? It looks like the text below the lines is left-aligned, rather than centred?
commented Nov 16, 2022 by anonymous

Hi @The-Lu,

This has been fixed via "Center-aligned text not in the middle of a node".