add dependency info to plot