This project is a visualization tool for Dijkstra's algorithm, a popular graph algorithm for finding the shortest path between nodes.
This application provides an interactive visualization of Dijkstra's algorithm, allowing users to better understand how the algorithm works by watching it execute step by step. The visualization demonstrates how the algorithm efficiently finds the shortest path between nodes in a graph.
- Visual representation of graphs and the algorithm's execution
- Step-by-step visualization of Dijkstra's algorithm
- Interactive console for command input and feedback
- Customizable display options
.
├── CMakeLists.txt # CMake build configuration
├── project.pro # Qt project file
├── res/ # Resource files (images, etc.)
└── src/ # Source code for the visualization
- Qt 5.15.2 or later
- CMake 3.21 or later
- C++17 compatible compiler
mkdir build
cd build
cmake ..
make- Open the
project.profile in Qt Creator - Configure the project for your development environment
- Click on the Build button or press Ctrl+B
After building, run the executable:
./StarterProjectThe application provides a graphical console with many customization options:
setConsoleFont()- Changes the console fontsetConsoleSize()- Adjusts the console dimensionssetConsoleWindowTitle()- Sets the title of the console windowsetConsoleOutputColor()- Changes the text colorclearConsole()- Clears the console output
This project uses the Qt framework to provide GUI components and console functionality. The graphical elements are built with Qt 5.
The main application code is located in the src/ directory.
This project is for educational purposes.
- Built with Qt framework for cross-platform compatibility