Add function to plot task dependency graph
issue