summaryrefslogtreecommitdiff
path: root/info/examples/lgc2/4-3-25.mp
blob: 90c13529df2661cd3f1832ea268f0ebdfe7b402e (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)
State.s("An interesting state",
        "which is worth mentioning")();
stateTransitions.s(
  "OnEntry /  Open eyes",
  "OnExit / Sleep well");
s.info.drawNameLine := 1;
drawObject(s);
endfig;
end;