-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path04-simple-boolean-with-reset.dot
69 lines (63 loc) · 1.16 KB
/
04-simple-boolean-with-reset.dot
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
59
60
61
62
63
64
65
66
67
68
69
digraph "04-simple-boolean-with-reset" {
splines = polyline;
rankdir = LR;
node [
shape = circle
fontname = "Roboto"
fontsize = 11
width = 1.35
margin = 0
];
edge [
fontname = "Roboto"
fontsize = 11
];
off [
label = "encrypted = false,\nbutton raised"
];
on [
label = "encrypted = true,\nbutton pressed"
];
subgraph { rank = same; on_confused; off; };
subgraph { rank = same; off_confused; on; };
off_confused [
label = "encrypted = true,\nbutton raised"
shape = square
];
on_confused [
label = "encrypted = false,\nbutton pressed"
shape = square
];
off:e -> off_confused [
label = "click 2\np = 0.1"
color = grey90
weight = 1
];
off:e -> on [
label = "click 2\np = 0.9"
color = grey10
weight = 9
];
on:w -> on_confused [
label = "click 1\np = 0.1"
color = grey90
weight = 1
];
on:w -> off [
label = "click 1\np = 0.9"
color = grey10
weight = 9
];
off_confused:s -> off:s [
color = red
weight = 1
];
on_confused:s -> off:s [
color = red
weight = 1
];
on:s -> off:s [
color = red
weight = 1
];
}