Simple dependency graph that allows circular dependencies