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

0 votes
asked Apr 22 in Question / help by anonymous


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


timingDiagram {

  .red {

    LineColor red


  .yellow {

    LineColor yellow




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

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


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


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.