% --- 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")(); Class.C("C")("foo:int")(); B.sw=A.e+(10,-10); C.sw=A.nw+(0,20); drawObjects(A,B,C); untilX:=B.left; link(association) (pathHorizontal(A.e,untilX)); untilY:=C.bottom; link(association) (pathVertical(A.n,untilY)); endfig; end;