Can we have 2 or more colors for clocks in timing diagrams ?

0 votes
asked Apr 22 in Question / help by anonymous

Hello,

I’d like to have 2 different colors to use for clock signals in the timing diagram.

Doing something like that gives a syntax error:

@startuml example

<style>

timingDiagram {

  .red {

    LineColor red

  }

  .yellow {

    LineColor yellow

  }

}

</style>

clock "Clock1" as clock1 <<red>> with period 5000 pulse 1

clock "Clock2" as clock2 <<yellow>> with period 20000 pulse 1

@enduml

This would be nice to have for example one color per clock domain.

Thanks.

commented Apr 22 by The-Lu (65,440 points)

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.
...