GraphAlgos is a small python application that provides a framework for visualizing graph search algorithms using curses (pygcurse library).
- BFS
- DFS
- A*
The dependencies are only installed in the venv folder, so once you do not need them anymore it can safely be deleted.
- Set up a virtual environment:
python -m venv venv
- Activate the virtual environment:
source venv/Scripts/activate
- Install required packages:
pip install -r requirements.txt
- Start example:
python example.py
- The virtual environment can be deactivated with:
deactivate
- First left click will create a starting point.
- Second left click will create a target point.
- Afterwards, left clicking anywhere will create an obstacle (positions that cannot be traversed). Dragging while holding left click down will continuously create obstacles.
- Press Enter to start the graph search.
This project is licensed under the MIT License - see the LICENSE.txt file for details.