Simulation of Dijkstra's Algorithm written in C using OpenGL graphics library.
gcc -o dijkstra dijkstra.c -lGL -lglut -lGLU -lm -std=c99
- make sure to install glut on your platform before compiling
- sudo apt-get install freeglut3-dev
./dijkstra
- Use Mouse Left Button to Create Nodes.
- Select any two Nodes to form a Path.
- Use Mouse Right Button to select Source and Destrination.
- Press ENTER key to begin Dijkstra's Algorithm.