July 10, 2013

Sequence diagrams from text to SVG

Here’s a great sequence diagram creator; it turns a description of a sequence diagram in plain text into an SVG file. I’ve just tried importing one of the generated files into The Gimp at an enormous resolution, and it looks superb.

Here’s an example of a text description:

Title: Here is a title A->B: Normal line B-->C: Dashed line C->>D: Open arrow D-->>A: Dashed open arrow

This results in the following diagram, embedded here as a PNG graphic:

I like this kind of tool because it gets us back to the old Unix philosophy of small tools that do one thing well (…but this time around, we use JavaScript to wire them together.)


Previous post
“Simply hold the ctrl key and double click on any non-button area of the window chrome - not the contents” I work with software, a lot. It’s probably safe to say I live software. So I’m comfortable with the idioms of software development and software
Next post
Falsehoods programmers believe about time Patrick McKenzieFalsehoods programmers believe about names Now Noah Sussman brings us Falsehood programmers believe about time, in the same spirit