I'm looking for an diagram tool for producing diagrams from text. I only really need sequence and state type diagrams for now, but I'm curious as to what people would recommend? I need something which is standalone, not a web based tool that works on Linux, OSX and Windows.
Asked
Active
Viewed 2.0k times
22
-
1Not programming related? – LukeN Apr 22 '10 at 17:21
-
1Ditaa is a good example of such a tool - http://ditaa.sourceforge.net/ – Jonathan Holloway Apr 22 '10 at 17:28
-
I don't see how it isn't programming related... – Jonathan Holloway Apr 22 '10 at 17:29
-
So you want something that takes text and produces drawings? Or do you want something that produces ASCII art drawings? – Joey Apr 22 '10 at 17:57
-
Ok a little misleading, I'm looking for a tool that takes ASCII text and outputs images. – Jonathan Holloway Apr 22 '10 at 18:05
-
Check out http://stackoverflow.com/questions/2692985/text-diagram-tool for the reverse. i.e. generating text diagrams – asitk Jul 25 '12 at 07:18
-
1An exhaustive list of such tools can be founde here: http://modeling-languages.com/content/uml-tools#textual – Jordi Cabot Apr 23 '10 at 09:41
5 Answers
20
I'm not positive what you mean by "producing diagrams from text", but if you mean a tool where diagrams are specified by a text file, Graphviz is good. If you mean something that literally converts ascii art like
+--------+ +-------+ +-------+
| | --+ ditaa +--> | |
| Text | +-------+ |diagram|
|Document| |!magic!| | |
| {d}| | | | |
+---+----+ +-------+ +-------+
: ^
| Lots of work |
+-------------------------+
to a graphic:
You can try ditaa (that ascii art is from their website, so it's a good example of the input format it expects)

Ross Rogers
- 23,523
- 27
- 108
- 164

Michael Mrozek
- 169,610
- 28
- 168
- 175
-
+1 Ah good old dot; had a professor in college that loved that tool for BNF Expression Trees – SwDevMan81 Apr 22 '10 at 18:24
-
-
@Sobiaholic, I found on https://xosh.org/text-to-diagram/ online tool for Graphviz - http://www.webgraphviz.com/ – WeGa Dec 20 '21 at 07:45
13
Look at PlantUML, LaTeX+MetaUML, sdedit, TextUML, yUML, ... There is a plenty of quite good tools.

Gabriel Ščerbák
- 18,240
- 8
- 37
- 52
-
1
-
I'm the author of the **PlantUML Gizmo**, which is a free add-on for [Google Docs](https://sites.google.com/site/plantumlgizmo) or [Microsoft Word](https://code.google.com/p/plantuml-word-add-in-vsto/). It allows using PlantUML in those documents. – Fuhrmanator Aug 22 '14 at 00:09
11
I recommend TextDiagram http://weidagang.github.com/text-diagram/. It creates UML sequence diagram from pure text.
Example input
object April Todd Monad
note left of April: Lunch is ready
April->Todd: Todd, what are you doing?
note right of Todd: Programming @_@
Todd->April: Well, I'm programming.
April->Monad: And you?
Monad->April: I'm reading book.
April->Monad: Good boy!
note right of Monad: Smile ^_^
produces:
+-------+ +-------+ +-------+
| April | | Todd | | Monad |
+-------+ +-------+ +-------+
-----------------\ | | |
| Lunch is ready |-| | |
------------------ | | |
| | |
| Todd, what are you doing? | |
|------------------------------>| |
| | ------------------\ |
| |-| Programming @_@ | |
| | ------------------- |
| | |
| Well, I'm programming. | |
|<------------------------------| |
| | |
| And you? | |
|------------------------------------------------------>|
| | |
| | I'm reading book. |
|<------------------------------------------------------|
| | |
| Good boy! | |
|------------------------------------------------------>|
| | | ------------\
| | |-| Smile ^_^ |
| | | -------------
| | |

Ross Rogers
- 23,523
- 27
- 108
- 164

Dagang
- 24,586
- 26
- 88
- 133
-
-
Any idea if this supports multithreading? I have a feeling the answer is no :( – Sridhar Sarnobat Sep 12 '19 at 18:55
0
EventStudio supports generation of sequence diagrams and collaboration diagrams from text input.

Sandeep
- 648
- 5
- 12