Prevent exploring forward dependencies.

Many times people want a graph of what needs to be done for their
project, not what can be done when something is written.