dependencies uses implementation of dependencyGraph.