summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-16.mp
blob: 2b39418a3c9e3458fe99573885572d9b572c61c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
% --- start of displayed preamble in the book ---
input metauml
% --- end of displayed preamble in the book ---
defaultfont:="ptmr8r";
warningcheck:=0;
beginfig(1)
Class.A("A")()();
Class.B("B")()();
B.sw=A.ne+(30,10);
drawObjects(A,B);
z=A.se + (30,-10);
link(transition)
    (pathCut(A,B)(A.c--z--B.c));
endfig;
end;