no colored border on state <<start>> <<end>>

0 votes
asked Aug 20, 2023 in Bug by boshka (3,940 points)
edited Aug 21, 2023 by boshka
skinparam stateBorderColor blue

state s <<start>> #silver
state e <<end>> #silver

state a as "a" #white {
}

s -> a: no blue border on s
a -> e: no blue border on e

1 Answer

0 votes
answered Aug 23, 2023 by kirchsth (5,860 points)

You can use styles



Best regards
Helmut

commented Aug 24, 2023 by The-Lu (65,240 points)

Hello all,

But: How to color Background of start/end state?

Compare:

CodeOutput
@startuml
skinparam stateBorderColor blue

<style>
start {
  BackGroundColor silver
  LineColor blue
}
end {
  BackGroundColor silver
  LineColor blue
}
</style>

state s <<start>>
state e <<end>>

state a as "a" #white {
}

s --> a: no silver BackGround on s
a --> e: no silver BackGround on e
@enduml

@startuml

<style>
start {
  BackGroundColor silver
  LineColor blue
}
stop {
  BackGroundColor silver
  LineColor blue
}
</style>

start
-> blue border on s;
:a;
-> blue border on e;
stop

@enduml

If that can help,
Regards,
Th.

...