scons2dot is a program that creates a graphviz .dot file that represents the build dependencies described in a scons's SConstruct file.
It runs scons with debug options in the current directory, and prints the .dot file. Redirect scons2dot output to a file in order to save the graph, and then run graphviz on it.