learngraphtheory.org

Interactive Graph Theory Learning

Guest User

Using app without sign in

Cover of the book Optimization in Python

New book

Optimization in Python

PuLP, OR-Tools and Pyomo by Example

By Mohammed Islam Hadjoudj

Turn real business decisions into optimization models and solve them in Python with free, open-source tools.

Available inKindlePaperback

412 pages

Algorithm Selection

Select an algorithm and generate steps to begin visualization

BFS Visualizer Online

Interactive breadth-first search visualizer

Explores graph level by level, visiting all neighbors before moving deeper

Time: O(V + E)
Space: O(V)
Use Case: Shortest path in unweighted graphs, level-order traversal
Algorithm Execution

Select an algorithm and generate steps to begin visualization

All Graph Theory Algorithms

Browse all 31 interactive algorithm visualizers, grouped by topic. Open any one to build a graph and watch the algorithm run step by step.

Browse the graph theory lessons · Read the in-depth articles

Interactive Controls
Basic Actions
• Double Click → Add Node
• Drag → Move Nodes
• Shift + Click → Connect Nodes
• Right Click → Context Menu
Advanced
• Ctrl + Click → Multi-Select
• Delete Key → Remove Selected
• Double Click Edge → Edit Weight
• Ctrl + Drag → Pan View

Zoom Controls

100%
Nodes: 4
Edges: 4