Possible bug with relation in rectangle? (screenshot)

0 votes
asked May 20, 2016 in bug by junkw (160 points)

Hi

Only a small modification to code cause 2 rectangles to become too large.

Bug or I wrote wrong code?

 

Code in text :

 

newpage


title OK

left to right direction

scale 0.7


rectangle one {
    (a)
    (b)
    (a) <.. (b)
}


newpage

title OK

left to right direction

scale 0.7

rectangle one {
    (c)
    (d)
    (c) <.. (d)
}
rectangle two {
    (a)
    (b)
    (a) <.. (b)
}

newpage

title BUG?

left to right direction

scale 0.7

rectangle one {
    (c)
    (d)
    (c) <.. (d)
}
rectangle two {
    (a)
    (b)
    (a) <.. (b): extends
}

1 Answer

0 votes
answered May 20, 2016 by plantuml (134,650 points)

Hello,

This may be related with the version of GraphViz your are using.

Could you check it with :

@startuml
testdot
@enduml

Your example seems indeed to work fine on the online server:

http://plantuml.com/plantuml/uml/AyaioKbLS0frj-VYoabDAr4eoLSeoapFA558oInAJIx9pC_ZuYfEJWGgCj0pv-82YINcfGEv-Ncf2jLS2a2WaQm9eLCqONm56pqzCByMIKT9UJvCHo9KPP8cZ0_HaQHffP1QKPAQbrBCLGi0

commented May 20, 2016 by junkw (160 points)
installing last version (-2.39.20160519.1619) does not fix the problem

Maybe should I downgrade to 2.38.0 ?
commented May 20, 2016 by plantuml (134,650 points)
Yes, I think that this bug occurs with 2.39. So try to downgrade to 2.38
commented May 21, 2016 by junkw (160 points)
Yup, 2.38 fixed this.
Thanks for help, appreciated
...