I am looking for a tool to draw a sequence of packets sent for a sliding window protocol. There are many tools for drawing message sequence charts with horizontal lines, but I want to be able to draw the lines diagonally, like the the bottom part of this image:
Please suggest suitable tools. I am most likely only interested in free ones, but if you have a really good suggestion for a commercial you can include that as well.
mscgen can do this, using the arcgradient option. This snippet wil render the second part of your example exactly:
msc {
arcgradient=20;
client, server;
client => server [label="SYN"];
server => client [label="SYN + ACK"];
client => server [label="ACK"];
}
If you copy paste this snippet in the mscgen_js on line demo, you'll see.