background preloader

Sequence Diagram

Facebook Twitter

Trace2uml: Drawing sequence diagrans in Doxygen. From Doxygen version 1.5.3 doxygen supports sequence charts inside the documentation. Original doxygen works together with mscgen (a tool similar to Trace2UML). But because Trace2UML is now call compatible with mscgen, you can use Trace2UML instead. The only thing you have to do by hand, is to RENAME "Trace2UML.exe" into "mscgen.exe" (or do a symbolic link, on Linux). This is because Doxygen has the tool name hard coded in its binary (maybe this will change one day ;-) Doxygen meets SEQUENCE diagrams. I’ve been tinkering with Doxygen and SEQUENCE (see my previous post on this) to make them play well together for the documentation of the Daversy project.

Doxygen meets SEQUENCE diagrams

The goal was to have Doxygen automatically incorporate sequence diagrams into the resulting documentation, complete with a description of the diagram and links to other relevant parts of the docs. I guess there are up sides to recovering from a knee surgery – it’s been years since I had the opportunity to spend a day on something like this. We’ll start with a simple sequence diagram file that SEQUENCE can read and convert into an image. This is an actual sequence diagram from the Daversy documentation that describes how the Extract command works, and when I run it through SEQUENCE, the following image is generated : Is that cool or what?

Of course a sequence diagram without some accompanying text is not worth the effort, so we need a way to write a description along with the definition of the diagram. Itymbi ...: SEQUENCE Archives. October 17, 2004 Version 9 of SEQUENCE The only change is that the source jar file now contains the data for the help files, such as they are.

itymbi ...: SEQUENCE Archives

Here are sequence_src.jar and sequence.jar . Posted by Alex. Permalink Sequence is great! I really like sequence - but one question remains .. 1. A little Addition ;-) it would be nice, if Sequence displays object creation more the standard way... e.g. Correction - SEQUENCE stores and loads its preferences with an option: java -Dzanthan.prefs=pathToPreferenceFile -jar sequence.jar ...sorry. Graphviz. - Draw and Edit Sequence Diagrams in seconds. Pic2Plot – trac – Trac. This plugin will convert the PIC Graphical Language to an image.

Pic2Plot – trac – Trac

See for more info on the PIC language. You can use this to create all sorts of freeform drawings and diagrams. For examples see A good description can be found here: Another nice resource is specifically and the PIC manual at You will need GSView to open the .ps files. You can also use this to write UML sequence diagrams if you get the sequence.pic file from the UMLGraph package at This is described here. You can also use this plugin to create custom shapes to be used with Graphviz. Just for fun I wrote a PIC script to generate SuperFormula shapes.

Prerequisites ¶ You will need pic2plot which is included in GNU PlotUtils The output image has a large canvas. The plugin has an options panel where you can configure the following settings: path to the pic2plot executable (mandatory) path to ImageMagick folder always crop output image Examples ¶ The images are drawn by the code below it: Stick figure Simple Shapes Freeform diagram. Pic2Plot. Doxygen meets SEQUENCE diagrams. Forever For Now - UML Diagrams Using Graphviz Dot. Introduction Background This article is about using the dot tool from the Graphviz package to automatically generate UML diagrams on the fly.

Forever For Now - UML Diagrams Using Graphviz Dot

We'll take a look at modelling packages, classes, attributes, methods and associations which already covers a fair subset of the class diagrams in UML. Of course, the information given in this article is only of limited use in situations where you are manually entering the graph description, but the information is highly useful when you're writing a tool which analyzes program structure. So read on if you're writing a piece of software like UMLGraph. Getting Started What you need First of all, you need to have the Graphviz package installed on your computer, head over to the Graphviz website to download a version for your operating system. There aren't many other prerequisites, but it helps if you've got a good example scenario to start with.

The so-called "problem" The example will be based on a small portion of an animal inspired domain. Dog -> Cat. Graphics - Drawing Sequence Diagrams. Quick Sequence Diagram Editor - Example. Source text bfs:BFS[a] /queue:FIFO someNode:Node node:Node adjList:List adj:Node bfs:someNode.setLevel(0) bfs:queue.insert(someNode) [c:loop while queue !

Quick Sequence Diagram Editor - Example

= ()] bfs:node=queue.remove() bfs:level=node.getLevel() bfs:adjList=node.getAdjacentNodes() [c:loop 0 <= i < #adjList] bfs:adj=adjList.get(i) bfs:nodeLevel=adj.getLevel() [c:alt nodeLevel IS NOT defined] bfs:adj.setLevel(level+1) bfs:queue.insert(adj) --[else] bfs:nothing to do [/c] [/c] [/c] bfs:queue.destroy() Back to top of page.