Skinpram not working for database in sequence diagram

0 votes
asked Feb 6 in Bug by Cédric (140 points)

Hello,

The style for database element in q sequence diagram is not working

You can check the problem with this code

@startuml

skinparam sequenceParticipant{
  BackgroundColor #BDBDBD
  BorderColor blue
}
skinparam sequenceDatabase{
  BackgroundColor #BDBDBD
  BorderColor blue
}

skinparam sequenceActor{
  BackgroundColor #BDBDBD
  BorderColor blue
}

participant participant as p
database database as db
database "database 2" as db2 #red 
actor actor as actor

title TestTitle

p -> db
p -> actor
@enduml

1 Answer

0 votes
answered Feb 6 by plantuml (226,800 points)
 
Best answer

Skinparam names have been simplified, sorry about that.

You can use :

@startuml
skinparam participant{
  BackgroundColor #BDBDBD
  BorderColor blue
}
skinparam database{
  BackgroundColor #BDBDBD
  BorderColor blue
}

skinparam actor{
  BackgroundColor #BDBDBD
  BorderColor blue
}

participant participant as p
database database as db
database "database 2" as db2 #red
actor actor as actor

title TestTitle

p -> db
p -> actor
@enduml
commented Feb 6 by Cédric
Thank you, it's working
...