Makes a graph of dependencies between functions