walpurgis/graphviz/functions/statements/gen_if_statement.dot

33 lines
969 B
Plaintext
Raw Normal View History

2023-11-14 18:11:43 -07:00
digraph fn_gen_if_statement {
labelloc="t";
graph [fontname = "cc wild words"];
node [fontname = "cc wild words"];
edge [fontname = "cc wild words"];
label="fn_gen_if_statement(with_return: Option<GazType>)";
fontname=lovebeat;
rankdir=TB;
newrank=true;
2023-11-15 14:52:41 -07:00
a [label="gen_boolean()" shape=diamond style=filled fillcolor=lightsalmon];
2023-11-14 18:11:43 -07:00
b [label="push new scope"];
2023-11-15 14:52:41 -07:00
c [label="gen_statement(with_return)" shape=diamond style=filled fillcolor=lightsalmon];
2023-11-14 18:11:43 -07:00
d [label="choice"];
e [label="else if"];
2023-11-15 14:52:41 -07:00
f [label="gen_if_statement(with_return)" shape=diamond style=filled fillcolor=lightsalmon];
2023-11-14 18:11:43 -07:00
g [label="else"];
h [label="push new scope"];
2023-11-15 14:52:41 -07:00
i [label="gen_statement(with_return)" shape=diamond style=filled fillcolor=lightsalmon];
2023-11-14 18:11:43 -07:00
j [label="return" style=filled fillcolor=lightskyblue1];
{rank=same; e g}
{rank=same; f i}
a -> b -> c -> d;
d -> e -> f -> d;
d -> g -> h -> i -> j;
d -> j;
c -> c [dir=back];
i -> i [dir=back];
}