<-> syntax breaking in component diagram

0 votes
asked Dec 2 in bug by Enzo

Using <-> in a simple component diagram yields weird results. Using the long arrow version <--> or longer does work as intended.

Tested using PlantUML Web Server [PlantUML Server 20130918 / version 1201719]

Example 1 - Basic

For instance, this code :

@startuml
[Component 1] <-> bar_interface
@enduml

results in :

Whereas the long arrow version :

@startuml
[Component 1] <--> bar_interface
@enduml

Works correctly :


Example 2 - with a grouping component

The behavior differs a bit with grouping components.

@startuml
node "foo"
[Component 1] <-> bar_interface
@enduml

Results in :

The long arrow version also works as intended

1 Answer

0 votes
answered 4 days ago by plantuml (135,550 points)
Many thanks for the report.

There are some bugs in GraphViz and PlantUML tries to turn arround those...

This should work better in last beta http://beta.plantuml.net/plantuml.jar

BTW we are looking for someone that could help us to report those bugs to GraphViz team. If you want to help, please send us a mail!
...