How to increase size of rectangle box

0 votes
asked Aug 9, 2024 in Question / help by a
Hello,

Without using scale i want increase my rectangle box size. How can i increase width and height of rectangle box?

Thank you

1 Answer

0 votes
answered Aug 9, 2024 by The-Lu (79,040 points)

Hello A.,

For 'width' you can use style as:

<style>
rectangle {
  MinimumWidth 100
  Fontcolor green
  HorizontalAlignment center
}
</style>

rectangle r1
rectangle r2

And for height use extra newline...

<style>
rectangle {
  MinimumWidth 100
  Fontcolor green
  HorizontalAlignment center
}
</style>

rectangle "\n\n\nr1\n\n\n"
rectangle "\n\n\nr2\n\n\n"

See also similar requests:

If that can help,
Regards,
Th.

commented Aug 26, 2024 by anonymous
Please help me how to create plantuml for above image
...