English 中文(简体)
Software for Sequence Diagrams? [closed]
原标题:

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 5 years ago.

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?

最佳回答

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)
问题回答

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.

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

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

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)

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.

Dia is Open Source and runs on Windows and Linux

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"

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.

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.





相关问题
Understanding UML of DoFactory Design Pattern - Decorator

I am trying to understand UML diagram describing Decorator Pattern at link below http://www.dofactory.com/Patterns/PatternDecorator.aspx I don t understand why there is a "Aggregation" relation ...

UML Code generation tool in C# [closed]

Please suggest me any opensource tool to generate C# code from UML designer,Or any plugin to generate code from visualstudio. My requirement is to have a code generation tool for C#.

How to design/plan for web application development?

I m interested in learning how to design/plan for web application development, in a multiple developer team scenario. Assuming the role of "Project Manager/Lead": What "documents" are needed for ...

Software for Sequence Diagrams? [closed]

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 ...

UML Diagram to Model API

I need to create a diagram to document a RESTFul API that build, which UML diagram should I use? Thanks in advance,

Where could I find some UML samples? [closed]

I need a punch of samples of UML diagrams to get an start point to develop my own diagrams. Does anyone know about a good website where I could find it? Thanks!

热门标签