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
|
#!/usr/bin/mscgen -Tpng
#
# testinput18.msc: Example MSC using boxes
#
# This file is PUBLIC DOMAIN and may be freely reproduced, distributed,
# transmitted, used, modified, built upon, or otherwise exploited by
# anyone for any purpose, commercial or non-commercial, and in any way,
# including by methods that have not yet been invented or conceived.
#
# This file is provided "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
# EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
#
msc {
A, B, C, D;
|||;
A box A [label="Single Line Text"],
B box B [label="Double Line\nOf Text"],
C box C [label="Tripple\nLine\nOf Text"],
D box D [label="Quadruple\nLine\nOf\nText"];
|||;
D box D [label="Single Line Text"],
C box C [label="Double Line\nOf Text"],
B box B [label="Tripple\nLine\nOf Text"],
A box A [label="Quadruple\nLine\nOf\nText"];
|||;
A box A [label="Single Line Text"],
C box C [label="Tripple\nLine\nOf Text"];
|||;
B box B [label="Double Line\nOf Text"],
D box D [label="Quadruple\nLine\nOf\nText"];
|||;
A box B [label="Single Line Text"],
C box D [label="Tripple\nLine\nOf Text"];
}
|