How to achieve the following sequence-like diagram?

0 votes
asked Aug 15 in Question / help by introom (180 points)

It is basically like horizontally, instead of vertically laying a sequence diagram.

https://imgur.com/a/guoKNJ5

commented Aug 17 by Martin

I don't think it is possible to rotate a sequence diagram (I briefly tried the obvious "left to right direction", but it changed the diagram type.  You might want to submit under Wanted Features.). 
But your target diagram reminded me of a Timing diagram.  I've not played with Timing diagrams before, but I thought I'd see how close I could get to your diagram.  This is the best I've managed so far:

http://www.plantuml.com/plantuml/png/XP3Fpfim4CJlVehjfqevqO03YHebaKyzzTfRfCZ5It1hREG_ebALTo-604sQwZi1EpzcTfOvpwqFZI8Vf2vL40W77rekx6PTcgOn-lH2gOps2U_GcGRNmQ5z5nBSy-_SuOaGLtA5aAKfS1SVARJo5of7IgDBwH3UllMEaD5DVjQ7ZuFzMsJZE4uNy2joWJPIa_z8ZlE5-sAKCbqq_PUTjEm5Jl-FKwAmyb0FINi8ROyXn6NTMJlqVQdI1ukNODLnrM2YiVlqexskphghqOxeHOhZq8WGDhTBGJhuNKiXKDz8DducDx9z50YxjwGpKJmIZ1PmI4x0yXtieUFIIts5obZWK4qLBRhMQ8UzttA9pMoPFuSk_RTqWdPFq5I5PGNq-UEUZAPaUXl6Snphu_OGpmnbpVKLNtEKRUaJjrZawP8qzZK_9vjYqEQbYc9K5z_Ttpz_lik4eHQXKNy0http://www.plantuml.com/plantuml/uml/XP3Fpfim4CJlVehjfqevqO03YHebaKyzzTfRfCZ5It1hREG_ebALTo-604sQwZi1EpzcTfOvpwqFZI8Vf2vL40W77rekx6PTcgOn-lH2gOps2U_GcGRNmQ5z5nBSy-_SuOaGLtA5aAKfS1SVARJo5of7IgDBwH3UllMEaD5DVjQ7ZuFzMsJZE4uNy2joWJPIa_z8ZlE5-sAKCbqq_PUTjEm5Jl-FKwAmyb0FINi8ROyXn6NTMJlqVQdI1ukNODLnrM2YiVlqexskphghqOxeHOhZq8WGDhTBGJhuNKiXKDz8DducDx9z50YxjwGpKJmIZ1PmI4x0yXtieUFIIts5obZWK4qLBRhMQ8UzttA9pMoPFuSk_RTqWdPFq5I5PGNq-UEUZAPaUXl6Snphu_OGpmnbpVKLNtEKRUaJjrZawP8qzZK_9vjYqEQbYc9K5z_Ttpz_lik4eHQXKNy0

I know you're picturing a sequence diagram on its side; but I'm wondering if you considered the Timing diagram at all?  I tried to follow your source as closely as I could, but more aesthetic results are almost certainly possible.

commented Aug 17 by introom (180 points)
Thanks.  The sample diagram I posted is exactly a timing diagram, which is often used in distributed systems illustrations.
commented Aug 17 by Martin.
No problem, I will turn my comment into an answer then.

1 Answer

0 votes
answered Aug 17 by Martin
selected Aug 17 by introom
 
Best answer

The best fit of that style of diagram in Plantuml is the Timing diagram.

Here is my attempt to mock up your sample diagram:

http://www.plantuml.com/plantuml/png/XP0zxvim6CHtVugdgD9_IWCE96gKH9uwTUqMANBnGt1hREGNKQdgTo-6E3Hfgax0tOyxdvdptFhGAV9Ewbe5WN3meUV2RjQrwJgZJo-SncY_uWCwq-4wEBJ_XGJt_2jtU2B4rLmX57aEtCL73htyWSgHskXQEeJiovW81TsKPtruFyLdaOroL1VmCtA1Db8fVoPdVU4-6QNC44F_PfDNlC3flt5A53OUsgbf3w4VCOHuM7VM3lquglR1uYLOTNphSALn-F2jlxwTzT2YdT6B5CTf4I7ilYu7wU1dAuL0_OiKqsUMaUsZJjXj94r0zGWmMi5XTG9Mxc0F0vTUwYiqnWA79Wsqw7gZ7OvnopriKcBvNBcCtz8RitjYqWnML32spuTaD2VfRPBlPMmisqEyOgXRhg_ucgDiIv-u9QBCbwPvhVcUOgh9kn-ggcPtoTtz-VF7cyrGYz2ftm00

I'm not a fan of how the arrow text overlays the timing rectangles for sloped arrows (you can add \n to the labels but then the text is further from the arrow horizontally).

Any way, hopefully that should get you started.

commented Aug 17 by introom (180 points)
Thanks for your help!
...