From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- info/examples/lgc2/4-3-18.mp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 info/examples/lgc2/4-3-18.mp (limited to 'info/examples/lgc2/4-3-18.mp') diff --git a/info/examples/lgc2/4-3-18.mp b/info/examples/lgc2/4-3-18.mp new file mode 100644 index 0000000000..064e9e731a --- /dev/null +++ b/info/examples/lgc2/4-3-18.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.P("Person")()(); +Class.C("Company")()(); +P.e=C.w+(-50,0); +drawObjects(P,C); +draw P.e--C.w; +item.aName(iAssoc)("works for") + (aName.s=.5[P.e,C.w]); +endfig; +end; -- cgit v1.2.3