Events instead of timestamps in timing diagram

+1 vote
asked Feb 20 in Wanted features by anonymous

Hello,

some years ago I inspired to add the timing diagram. Meanwhile I used it a lot but I'm missing a feature since not all actions are time dependent but event driven. So it would be nice to give some text instead of a timestamp. To make drawing easier it could be a good idea to always give a timestamp but to give an optional text that should be printed instead.

Here a possible example for the language extension:

@startuml
robust "DNS Resolver" as DNS
robust "Web Browser" as WB
concise "Web User" as WU

@0
WU is Idle
WB is Idle
DNS is Idle

@+100 is "URL given"
WU -> WB : URL
WU is Waiting
WB is Processing

@+200 is "URL request"
WB is Waiting
WB -> DNS@+50 : Resolve URL

@+100 is "DNS processing started"
DNS is Processing

@+300
DNS is Idle
@enduml

And here what it should look like:

What do you think?

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.
...