beta-style: LineStyle and LineThickness management for Component or Deployment diagram

0 votes
asked Jun 10, 2020 in Wanted features by The-Lu (64,760 points)

Hello PlantUML team,

Continuing style tests on component diagram, and deployment diagram, adapted from:

How to manage, by style (for element and group (package)):

  •     LineStyle
  •     LineThickness

Here is an example, where the two fields seem to be ignored:

<style>
group {
    BackgroundColor green
    LineStyle 5
    LineThickness 3
}
package {
    BackgroundColor palegreen
    LineStyle 2
    LineThickness 2
}
</style>


That is OK for BackgroundColor (green and palegreen), but not for LineStyle and LineThickness!
[Click to see code on online server]

Thanks for yours works,
Regards,
Th.

1 Answer

0 votes
answered Jun 10, 2020 by plantuml (295,000 points)
selected Jun 25, 2020 by The-Lu
 
Best answer

Thanks for the feedback.

This should be solved in last beta http://beta.plantuml.net/plantuml.jar

You can even have now:

@startuml
<style>
root {
    LineStyle 5
}
</style>

package package1 {
node n
package p
}
@enduml

...