5 ms·
I would really like a sequence diagram that allow for diagonal arrows, not just horizontal ones. A message takes time to arrive to its destination and sometimes
by redleader55 5y ago
I would really like a sequence diagram that allow for diagonal arrows, not just horizontal ones. A message takes time to arrive to its destination and sometimes it's interesting what else could happen during this time, for example the backend sending another response to the requester. Also requests don't arrive to the destination in the exact order they where made. All of these are impossible to represent with horizontal arrows.
- dariusj18 5y agoApparently https://sequencediagram.org/ https://sequencediagram.org/ is what you want. It has "non-instantaneous message"
- prepend 5y agoThere’s an asynchronous notation in sequence diagrams if responses can go back in different order. Still uses horizontal arrows but the arrowhead is different. I don’t think diagonal arrows really help with this and will be harder to deal with because they could get overlapping really quickly. But if things are truly out of sequence use something other than a sequence diagram. Just a regular flow chart, or activity diagram, or state diagram.
- braho 5y agoI second this. I have been using sequence diagrams a lot for embedded or real-time systems a lot last year, and travel time is important there. Besides, it allows to have one diagram abstract from another, without modifying execution times.
- smhanov 5y agoWebSequenceDiagrams supports this: https://www.websequencediagrams.com/?lz=dGl0bGUgVW4AAwVkCgpBLT4oMSlCOiB0ZXh0AAkFMwABDTQAEwk&s=default https://www.websequencediagrams.com/?lz=dGl0bGUgVW4AAwVkCgpB... Premium version allows crossed messages: https://www.websequencediagrams.com/cgi-bin/cdraw?lz=dGl0bGUgVW4AAwVkCgpBLT4oMSlCOiB0ZXh0AAkFMwABDTQAEwkKcGFyYWxsZWwgewogICAgAB4OICAgIEIAOQVBAEUHfQoK&s=default&h=KKjao5z1sq44HJuD https://www.websequencediagrams.com/cgi-bin/cdraw?lz=dGl0bGU...