1 // Steps to generate AccessibleCaretEventHubStates.png
3 // 2. dot -T png -o AccessibleCaretEventHubStates.png AccessibleCaretEventHubStates.dot
5 // Note: If the edge has 'constraint=false', it is not used in ranking the
6 // nodes. http://www.graphviz.org/doc/info/attrs.html#d:constraint
8 digraph event_hub_states {
10 edge [
color=
"gray30", fontcolor=
"gray20", fontsize=
12]
12 NoAction [
label=
"NoAction\n(Initial)"color=
"#96FF2F"]
;
13 NoAction
-> PressCaret [
label=
"Press & on a caret"]
;
14 NoAction
-> PressNoCaret [
label=
"Press & not on a caret"]
;
15 NoAction
-> Scroll [
label=
"Scroll start"]
;
17 PressCaret [
color=
"#84D8FF"]
;
18 PressCaret
-> DragCaret [
label=
"Move & distance is large"]
;
19 PressCaret
-> NoAction [
label=
"Release (synthesizing a tap)"]
;
21 DragCaret [
color=
"#84D8FF"]
;
22 DragCaret
-> DragCaret [
label=
"Move"]
;
23 DragCaret
-> NoAction [
label=
"Release"]
;
25 PressNoCaret [
color=
"#E8C516"]
;
26 PressNoCaret
-> NoAction [
label=
"Move & distance is large or\nRelease or\nBlur"]
;
27 PressNoCaret
-> LongTap [
label=
"Long tap"]
;
28 PressNoCaret
-> Scroll [
label=
"Scroll start", constraint=false]
;
30 LongTap [
color=
"#E8C516"]
31 LongTap
-> NoAction [
label=
"Release"]
;
32 LongTap
-> Scroll [
label=
"Scroll start", constraint=false]
;
34 Scroll [
color=
"#FF9022"]
35 Scroll
-> NoAction [
label=
"Scroll end"]
;
36 Scroll
-> NoAction [
label=
"Blur"]
;