sequence diagram - skinparameter SequenceDelayFontColor, SequenceReferenceHeaderFontColor ... (teoz)

0 votes
asked May 19, 2023 in Question / help by kirchsth (4,880 points)

I try to create a sequence diagram with a (for me) consistent layout.
I have following problems (details see in sample below):
a) skinparam SequenceDelayFontColor not working at all
b) how can I define sequence delay background color
c) how can I define sequence reference header font color



Thank you and best regards
Helmut

commented May 19, 2023 by The-Lu (63,920 points)
edited May 19, 2023 by The-Lu

Hello K., and all,

For a) & b), see pseudo-similar [wanted feature] request here:

And this test example:

@startuml
scale 2
<style>
sequenceDiagram {
  lifeline {
    LineThickness 2
    LineColor red
    BackGroundColor pink
    Shadowing 10
  }

  delay {
    ' OK
    FontColor green
    FontSize 10
    FontStyle bold
    FontName Serif
    HyperLinkColor blue
    HorizontalAlignment left
    DiagonalCorner 5

    ' KO
    LineThickness 2
    LineColor red
    BackGroundColor pink
    Shadowing 10
  }
}
</style>

Bob -> Alice : hello
...
...5 minutes later\na a a\na...
...
||30|

@enduml

For c): That is not so perfect but you can use:

<style>
referenceHeader {
  fontcolor red
}
</style>

If that can help,
Regards.

commented May 19, 2023 by kirchsth (4,880 points)
Thank you for the fast awnser, I will use they styles.
BR Helmut

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...