Rendering of several stereotypes is different for classes and objects

0 votes
asked Sep 28, 2016 in Closed bug by JohannesMeier (840 points)
recategorized Oct 5, 2016 by JohannesMeier

Hello,

if I add more than one stereotype to classes and objects, they will be rendered differently: The stereotypes of classes are arranged vertically, the stereotypes of objects are arranged horizontally.

 

@startuml
class "Class1" as node1 <<Bar>> <<Foo>>
object "Object1" as node2 <<Bar>> <<Foo>>
@enduml

 

http://plantuml.com/plantuml/uml/Iyv9B2vMK786KOPA2ed52ddvAQc62ZOsJeb5TdP0sYq_tywEApyfApMvH4797qmZL1gXgmG0

 

Is this behaviour as desired or is it a bug? The fact, that the space between the two stereotypes of the object is rendered, points in the direction of a bug...

1 Answer

+1 vote
answered Sep 28, 2016 by plantuml (131,770 points)
selected Sep 29, 2016 by JohannesMeier
 
Best answer
Thanks for your tests and your detailled report.

This has been fixed in last beta

https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Regards,
commented Sep 29, 2016 by JohannesMeier (840 points)
Thanks for the fast fix: Works for me.
...