previous | start | next

A Directed Graph with a Cycle

This graph with the direction of one edge reversed now has a directed cycle.

The initial state of the data structures for topological sort are shown along with the graph representation.

A directed graph with a directed cycle.



previous | start | next