add dependency graph