DevTools Logo

Graph Shortest Path Lab

Graph Shortest Path Lab

Build a graph and replay Dijkstra, A*, or Bellman-Ford step by step in your browser.

Graph builder

Click one node, then another, to add a directed weighted edge.

2271ABCD

Select a node to begin drawing an edge.

About this tool

Create a weighted graph and visualize deterministic Dijkstra, A*, and Bellman-Ford shortest-path steps locally. Graph Shortest Path Lab runs in the browser on DevTools. There is no signup, and your input stays on this device unless the tool explicitly performs a live network lookup.

What this tool does not do

  • Graph Shortest Path Lab is a free in-browser utility, not a hosted API. It does not keep server-side history and is not a substitute for production verification in your own stack.

How do I use this tool?

  1. How do I use Graph Shortest Path Lab?

    Open Graph Shortest Path Lab, enter or paste your input, and copy the result. The page works without an account.