Add Node: Click "Add Node" to create nodes A-Z.
First 4 nodes (A-D) form a linear path from Home to School. After
D, nodes connect with 2-3 random edges.
Create Link: Click first node (green highlight
appears) → Click second node to create directed edge.
Remove Link: Click same two nodes again to delete
existing edge.
Edit Weight: Double-click on any edge, enter new
weight (1-999) in popup.
Move Node: Click and drag any node to reposition.
Physics simulation auto-adjusts connected nodes.
Playback Controls: Use ⏮️ (first), ◀️ (previous),
▶️ (play/pause), ▶️ (next), ⏭️ (last) buttons to control
step-by-step execution.
Speed Control: Adjust slider (0.25x-4.0x) to
change auto-play speed.
Step Table: Draggable/resizable window shows
algorithm state per iteration. Each row represents one iteration.
Columns show (distance, previous) for each node.
Path Selector: Choose any destination from
dropdown to highlight shortest path from Home in purple.
Stop: Click "Stop" button to end visualization
and re-enable graph editing.
Understanding Step Table
Yellow Cell (★): Chosen node - currently being
processed by algorithm.
Green Cell: Updated node - distance was improved
(edge relaxed) in this step.
Yellow Border: Checked node - edge is being
evaluated but not improved.
Gray Cell (-): Visited node - already processed,
no longer in frontier.
Blue Row: Current step being displayed.
Faded Rows: Previous steps already executed.
Cell Format: (distance, previous_node) - e.g.,
(15, A) means distance 15 via node A.
(∞, -): Infinity - node not yet reachable from
source.
Visual Indicators
Green Ring: Selected node for creating link, or
algorithm initialization.
Blue Ring: Current node being processed (SELECT
step).
Yellow Edge: Edge being checked (CHECK step).
Green Edge: Edge successfully relaxed (UPDATE
step).
Purple Path: Highlighted shortest path from Path
Selector.
Gray Nodes: Visited/processed nodes during
algorithm.
Dimmed Graph: When path selected, non-path
elements dimmed.
Import/Export
Export: Generates adjacency matrix. Node order:
Home, A-Z alphabetically, School. Click "Copy to Clipboard" to
copy.
Import: Paste comma-separated adjacency matrix.
Must be square (NxN). Auto-detects directed (asymmetric) vs
undirected (symmetric) from matrix structure.