(Interactive BFS/DFS Algorithm Explorer)
A visual tool demonstrating graph traversal algorithms in action. This web application helps users understand Breadth-First Search (BFS) and Depth-First Search (DFS) algorithms through interactive visualizations. Create custom graphs and watch the algorithms explore nodes in real-time with step-by-step animations.
- Python (
Flask
backend) - JavaScript
- NetworkX (Graph processing)
- HTML5/CSS3 (Responsive UI)
Follow the steps below to run the project locally:
git clone https://github.com/mazen-alasas/GraphTraversal-Visualizer.git
cd GraphTraversal-Visualizer
python -m venv venv
venv\Scripts\activate
.\venv\Scripts\Activate.ps1
pip install -r requirements.txt
python run.py
Note: Make sure you're running the command from the root directory where run.py
is located.
graph-visualizer/
├── app/
│ ├── 📂 algorithms/
│ │ ├── __init__.py
│ │ ├── bfs.py
│ │ └── dfs.py
│ ├── 📂 static/
│ │ ├── 📂 css/
│ │ │ └── style.css
│ │ └── 📂 js/
│ │ └── script.js
│ ├── __init__.py
│ └── routes.py
├── 📂 templates/
│ └── index.html
├── README.md
├── data.txt
├── requirements.txt
└── run.py
Mazen Alasas |
Ahmed Ismail |
To create an intuitive educational tool that makes abstract graph algorithms tangible through visualization, helping students and developers grasp traversal concepts faster.
Feel free to reach out!