Python, visualized
An interactive graph editor where real Python drives the canvas — write a traversal, press run, and see every step animate in front of you.
visited = set()
def dfs(node):
if node in visited:
return
visited.add(node)
for neighbour in graph.getNeighbors(node):
dfs(neighbour) # the canvas animates as the graph is read
dfs("A")