public class DependencyGraph
extends java.lang.Object
This implements a directed graph which can be used to determine a
partial ordering of the nodes using a topological sort. The graph
traversal is done using a destructive breadth-first search. Cycle
detection is also done.