summaryrefslogtreecommitdiffstats
path: root/ui/aura/gestures/gestures.dot
blob: 8ca0efbffe94cc6ab79c86bf8ed0641784c3e494 (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
26
27
28
29
30
31
32
// A diagram of the state machine found in gesture_sequencecc
// To generate a pdf
// dot -Tpdf -ooutputpdf gesturesdot 
//
// If you alter this diagram please update
// sitesgooglecomachromiumorgdevdevelopersdesign-documentsauragesture-recognizer

digraph G {
ratio = 1

legendlabel = "{   \
M : Move          \l
D : Down          \l
S : Stationary    \l
C : Cancel        \l
R : Release       \l"  
shape = record

subgraph none_pending {
GS_NO_GESTURE ->  GS_PENDING_SYNTHETIC_CLICK [label "D0"];
GS_PENDING_SYNTHETIC_CLICK ->  GS_SCROLL [label "M0\n S0"];
GS_PENDING_SYNTHETIC_CLICK ->  GS_PENDING_SYNTHETIC_CLICK [label "M0\n S0"];
GS_PENDING_SYNTHETIC_CLICK ->  GS_NO_GESTURE [label "C0\n R0"];
}

GS_SCROLL ->  GS_SCROLL [label "M0\n M1"];
GS_SCROLL ->  GS_NO_GESTURE [label "C0\n R0\n C1\n R1"];
GS_PENDING_SYNTHETIC_CLICK ->  GS_PINCH [label "D1"];
GS_SCROLL ->  GS_PINCH [label "D0\n D1"];
GS_PINCH ->  GS_PINCH [label "M0\n M1"];
GS_PINCH ->  GS_SCROLL [label "C0\n R0\n C1\n R1"];
}