Topological Sort — Kahn's Algorithm Visualization

Ready queue (in-degree 0)
Topological order (emitted)
Click Sample DAG then Run to watch Kahn's algorithm.
Vertices: 0
Edges: 0
Emitted: 0
Queue: 0
Step: 0
unprocessed ready (in-deg 0) emitting emitted stuck in cycle

Operation Log