[Timing diagram] Color for participant text

0 votes
asked May 26 in Wanted features by EtienneA (180 points)
I have two signals and I would like their text to be displayed in a different color, e.g. "MyInput" in red and "TheOutput" in blue. I am not talking about coloring the lines, but the text displayed at the left of the timing diagram.

binary "MyInput" as MyInput
binary "TheOutput" as TheOutput

Thanks,

Étienne

1 Answer

0 votes
answered May 26 by The-Lu (45,860 points)
selected May 26 by EtienneA
 
Best answer

Hello É.,

For that you can use creole, as:

@startuml
clock "Clock" as C with period 1
binary "<color:red>MyInput" as I
binary "<color:blue>TheOutput" as O

@0
I is low
I is low
@1
I is high
@2
O is high
@enduml

See also doc. here:

If  that can help,
Regards,
Th.

...