Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

timing diagram enhancements

0 votes



I played a bit with timing diagrams and found several limitations.

Here they are : 

- how to draw binary signals ? (1 bit bus)
- how to draw in a 'compact format (name of the signal + waveform on the same line) ?
- how to draw 'dirac' pulses (typically an interrupt, very small compared to the other signals)
- how to make the timeline more flexible :
- allow decimal events (@1, @1.1)
- allow steps bigger than one (graduation 10-20-30...up to 100 would give 10 graduations. Currently it gives 100 graduations, not readable)
- allow non linear scale (10-20-30 ... 100 : 4 graduations with '...' between 30 and 100)

I suppose this list is not enough but if you are interested I can elaborate a bit more




asked Apr 14 in Wanted features by benoitek (170 points)

1 Answer

+1 vote

Many thanks for your suggestions!

If you have any pointer to some existing pages with the following images, it would help:
- binary signals ? (1 bit bus)
- compact format (name of the signal + waveform on the same line) ?

We have also built a new beta

This beta supports decimal events (@1.1)
There is also a new command for scale. For example, you can have:

scale 3000 as 600 pixels

This is a first draft, and we will probably enhance this scale feature.
Any suggestion is welcome (especially on non-linear scale)


answered Apr 19 by plantuml (118,230 points)

Thanks for this very nice release.

Concerning the 2 points where you want complements :
"- binary signals ? (1 bit bus)
- compact format (name of the signal + waveform on the same line) ?"
You can look at http://wavedrom.com/tutorial.html - On step 2 :
- you see different 1 bit signals (here they are clocks but it could be any other signals like enable, acknolwledge, ...)
- the name of the signal is written on the left of the weveform, right-aligned
http://wavedrom.com/tutorial.html - Step 5 introduces also group notion which is interesting.

http://wavedrom.com/tutorial.html - Step 4. "Spacers and Gaps" shows an example of non-linear scale.

Support This Project Offer 250 Mo! Follow PlantUML on Twitter