Prevent keyword name to reach into signal part of timing diagram

0 votes
asked Jan 13 in Question / help by pederalm (120 points)

Is there a possibility to set the first column width to extend based on the keyword names? In this case the "Web Browser" text extends into the 0-1 period. I would like to have t=0 where the "Web Browser" text ends to prevent it to overlap my highlight name.

Also, is it possible to extend a period with to fit the highlight name? Here "45" extends into period the 1-2

@startuml
robust "Web Browser" as WB

@0
WB is Idle

@1
WB is Processing

@2
WB is Waiting

highlight 0 to 1 : Foo_12345
@enduml

1 Answer

0 votes
answered Jan 13 by The-Lu (77,040 points)

Hello P.,

Here are some workarounds, with adding:

  1. a newline on the highlight label
  2. a scale​

As:

@startuml
scale 2 as 150 pixels
robust "Web Browser" as WB

@0
WB is Idle

@1
WB is Processing

@2
WB is Waiting

highlight 0 to 1 : \n\nFoo_12345
@enduml

Enjoy,
Regards,
Th.

...