Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tool for drawing protocol sequence diagrams [closed]

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:

SYN,SYN+ACK,ACK example

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.

like image 246
hlovdal Avatar asked Sep 02 '09 11:09

hlovdal


People also ask

What tool is used to draw sequence diagrams?

Lucidchart. A sequence diagram can also be made with Lucidchart. Users can draw various visual illustrations, from simple to technical diagrams. And like GitMind, this sequence diagram tool can improve the creation process with its collaboration feature.

How do I create a sequence diagram in Word?

Create Sequence Diagram in Word Also, you can add all the necessary shapes and customize every element. Open a new file and navigate to the “Insert” tab. From the “Shapes” menu, add all shapes that represent the objects, lifelines, messages, and activation bar.

Where can I find a free sequence diagram tool?

Finding a Free Sequence Diagram Tool? Free web-baed UML drawing tool - Visual Paradigm Online (VP Online) Free Edition. Unlike many other online drawing tools, VP Online has incorporated the Resource Centric interface, which makes Sequence Diagram editing very intuitive and straight forward.

What is sequencediagram?

SequenceDiagram.org is an online tool / software for creating uml sequence diagrams. All processing of parsing and painting the diagram is done client side in the user's web browser. This not only makes it snappy to work with, but it also means that your data isn't transferred over the Internet by the tool like in many other sequence diagram tools.

Why code sequence diagrams instead of drawing them?

Sequence diagrams can be somewhat close to the code level, so why not just code up that algorithm rather than drawing it as a sequence diagram? An award-winning modeling software that features UML, BPMN, ERD, DFD and more. Visual Paradigm Modeler makes modeling easy and fast.

How to create a sequence diagram in UML?

Create your own sequence diagram using a professional sequence diagramming tool called StarUML. This program was developed specifically to create UML diagrams like sequence diagrams. It offers standardized UML shapes including arrows and labels.


2 Answers

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.

like image 155
Sander Avatar answered Oct 01 '22 03:10

Sander


I've been using websequencediagrams. Essentially a webapp version of mscgen with a few different fancy renderers.

enter image description here

Websequencediagrams also exposes their diagram rendering as a script API. Now I store my diagrams as HTML files, commit them to git, show nice diffs, etc. I.e.,

<html> <body> <div class="wsd" wsd_style="rose"><pre> App->set_state PAUSE <!-- your wsd diagram commands, etc... --> </pre></div> <script type="text/javascript" src="http://www.websequencediagrams.com/service.js"></script> </body> </html> 
like image 23
Peter Tran Avatar answered Oct 01 '22 01:10

Peter Tran