Using hide stereotype overrides database stereotype customisation

0 votes
asked Jun 23, 2020 in Bug by Brian (120 points)

Goal To show new/changed components with a red outline by adding and customising the stereotype.

  • Expected: All stereotyped objects with custom colours retain when stereotypes hidden
  • Observed: Stereotyped Database objects loose custom colouring when stereotypes hidden
@startuml Hide Behaviour

hide footbox
'hide << new >> stereotype

skinparam database {
    BorderColor<< new >> red
    BorderColor black
    BackgroundColor white
}

skinparam participant {
    BorderColor black
    BackgroundColor white
    BorderColor<< new >> red
}

actor User 
participant SystemName
participant SystemNameChanged<< new >>
database DBName
database DBNameChanged<< new >>

User -> SystemName
activate SystemName
SystemName -> DBName
SystemName -> SystemNameChanged
activate SystemNameChanged
SystemNameChanged-> DBNameChanged

@enduml

Gives red outline on SystemNameChanged and DBNameChanged:

Unhidden

Uncommenting the hide statement gives black outline on DBNameChanged, but SystemNameChanged is OK.

hidden

1 Answer

+2 votes
answered May 3 by kirchsth (6,660 points)

Hi all,

looks fixed in the meantime



BR Helmut

...