digraph Viewfile {
node [ style = filled ];
atoi [color=green];
chkmalloc [color=green];
close [color=green];
error [color=blue];
exit [color=blue];
fclose [color=green];
fgets [color=red];
fopen [color=green];
fprintf [color=blue];
free [color=blue];
free_list [color=blue];
fstat [color=green];
getopt [color=green];
init_list [color=green];
insert_list [color=green];
main [color=green];
makeargs [color=blue];
makepairs [color=green];
malloc [color=green];
open [color=green];
printf [color=red];
read [color=green];
rewind [color=green];
viewline [color=green];
viewlines [color=green];
walk_list [color=green];
write [color=green];
fclose -> close [color=green];
fgets -> fstat [color=green];
fgets -> read [color=green];
fopen -> open [color=green];
printf -> write [color=green];
main -> fgets [color=blue];
main -> getopt [color=green];
main -> makeargs [color=blue];
main -> makepairs [color=green];
main -> chkmalloc [color=green];
main -> error [color=blue];
main -> viewlines [color=green];
makeargs -> chkmalloc [color=blue];
makepairs -> atoi [color=green];
makepairs -> init_list [color=green];
makepairs -> insert_list [color=green];
makepairs -> chkmalloc [color=green];
free_list -> free [color=blue];
init_list -> chkmalloc [color=green];
insert_list -> chkmalloc [color=green];
walk_list -> error [color=blue];
walk_list -> viewline [color=green];
chkmalloc -> malloc [color=green];
chkmalloc -> error [color=blue];
error -> exit [color=blue];
error -> fprintf [color=blue];
error -> error [color=blue];
viewline -> fgets [color=red];
viewline -> printf [color=red];
viewline -> rewind [color=green];
viewlines -> fclose [color=green];
viewlines -> fopen [color=green];
viewlines -> walk_list [color=green];
viewlines -> viewline [color=blue];
}
