Rendering error on component diagram require/provide interface connection

+1 vote
asked Feb 11 in Bug by Anthony-Gaudino (7,760 points)

The minimal example bellow shows a rendering error between a require interface and a provided interface connections:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuKf9B4bCIYnELL1opizBoqmlBKeioSpFKr98B5P8X0Yv975nSMbeAYW55nIb9gR4v2LZg8I8SC4rAEZ2XBYueY62CNb1gScfcMMfHR4W7KLGZY5G1PojeAi1q-UGcfS2T1y0

As you can see there's a straight line between the interface and the interface require, it looks like this -(-O instead of the correct -(O

Changing order of declaration of nodes, edges may fix this, but still this shouldn't be happening.

commented Apr 17 by F. Deryck
This problem is also really annoying me and is not limited to a continuation of the straight line. Just try to add some text on the line and it is even worse.

@startuml
component X
interface A
interface B
interface C
interface D
X -left-( A: xxx
X -up-( B: xxx
X -right-( C: xxx
X -down-( D: xxx
@enduml

http://www.plantuml.com/plantuml/png/SoWkIImgAStDuKhEpot8pqlDAr68uChCAqajIajCJbLmH68x8R6TaTWkN14AkZcfQIMw6WgELWeL5HKWWT828DS9pYtAJCy0AN26YwJab-S11LmW0WwfUIb0Pm00

Could we have a fix for that rendering problem? It was perfectly working some years ago, but as I want to use new PlantUML features, I updated the version I was using and see now regressions.

Best regards.
commented Apr 17 by plantuml (183,480 points)
Ok, thanks for the report.
This should be fixed in last beta http://beta.plantuml.net/plantuml.jar
Tell us if it's not working for you!
commented Apr 20 by F. Deryck
This is fixing the problem. Thank you.
However, I can now see some overlap of the interface text on the other objects. See example below. "xxxxxxxxxxxxxxxxxxxxxx" is now overlapping the component boxes.

@startuml
component "Component\nA" as A
component "Component\nB" as B
interface "xxxxxxxxxxxxxxxxxxxxxx" as X
A -right-( X
B -left-() X
@enduml

Is it a known evolution or should this also be fixed?

Best regards.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...