-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.dot
More file actions
58 lines (58 loc) · 2.44 KB
/
example.dot
File metadata and controls
58 lines (58 loc) · 2.44 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
digraph {
0 [ shape=doublecircle,fillcolor=chartreuse,style=filled,label="START" ];
0 -> 2;
1 [ shape=doublecircle,fillcolor=firebrick,style=filled,label="END" ];
2 [ shape=hexagon,fillcolor=powderblue,style=filled,label="CREATE price 10" ];
2 -> 3;
3 [ shape=hexagon,fillcolor=powderblue,style=filled,label="CREATE random 0" ];
3 -> 4;
4 [ shape=cds,fillcolor=orange,style=filled,label="haggle" ];
4 -> 5;
5 [ shape=box,fillcolor=none,style=filled,label="T[22]",tooltip="Do you want to haggle?" ];
5 -> 6;
6 [ shape=triangle,fillcolor=cornsilk,style=filled,label="?" ];
6 -> 8 [ label="Haggle." ];
6 -> 16 [ label="Accept the price." ];
8 [ shape=hexagon,fillcolor=powderblue,style=filled,label="RANDOM random 1 10" ];
8 -> 9;
9 [ shape=diamond,fillcolor=cornsilk,style=filled,label="rand < price" ];
9 -> 10 [ label="Y" ];
9 -> 13 [ label="N" ];
10 [ shape=box,fillcolor=none,style=filled,label="T[10]",tooltip="It worked." ];
10 -> 11;
11 [ shape=hexagon,fillcolor=powderblue,style=filled,label="SET price - 1" ];
11 -> 12;
12 [ shape=point,fillcolor=none,style=filled,label="" ];
12 -> 4;
13 [ shape=box,fillcolor=none,style=filled,label="T[16]",tooltip="It did not work." ];
13 -> 14;
14 [ shape=point,fillcolor=none,style=filled,label="" ];
14 -> 4;
16 [ shape=point,fillcolor=none,style=filled,label="" ];
16 -> 17;
17 [ shape=cds,fillcolor=orange,style=filled,label="main" ];
17 -> 18;
18 [ shape=box,fillcolor=none,style=filled,label="T[32]",tooltip="One, two, don't know what to do." ];
18 -> 19;
19 [ shape=triangle,fillcolor=cornsilk,style=filled,label="?" ];
19 -> 21 [ label="How much is the fish?" ];
19 -> 24 [ label="Faster Harder Scooter." ];
19 -> 27 [ label="Endless summer." ];
19 -> 30 [ label="Move your ass." ];
21 [ shape=box,fillcolor=none,style=filled,label="T[26]",tooltip="The fish is ${price} gold." ];
21 -> 22;
22 [ shape=point,fillcolor=none,style=filled,label="" ];
22 -> 1;
24 [ shape=box,fillcolor=none,style=filled,label="T[37]",tooltip="This was very exhausting.Never again!" ];
24 -> 25;
25 [ shape=point,fillcolor=none,style=filled,label="" ];
25 -> 17;
27 [ shape=box,fillcolor=none,style=filled,label="T[21]",tooltip="The summer continues." ];
27 -> 28;
28 [ shape=point,fillcolor=none,style=filled,label="" ];
28 -> 17;
30 [ shape=box,fillcolor=none,style=filled,label="T[33]",tooltip="Sorry, you don't see any animals." ];
30 -> 31;
31 [ shape=point,fillcolor=none,style=filled,label="" ];
31 -> 17;
}