Skip to main content
Skip to main content
Page

Module 3

Graph Theory

Build and explore graphs interactively. Run BFS and DFS traversals, find shortest paths with Dijkstra's algorithm, and inspect the adjacency matrix.

Graph Builder & BFS / DFS

Mode:

Drag nodes to reposition them.

ABCDEF

Traversal

6
Nodes |V|
6
Edges |E|
Yes
Connected
Yes
Has Cycle

Adjacency Matrix

ABCDEF
A011000
B100110
C100011
D010000
E011000
F001000

Dijkstra's Shortest Path

Dijkstra's Shortest Path

Select source and target nodes, then run the algorithm

Source:
Target:
425103872ABCDEF