<<stereotype>> is not displayed when component has nested one

0 votes
asked Mar 2, 2016 in bug by habdank (750 points)

Dears,

Why stereotype name is not visible, when component is defined with "{}" and something internally?

 

@startuml

component "CMP1" as C1 <<stereotype>> {

database "DB"

}

component "CMP2" as C2 <<stereotype>> {

'database "DB"

}

@enduml

 

Best regards,

Seweryn.

1 Answer

+1 vote
answered Mar 4, 2016 by plantuml (131,770 points)
Thanks for your tests and the feedback.

This should be fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Regards,
commented Mar 7, 2016 by habdank (750 points)
Beta code verified by using:

@startuml

component "CMP1" as C1 <<stereotype>> {

database "DB"

}

component "CMP2" as C2 <<stereotype>> {

'database "DB"

}

component "CMP3" as C3 <<stereotype>>

@enduml

Works. Thanks!
...