Fixed the printing of the dependence graph