Hello,
if I add a legend to a sequence diagram and use the teoz layout the legend is too wide and the text/background y-offset does not match
If I deactivate teoz, or draw another diagram type then everything looks ok.
It can be reproduced with following sample
@startuml
!pragma teoz true
' if you remove the comment of following line it looks ok
' !pragma teoz false
c1 -> c2 : call5
' Or if a component diagram is drawn
' [A]->[N]
legend
<#transparent,#transparent>|<color:#000000>**Legend**</color> |
|<#438DD5><color:#3C7FC0> <U+25AF></color> <color:#FFFFFF> container</color> |
|<#85BBF0><color:#78A8D8> <U+25AF></color> <color:#000000> component</color> |
|<#transparent><color:#444444> <U+25AF></color> <color:#444444> container boundary</color> |
endlegend
@enduml
I rendered it
a) locally on my Windows machine (I used plantuml-mit-1.2023.13.jar that I avoided GraphViz problems too).
b) or via docker image plantuml/plantuml-server:jetty.
Thank you and best regards
Helmut
PS.: orig C4 issue