summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-16.mp
diff options
context:
space:
mode:
Diffstat (limited to 'info/examples/lgc2/4-3-16.mp')
-rw-r--r--info/examples/lgc2/4-3-16.mp15
1 files changed, 15 insertions, 0 deletions
diff --git a/info/examples/lgc2/4-3-16.mp b/info/examples/lgc2/4-3-16.mp
new file mode 100644
index 0000000000..2b39418a3c
--- /dev/null
+++ b/info/examples/lgc2/4-3-16.mp
@@ -0,0 +1,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;