Monday, 11 March 2024

PlantUML: Cusotmize colors, fonts in state diagram using skinparam command

customizeUsingSkinParam.txt

@startuml

skinparam backgroundColor LightBlue

skinparam state {
	StartColor PaleGreen
	EndColor brown
	BackgroundColor gold
	BackgroundColor<<automated>> aqua
	BackgroundColor<<last>> pink
	BorderColor Gray
	FontName Impact
}

left to right direction

state state1 <<automated>>
state state2 
state state3
state state4
state state5 <<last>>

[*] --> state1
state1 --> state2
state2 --> state3
state3 --> state4
state4 --> state5
state5 --> [*]


@enduml

 

Above snippet generate below command.

 


Previous                                                    Next                                                    Home

No comments:

Post a Comment