summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/metapost/metauml/metauml_manual/fig/mptrace.tmp
blob: 95b723d1b3ae316cae50bb666f62b131eb6ab4bc (plain)
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

input metauml_note;
input metauml_base;
input metauml_paths;
input metauml_links;
input metauml_class_relations;

beginfig(1);
  Note.foo("Antananarivo", "Machupichu");
  drawObject(foo);
endfig;

beginfig(2);
  save foo;
  Note.foo("Please disregard this note");
  Note.bar("Please take the other note", "very seriously");

  bar.s = foo.n + (10,20);
  drawObjects(foo, bar);
  clink(dashedLink)(foo, bar);
endfig;

end

end