tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

AccessibleCaretEventHubStates.dot (1388B)


      1 // Steps to generate AccessibleCaretEventHubStates.png
      2 // 1. Install Graphviz
      3 // 2. dot -T png -o AccessibleCaretEventHubStates.png AccessibleCaretEventHubStates.dot
      4 //
      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
      7 
      8 digraph event_hub_states {
      9  node [style=filled];
     10  edge [color="gray30", fontcolor="gray20", fontsize=12]
     11 
     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"];
     16 
     17  PressCaret [color="#84D8FF"];
     18  PressCaret -> DragCaret [label="Move & distance is large"];
     19  PressCaret -> NoAction [label="Release (synthesizing a tap)"];
     20 
     21  DragCaret [color="#84D8FF"];
     22  DragCaret -> DragCaret [label="Move"];
     23  DragCaret -> NoAction [label="Release"];
     24 
     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];
     29 
     30  LongTap [color="#E8C516"]
     31  LongTap -> NoAction [label="Release"];
     32  LongTap -> Scroll [label="Scroll start", constraint=false];
     33 
     34  Scroll [color="#FF9022"]
     35  Scroll -> NoAction [label="Scroll end"];
     36  Scroll -> NoAction [label="Blur"];
     37 }