jordancurve icon

"COVFEFE" Markov chain in Graphviz DOT language

jordancurve | PRO | 12/02/17 10:30:32 PM UTC | 0 ⭐ | 761 👁️ | Never ⏰ | []
text |

860 B

|

None

|

0 👍

/

0 👎

/*
  "COVFEFE" Markov chain in Graphviz DOT language, to go along with
      https://twitter.com/jordancurve/status/936984541557911553
   To create the corresponding PNG file, install Graphviz, copy this
  paste to the file "covfefe.dot", then run the following command:
       dot -T png -o covfefe.png covfefe.dot
*/
digraph G {
  X [label="X (start here)"];
  X -> C   [label="1/26"]; X -> X [label="25/26"];
  C -> O   [label="1/26"]; C -> C [label="1/26"]; C -> X [label="24/26"];
  O -> V   [label="1/26"]; O -> C [label="1/26"]; O -> X [label="24/26"];
  V -> F1  [label="1/26"]; V -> C [label="1/26"]; V -> X [label="24/26"];
  F1 -> E1 [label="1/26"]; F1 -> C [label="1/26"]; F1 -> X [label="24/26"];
  E1 -> F2 [label="1/26"]; E1 -> C [label="1/26"]; E1 -> X [label="24/26"];
  F2 -> E2 [label="1/26"]; F2 -> C [label="1/26"]; F2 -> X [label="24/26"];
}

Comments