aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/ladder_to_msc_test.ladder
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ladder_to_msc_test.ladder')
-rw-r--r--contrib/ladder_to_msc_test.ladder58
1 files changed, 58 insertions, 0 deletions
diff --git a/contrib/ladder_to_msc_test.ladder b/contrib/ladder_to_msc_test.ladder
new file mode 100644
index 00000000..e3873539
--- /dev/null
+++ b/contrib/ladder_to_msc_test.ladder
@@ -0,0 +1,58 @@
+{hscale=2}
+msc1 = osmo-msc
+foo = a Foo instance
+bar = a Barcode
+
+
+msc1 > foo Some description
+msc1 -> foo Some description
+msc1->foo Some description
+msc1 >> foo Some description
+ multi
+ line
+msc1 >> foo
+ Some description\nwith line feed
+ multi
+ line
+msc1 <> foo Some description
+msc1 () foo Some description
+msc1()foo Some description
+msc1 [] foo Some description
+msc1 note foo Some description
+msc1 note foo Some description
+
+
+... asdf asdf {ID=*}
+
+msc1 > foo Some description {id=bar}
+msc1 >> foo Some description {id=bar}
+
+msc1 [] foo Red box {textbgcolor=red}
+||| yo
+
+msc1 >> foo Some description {id=bar}
+
+bar>msc1 Some description
+---
+
+foo > bar normal arrow
+foo -> bar filled arrow
+foo --> bar stippled arrow
+foo ~> bar half arrowhead
+foo => bar double lined arrow
+foo ->< bar arrow that ends in X
+msc1 > * broadcast arrow
+foo --> * broadcast stippled arrow
+
+foo < bar
+foo <- bar
+foo <-- bar
+foo <~ bar
+foo <= bar
+foo ><- bar
+* < bar
+
+foo <> . angled box
+foo () . rounded box
+foo [] . note
+