MsGenny language - more

MsGenny language tutorial 2

MsGenny was designed to make writing sequence charts in text even simpler than it already is in MscGen.

Options: arcgradient, hscale, width, wordwraparcs

With arcgradient all lines get skewed a little.

Options go on top


client => server : SYN;
server => client : SYN + ACK;
client => server : ACK;

arcgradient

horizontally scales

hscale horizontally scales the chart a bit. Numbers bigger than 1 enlarge it; smaller than 1 shrink it.


client => server : SYN;
server => client : SYN + ACK;
client => server : ACK;

hscale

and width scales the whole chart so it fits in exactly the amount of pixels width.


client => server : SYN;
server => client : SYN + ACK;
client => server : ACK;

width

wordwrap

The default behaviour for regular (= not note, box, abox or rbox) arcs is that text does not get wrapped. To override this you can use the boolean wordwraparcs option. Just like the other options, this one was copied from MscGen. MscGen not only accepts true and false, but also on and off and 1 and 0 all with or without quotes.

a =>   b : This will get wrapped when wordwraparcs=true;
a note b : "Text in notes, boxes (box, abox, rbox)
            and entities always gets wrapped.
            Wordwraparcs does not influence that
            behaviour.";
b => a : "done";

wordwraparcs

a =>   b : This will get wrapped when wordwraparcs=true;
a note b : "Text in notes, boxes (box, abox, rbox)
            and entities always gets wrapped.
            Wordwraparcs does not influence that
            behaviour.";
b => a : "done";

wordwraparcs2