-
Notifications
You must be signed in to change notification settings - Fork 52
/
README
66 lines (60 loc) · 3.32 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
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! | |
|------------------------------------------>|
| | | ------\
| | |-| ^_^ |
| | | |-----|
| | |