sverweij/mscgen_js

View on GitHub
src/samples/test01_all_possible_arcs.msgenny

Summary

Maintainability
Test Coverage
hscale="0.6",
arcgradient="18",
wordwraparcs="false";

0, a, b, c, d, e, f, g, h, i, j, k;

a -- b : left to right,
b -- c : right to left,
c -- d : left to right\nbi-directional\n\n,
d -- e : right to left\nbi-directional\n\n,
e -- f : left to right\nnon-directional\n\n,
f -- g : left to right\nnon-directional\n\n,
g -- h : left to right\nself reference\n\n,
h -- i : right to left\nself reference\n\n,
i -- j : bi-directional\nself reference\n\n,
j -- k : non-directional\nself reference\n\n;
0 -- a : signal,
a -> b : a -> b,
b <- c : b <- c,
c <-> d : c <-> d,
e <-> d : e <-> d,
e -- f : e -- f,
g -- f : g -- f,
g -> g : g -> g,
h <- h : h <- h,
i <-> i : i <-> i,
j -- j : j -- j;
0 -- a : method,
a => b : a => b,
b <= c : b <= c,
c <=> d : c <=> d,
e <=> d : e <=> d,
e == f : e == f,
g == f : g == f,
g => g : g => g,
h <= h : h <= h,
i <=> i : i <=> i,
j == j : j == j;
0 -- a : return,
a >> b : a >> b,
b << c : b << c,
c <<>> d : c <<>> d,
e <<>> d : e <<>> d,
e .. f : e .. f,
g .. f : g .. g,
g >> g : g >> g,
h << h : h << h,
i <<>> i : i <<>> i,
j .. j : j .. j;
0 -- a : callback,
a =>> b : a =>> b,
b <<= c : b <<= c,
c <<=>> d : c <<=>> d,
e <<=>> d : e <<=>> d,
g =>> g : g =>> g,
h <<= h : g <<= g,
i <<=>> i : i <<=>>i ;
0 -- a : lost,
a -x b : a -x b,
b x- c : b x- c,
g -x g : g -x g,
h x- h : h x- h;
0 -- a : emphasised,
a :> b : a :> b,
b <: c : b <: c,
c <:> d : c <:> d,
e <:> d : e <:> d,
e :: f : e :: f,
g :: f : g :: f,
g :> g : g :> g,
h <: h : h <: h,
i <:> i : i <:> i,
j :: j : j :: j;
0 -- a : note,
b note c : b note c,
e note d : e note d,
g note g : g note g;
0 -- a : box,
b box c : b box c,
e box d : e box d,
g box g : g box g;
0 -- a : rbox,
b rbox c : b rbox c,
e rbox d : e rbox d,
g rbox g : g rbox g;
0 -- a : abox,
b abox c : b abox c,
e abox d : e abox d,
g abox g : g abox g;
0 -- a : empty row,
||| : |||;
... : ...\n(omitted row);
0 -- a : comment,
--- : ---;
0 -- a : broadcasts;
a -> "*" : a -> *;
"*" <- c : * <- c;
b <-> "*" : b <-> *;
d => "*" : d => *;
"*" <= e : * <= e;
d <=> "*" : d <=> *;
f >> "*" : f >> *;
"*" << g : * << g;
f <<>> "*" : f <<>> *;
h =>> "*" : h =>> *;
"*" <<= i : * <<= i;
h <<=>> "*" : h <<=>> *;
j -x "*" : j -x *;
"*" x- k : * x- k;
a :> "*" : a :> *;
"*" <: c : * <: c;
b <:> "*" : b <:> *;

# not supported by mscgen:  
#  "*" <-> b, "*" <=> e, "*" <<>> g, "*" <<=>> i, "*" <:> b
||| : "options used: hscale=\"0.6\", arcgradient=\"18\"";

/*
    This file is part of mscgen_js.

    mscgen_js is free software: you can redistribute it and/or
    modify it under the terms of the GNU General Public License as
    published by the Free Software Foundation, either version 3 of
    the License, or (at your option) any later version.

    mscgen_js is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public
    License along with mscgen_js. If not, see 
    <http://www.gnu.org/licenses/>.
*/