Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Rendering of several stereotypes is different for classes and objects

0 votes

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...

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

1 Answer

+1 vote
 
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,
answered Sep 28, 2016 by plantuml (124,290 points)
selected Sep 29, 2016 by JohannesMeier
Thanks for the fast fix: Works for me.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...