24

I've been using NClass for object/class modeling in class thus far.

However, I do not believe that it is capable of sequence diagrams, which is my next task.

I would prefer not to use Visio. Is there a good and free software solution for making sequence diagrams?

PeeHaa
  • 71,436
  • 58
  • 190
  • 262
bobber205
  • 12,948
  • 27
  • 74
  • 100

10 Answers10

29

There is www.websequencediagrams.com that is quite cool. I'm having trouble taking it seriously, but it does a really good job at very low effort from my side.

Christian
  • 9,417
  • 1
  • 39
  • 48
  • That website is sort of hilarious. :) Never know, I may end up using it instead. – bobber205 Nov 16 '09 at 17:29
  • While I don't care to buy the personal version. I must say this site is pretty cool. – Adam Lewis Jul 07 '11 at 21:45
  • i've been so tired of using drawing tools to fill this void. Having a nice DSL based tool is a great idea! – Chris DaMour Apr 16 '13 at 03:01
  • 1
    What I like about web sequence diagrams is that you describe the component interactions, and it draws the diagram. Almost every other product involves you drawing the diagram. This seems small but I think it significant in letting you focus on the goal. – jayraynet Aug 23 '15 at 17:36
  • This is one of the very good tool. I recommended this to all my office colleagues and they switched to this. – Sanjay Kumar Jun 11 '16 at 17:47
  • Near zero ramp up time on this tool. Once I found I could change the display of my sequence from the default "hand-drawn" look, I really like it. Free version has plenty of features for my needs – oddmeter Mar 21 '18 at 19:13
17

Quick Sequence Diagram Editor might suit your needs. The syntax is strange, but easy to learn. The thing I like about it is that the diagrams are specified using text files, which makes me happy since I don't like the 'pure visual' approach used by the Visio and Rational tools.

The example on the official site may look intimidating but the syntax is actually very simple. Here's a hello world example.

hello_world.sd:

# Put all your Objects here
a:Application.java
c:Config.java

# Put all your Calls between objects here
a:c.readConfigFromFile()

hello_world.sd

Sridhar Sarnobat
  • 25,183
  • 12
  • 93
  • 106
Peter Tate
  • 2,178
  • 1
  • 21
  • 32
13

For me http://sequencediagram.org is the best. And it's free!

barbushin
  • 5,165
  • 5
  • 37
  • 43
12

Have a look at UMLet, a Free UML Tool for Fast UML Diagrams which is aimed at fast UML sketching.

alt text
(source: itmeyer.at)

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
Pascal Thivent
  • 562,542
  • 136
  • 1,062
  • 1,124
  • 1
    I really like Umlet, especially considering that it's free. A nice feature of the sequence diagrams is that you can "program" them rather than having to hand draw them, and everything is drawn out for you. – JasCav Nov 16 '09 at 17:48
  • I don't know how I've never heard of UMLet before. Free. Self-documenting. Works. Bye-bye Umbrello. – Adam Mackler Jan 03 '13 at 21:56
9

There are also a few other open-source, DSL-based approaches.

The first one (and the one I'd recommend) is mscgen.

mscgen feels like graphviz for sequence diagrams... right down to being supported out of the box by Doxygen and having integration plugins for Sphinx, AsciiDoc, LaTeX, Org-Mode, TWiki, and JIRA)

It's available in the Debian, Ubuntu, Fedora, openSUSE, Gentoo, Archlinux AUR, FreeBSD FreshPorts, Macports, Homebrew, and Cygwin repositories and Windows binaries are available from the author's website.

There's also mscgen_js, a GPLv3-licensed JavaScript port that claims perfect compatibility with the syntax of the C version in either direction. (It accepts everything mscgen does and, if you want incompatible language extensions, you have to opt into their dialect.)

...plus, mscgen_js supports taking a JSON-encoded AST as input or a language named MsGenny which is to mscgen as Markdown is to HTML and provides genny2msc.js and msc2genny.js scripts for manual conversion)

The second one is called msc-generator and I'm not sure if it has any relationship to mscgen. The syntax is similar but appears subtly different and it has an optional editor GUI. However, it does claim command-line compatibility with mscgen for the purposes of piggybacking on its integration plugins.

It doesn't seem to be in anywhere near as many repositories, but I discovered it via the Archlinux AUR and it has a Windows binary installer.

The last one is UMLGraph. It has a less elegant syntax based on GNU pic2plot macros. (But it can also draw class diagrams using a mix of Java syntax and javadoc tags, if that's your thing.)

UMLGraph is a javadoc doclet, so no compilation is necessary, but it does require javadoc and graphviz. There exist Fedora and openSUSE RPMs but I couldn't find any .debs.

ssokolow
  • 14,938
  • 7
  • 52
  • 57
  • 1
    Also, since it might be useful to someone coming in via Google, I might as well mention that [erd](https://github.com/BurntSushi/erd) can draw Entity-Relationship Diagrams using a DSL if NClass isn't suitable to task. – ssokolow Dec 22 '16 at 15:19
7

For me there are usually about 3 tools I prefer to use.

  1. Netbeans UML Plugin (Its free and its nice)
  2. Visual Paradigm UML (its really nice but it isn't free, you might be able to get a free academic copy, but that requires a bit of work
  3. Visio (I Know you said you didn't like it, but it works)
monksy
  • 14,156
  • 17
  • 75
  • 124
  • There used to a free community edition of Visual Paradigm that you might be able to find and download. – ChadNC Nov 16 '09 at 17:39
  • Google for "visual paradigm community edition" it's a slimmed down free version. – ChadNC Nov 16 '09 at 17:41
  • There still is.. I Just like the ability to transform the diagrams into code, so I didn't even consider that. The community version puts watermarks all over everything though. – monksy Nov 16 '09 at 17:42
  • Is the Netbeans UML Plugin still available in the latest versions of Netbeans (6.8)? The wiki seems to say that it's been pulled http://wiki.netbeans.org/UML – matt b Mar 31 '10 at 20:59
  • If you are so desesperate to use Visio, then try Libreoffice Draw. Ugly workflow, but it works and it's free. – Adrian Lopez Sep 07 '14 at 14:51
  • PlantUML is also nice. – arao6 Jun 18 '18 at 03:41
2

Dia is Open Source and runs on Windows and Linux

devio
  • 36,858
  • 7
  • 80
  • 143
2

DIA http://dia-installer.de/ "Dia Diagram Editor"

UMLet http://www.umlet.com/ "Free UML Tool for Fast UML Diagrams"

Gaphor http://gaphor.sourceforge.net/ "Gaphor, the essence of UML Modelling"

Jinksy
  • 421
  • 4
  • 11
1

For me, Papyrus which is an Eclipse plugin is one the best, it follows the specification, there tutorial on youtube ( see video for sequences diagram )

And since it is integrated in Eclipse you can use it near your code, you can use a lot'of modeling tool also.

granier
  • 1,739
  • 13
  • 25
0

Umbrello is a fairly comprehensive UML modelling tool. Perhaps unfortunately, it runs on Linux. However I have used it in a Windows environment by running in in a Linux Virtual Machine. Because the VM appears as a machine on your network (even if you do not have a physical network), it can share your file system and printer via network shares so you can use it fairly seamlessly. However all that may be more effort that it is worth, and you should consider other solutions.

Clifford
  • 88,407
  • 13
  • 85
  • 165