[Timing diagram] Cropped clock lines when period is not a multiple of the diagram length

0 votes
asked Oct 5 in Wanted features by The-Lu (36,200 points)

Hello PlantUML team,

  • Could you improve clock's line, when clock (period) is not a multiple of the diagram length?

Observation: The clock's lines is too cropped when the clock's lines could have been larger than the diagram...

Here is an example:

@startuml
clock "c0" as C with period 50
clock "c1" as C1 with period 40 pulse 10
binary "Enable" as EN

@0
EN is low
@50
EN is high
@100
EN is low

EN@80 <-> @110 : <color:red>Clock1\nis missing\nfrom 80 to 110
EN@100 <-> @110 : <color:red>Clock0\nis missing\nfrom 100 to 110\n\n\n
@enduml

Regards,
Th.

commented Oct 6 by The-Lu (36,200 points)

Here is another minimal example:

@startuml
clock "c0" as C with period 50
binary "Enable" as EN

@0
EN is low
@10
EN is high
@60
EN is low

EN@50 <-> @70 : <color:red>Clock0\nis missing\nfrom 50 to 70
@enduml

Regards.

1 Answer

0 votes
answered Nov 4 by The-Lu (36,200 points)
 
Best answer

This is corrected on V1.2021.13 (1rst Nov, 2021).

Thank to PlantUML team,
Regards.

...