Add dependency graph