navgraph dsa
Route from
Destinations Click any location to route
API Online
Swagger /docs

Campus Metro Station

1.4 km • ~14 min via Dijkstra
100% Optimal
~14 min
6 Explored

Optimal Shortest Path via Academic Spine

Shortest path computed across weighted graph edges.

Click any node on the map to set Origin

DSA Traversal Inspector

Dijkstra's Min-Heap Exploration
Step 0 / 0
READY --

Run "Compute Route" or click any destination to generate step-by-step min-heap relaxations and queue operations.

Speed: 650ms
Min-Heap Priority Queue / Frontier 0 items

Active frontier nodes prioritized by cumulative weight g(n) or f(n):

No active frontier. Route to inspect.
Visited Set (Closed List) 0 visited
No nodes visited yet.
Tentative Distances (Relaxation)
Distances will update at each edge relaxation step.
Turn-by-Turn Leg Navigation 0 legs
Select a destination to compute turns.
Time: O((V+E) log V)
Space: O(V)
Hops: 0 hops

DSA Lab & Graph Topology

Configure Metric, Waypoints & Modify Vertices
Cost Metric Weight
Intermediate Waypoints
Add New Vertex (Node)

Click "Pick GPS" to capture coordinates directly from the map.

Connect Vertices (Edge / Road)
Reset Active Preset

Discard modifications and reload factory verified topology.

Graph Algorithm Benchmark & Analysis

Dijkstra vs A* (Haversine) vs BFS vs DFS on identical topology
Automated DSA Algorithmic Analysis

Executing algorithmic benchmark between selected endpoints...

Algorithm Distance (km) Effective Cost Est. Time Hops Nodes Explored Peak Frontier Exec Time (ms) Big-O Time Optimality

Graph Structure & Adjacency Representation

Direct serialized graph model returned from Backend API (Exp 14)

        

Road Traffic Inspector

Corridor
Origin ⇆ Dest
Base Distance: -- km
Current Multiplier: 1.0x

navgraph dsa

Intelligent Route Navigator & Graph Visualizer

navgraph dsa is an intelligent spatial routing engine built for Data Structures and Algorithms Experiments 14 & 15 (Minor Project).

Dijkstra's Algorithm: Custom Min-Heap Priority Queue for guaranteed optimal shortest cost on weighted graphs.
A* Heuristic Search: Great-circle Haversine distance heuristic h(n) for directed goal-seeking.
BFS & DFS Traversal: Breadth-First fewest-hops and Depth-First reachability exploration.
Interactive Step Player: Step-by-step min-heap frontier, closed visited set, and edge relaxation playback.
Swagger API Docs