This visualization shows how cycle detection in a directed graph works using depth-first search (DFS). We start DFS from each unvisited node, marking nodes as visited and adding them to a recursion stack to track the current path. When visiting neighbors, if a neighbor is not visited, we recurse into it. If a neighbor is already in the recursion stack, it means we found a back edge, indicating a cycle. After exploring all neighbors, we remove the node from the recursion stack. The execution table traces each step, showing the visited set, recursion stack, and when cycles are detected. The variable tracker shows how visited and recursion stack change over time. Key moments clarify why recursion stack is used and how disconnected graph parts are handled. The visual quiz tests understanding of cycle detection steps and conditions.