Provide minWidth & minHeight for any element (Actor, Node, Component etc..)

+3 votes
asked Aug 31, 2018 in Wanted features by Tony
Hello there,

Like minClassWidth, is it possible to have a more general minWidth (and potentially minHeight) for other elements?

It will help having consistent shapes for elements that do not have enough content.

If the content doesn't fit, it can stretch.

How realistic is this?

Thanks,

Tony
commented Jan 23, 2025 by Aede (100 points)

Perhaps a bit late to the party, but MinimumWidth works at least for rectangles. I can't seem to find an equivalent to set the minimum height though. In any case MinimumHeight does not appear to work (for me).

Any pointers? Anyone?

1 Answer

0 votes
answered Jan 18, 2023 by kirchsth (7,760 points)
I didn't test it but based on https://forum.plantuml.net/17215/allow-maximumwidth-and-minimumwidth-all-styles-for-diagrams it should be possible to define the width limits

BR Helmut
...