Text Diagram is a web tool for drawing UML sequence diagram in pure text.
Clone or download
weidagang Merge pull request #4 from noahp/master
Refresh on input, add copy buttons
Latest commit bc52904 Mar 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
text-diagram Refresh on input, add copy buttons Nov 10, 2017
.gitignore first commit Mar 12, 2012
README Update README with new features Sep 16, 2015

README

TextDiagam is a web tool for drawing UML sequence diagram in pure text.

http://weidagang.github.com/text-diagram

Input:

object April Todd Monad
April->April: Prepare food for lunch.
space 5
note left of April: Lunch is ready.
April->Todd: Todd, what are you doing?
note right of Todd: @_@
Todd->April: Well...\nI'm programming.
space 5
April->Monad: How about you?
Monad->April: I'm reading book.
April->Monad: Good boy!
note right of Monad: ^_^


Output:

                +-------+                       +-------+   +-------+
                | April |                       | Todd  |   | Monad |
                +-------+                       +-------+   +-------+
                    |                               |           |
                    | Prepare food for lunch.       |           |
                    |------------------------       |           |
                    |                       |       |           |
                    |<-----------------------       |           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
------------------\ |                               |           |
| Lunch is ready. |-|                               |           |
|-----------------| |                               |           |
                    |                               |           |
                    | Todd, what are you doing?     |           |
                    |------------------------------>|           |
                    |                               | ------\   |
                    |                               |-| @_@ |   |
                    |                               | |-----|   |
                    |                               |           |
                    |                       Well... |           |
                    |              I'm programming. |           |
                    |<------------------------------|           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
                    |                               |           |
                    | How about you?                |           |
                    |------------------------------------------>|
                    |                               |           |
                    |                         I'm reading book. |
                    |<------------------------------------------|
                    |                               |           |
                    | Good boy!                     |           |
                    |------------------------------------------>|
                    |                               |           | ------\
                    |                               |           |-| ^_^ |
                    |                               |           | |-----|
                    |                               |           |