A bot used for https://code-your-snake.codingmaster398.repl.co/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
727 B
20 lines
727 B
2 years ago
|
digraph controller_states {
|
||
|
rankdir=LR;
|
||
|
size="10,8"
|
||
|
node [shape = circle];
|
||
|
none -> before [ label = "init" ];
|
||
|
before -> starting [ label = "start" ];
|
||
|
starting -> searching [ label = "search" ];
|
||
|
searching -> starting [ label = "restart" ];
|
||
|
searching -> paused [ label = "pause" ];
|
||
|
searching -> finished [ label = "finish" ];
|
||
|
paused -> searching [ label = "resume" ];
|
||
|
paused -> before [ label = "cancel" ];
|
||
|
finished -> starting [ label = "restart" ];
|
||
|
finished -> before [ label = "clear" ];
|
||
|
finished -> modified [ label = "modify" ];
|
||
|
modified -> starting [ label = "start" ];
|
||
|
modified -> before [ label = "clear" ];
|
||
|
}
|
||
|
|