-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgraph.dot
More file actions
1 lines (1 loc) · 2.94 KB
/
graph.dot
File metadata and controls
1 lines (1 loc) · 2.94 KB
1
digraph G{ graph [bgcolor=black]; edge [color=white]; graph[page="8.5,11",size="7.5,7", ratio=fill, center=1]; node[style=filled,label=""]; subgraph start {rank = same; node[shape = invtrapezium, fillcolor= "yellow" , label="START" , style = " filled, rounded"]; start; }subgraph end {rank = same; node[shape = trapezium, fillcolor= "yellow" , label="END" , style = "filled, rounded" ]; end; }subgraph variable_double {node[shape=ellipse,color=pink3, label="double a"]; main_double4; }subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="a=10"]; main_assignment5}subgraph variable_int {node[shape=ellipse,color=pink4, label="int b"]; main_int3; }subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="b=15"]; main_assignment4}subgraph variable_long {node[shape=ellipse,color=pink2, label="long c"]; main_long2; }subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="c=9"]; main_assignment3}subgraph variable_int {node[shape=ellipse,color=pink4, label="int max"]; main_int1; }subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="max=0"]; main_assignment2}subgraph if {rank = same; node[shape=diamond,color=skyblue3, label="a>max"]; main_block3;}subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="a=max"]; main_block3_assignment1}subgraph if {rank = same; node[shape=diamond,color=skyblue3, label="b>max"]; main_block2;}subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="b=max"]; main_block2_assignment1}subgraph if {rank = same; node[shape=diamond,color=skyblue3, label="c>max"]; main_block1;}subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="c=max"]; main_block1_assignment2}subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="c=max"]; main_block1_assignment1}subgraph action{node[shape=box, fillcolor="limegreen",style="filled,rounded" , label="a=6"]; main_assignment1}subgraph test {start->main_double4;main_double4->main_assignment5;main_assignment5->main_int3;main_int3->main_assignment4;main_assignment4->main_long2;main_long2->main_assignment3;main_assignment3->main_int1;main_int1->main_assignment2;main_assignment2->main_block3;main_block3->main_block3_assignment1[label = " true" , fontcolor = " green", color="green"];main_block3->main_block2[label = " false" , fontcolor = " red", color="red"];main_block3_assignment1->main_block2;main_block2->main_block2_assignment1[label = " true" , fontcolor = " green", color="green"];main_block2->main_block1[label = " false" , fontcolor = " red", color="red"];main_block2_assignment1->main_block1;main_block1->main_block1_assignment2[label = " true" , fontcolor = " green", color="green"];main_block1_assignment2->main_block1_assignment1;main_block1->main_assignment1[label = " false" , fontcolor = " red", color="red"];main_block1_assignment1->main_assignment1;main_assignment1->end;}}