Arrow is starting on a strange side of "file"

0 votes
asked 3 days ago in Question / help by sach

I want to draw an arrow from "file" to "file"

@startuml
file f1{
}
file f2{
}
f1 -ri-> f2
@enduml

This image is drawn as I thought

But, when I add some classes, the arrow is drawn not straight and starting on upper side (not right side) of box.

@startuml
file f1{
class f1hoge
class f1piyo
}
file f2{
class f2hoge
class f2piyo
}
f1 -ri-> f2
@enduml

This phenomenon occurs on not only "file" but also "namespace" and "package".

Is it specification or bug?

How can I draw an arrow from right side of f1 to left side of f2? 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...