Interface name overlaps rectangle border

0 votes
asked Oct 25, 2023 in Bug by anonymous
Hi,

I've encountered this issue many times, and I'm wondering if there is an easy fix for this? As a workaround I can use a rectangle with no border, but that's not always ideal. Does anyone have a simple solution? Thanks!

Here is the code (I tried to include a snapshot of the output, but got told "Maximum length is 8000 characters". Please just run it on the online server):

@startuml
left to right direction

rectangle "TEST" {
[SomeComponent]
() SomeInterface
SomeInterface - SomeComponent
}
@enduml

1 Answer

0 votes
answered Mar 11 by dickmaley (4,120 points)

image

@startuml
left to right direction
rectangle "TEST" {
  [SomeComponent]
  () "SomeInterface" as SomeInterface
  SomeComponent - SomeInterface
}
@enduml

...