Allow style for collections or database [Deployment-diagram]

0 votes
asked Jan 25, 2021 in Wanted features by The-Lu (63,920 points)

Hello PlantUML team,

From today's tests on style on deployment elements (QA-12920):

  • How to manage style for collections or database ?

Here is an example, where style seems to be ignored for those deployment elements:

@startuml
<style>
component {
  FontName SansSerif
  HyperLinkColor red
  FontColor green
  FontSize 19
  FontStyle plain
  HorizontalAlignment right
  RoundCorner 15
  DiagonalCorner 0
  LineColor #3600A8
  LineThickness 1.0
  BackGroundColor #AAA
  Shadowing 0.0
}
collections {
  FontName SansSerif
  HyperLinkColor red
  FontColor green
  FontSize 19
  FontStyle plain
  HorizontalAlignment right
  RoundCorner 15
  DiagonalCorner 0
  LineColor #3600A8
  LineThickness 1.0
  BackGroundColor #AAA
  Shadowing 0.0
}
database {
  FontName SansSerif
  HyperLinkColor red
  FontColor green
  FontSize 19
  FontStyle plain
  HorizontalAlignment right
  RoundCorner 15
  DiagonalCorner 0
  LineColor #3600A8
  LineThickness 1.0
  BackGroundColor #AAA
  Shadowing 0.0
}
</style>
component c0
component c [
a
abc
a b c d
]

collections col0
collections col [
a
abc
a b c d
]

database d0
database d [
a
abc
a b c d
]

c0 - c
col0 - col
d0 - d
@enduml


[See on PlantUML online server]

Thanks for yours works,
Regards,
Th.

commented Jan 25, 2021 by The-Lu (63,920 points)

Hello PlantUML team,

Same issue with 'label' (a minima: especially for font parameter):


[See on plantUML server]

Thanks for yours works,
Regards,
Th.

1 Answer

0 votes
answered Jan 28, 2021 by plantuml (294,960 points)
selected Jan 29, 2021 by The-Lu
 
Best answer
Thanks for your report !

These issues have been fixed in last beta http://beta.plantuml.net/plantuml.jar and on the online server
commented Jan 29, 2021 by The-Lu (63,920 points)

Hello PlantUML,

Thanks a lot for your support,
Then, just beware of regression of label component management, see:

Awaiting also wink:

Regards,
Th.

...