add all local dependencies to graph before resolving