Reverting change where DirectedGraph was removed.
Fix build after revert.
Rename DirectedGraph to DirectedAdjacencyList.