| 1 | digraph G { |
| 2 | rankdir=LR; |
| 3 | |
| 4 | subgraph inputs { |
| 5 | input1 |
| 6 | input2 |
| 7 | label = "Memory"; |
| 8 | } |
| 9 | |
| 10 | subgraph outputs { |
| 11 | Rock |
| 12 | Paper |
| 13 | Scissors |
| 14 | } |
| 15 | |
| 16 | input1 -> Rock [label="Paper"] |
| 17 | input1 -> Rock [label="Rock"] |
| 18 | input1 -> Rock [label="Scissors"] |
| 19 | input1 -> Paper [label="Rock"] |
| 20 | input1 -> Paper [label="Paper"] |
| 21 | input1 -> Paper [label="Scissors"] |
| 22 | input1 -> Scissors [label="Rock"] |
| 23 | input1 -> Scissors [label="Paper"] |
| 24 | input1 -> Scissors [label="Scissors"] |
| 25 | input2 -> Rock [label="Paper"] |
| 26 | input2 -> Rock [label="Rock"] |
| 27 | input2 -> Rock [label="Scissors"] |
| 28 | input2 -> Paper [label="Rock"] |
| 29 | input2 -> Paper [label="Paper"] |
| 30 | input2 -> Paper [label="Scissors"] |
| 31 | input2 -> Scissors [label="Rock"] |
| 32 | input2 -> Scissors [label="Paper"] |
| 33 | input2 -> Scissors [label="Scissors"] |
| 34 | } |