How to get the default style provided by earlier versions of planUML?

0 votes
asked Aug 15, 2023 in Question / help by David

How to get the default image stored at the online plantUML serverstyle (including its color schema) that has been used by earlier versions?  You may see many examples of such a style in the PDF Guide.

I am asking, because plantuml.1.2023.7.jar is not capable to apply the former default style.  For example (see the attached image), I had to inject the following style (see below) in order to achieve  some resemblance to the former default style.  Compare this approach (and effort) with plantuml.1.2019.6.jar, where the default style was applied without the need to inject any extra code.

  • Is there an easier way to achieve resemblance to the former default style?
  • What do you do to achieve resemblance to the former default style?
skinparam useBetaStyle true
<style>
    activityDiagram {
        shadowing 3.0
        activity {
            lineColor FireBrick
            lineThickness 1.8
            backgroundColor Business
        }
        note {
            lineColor FireBrick
            lineThickness 1.1
            backgroundColor Yellow
        }
        arrow {
            lineColor FireBrick
            lineThickness 1.6
        }
        circle {
            stop {
                backgroundColor White
            }
        }
    }
</style>

1 Answer

0 votes
answered Aug 15, 2023 by Serge Wenger Work (15,620 points)
edited Aug 24, 2023 by Serge Wenger Work

Hello,

As described here https://github.com/plantuml/plantuml/issues/946, Start your diagram with

@startuml
skin rose

Hope this helps

commented Aug 15, 2023 by David
That is en excellent solution: it worked for me without any side affect.

Thank you for saving the day.
...