This visual execution trace shows the difference between directed and undirected graphs. We start by creating two nodes, A and B. Then, we add a directed edge from A to B, which means the connection goes only one way. Next, we add an undirected edge between A and B, which connects both nodes in both directions. The execution table tracks each step, showing how edges affect connections. The variable tracker records the state of nodes and edges after each step. Key moments clarify common confusions about edge direction and node roles. The quiz tests understanding by referencing specific steps and variable states. Overall, directed graphs have one-way edges, while undirected graphs have two-way edges, affecting how nodes connect.