Skip to content

sadeemsattar/Algorithms_Visualizer_Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Implementation and Visualization of Graph Algorithms using NetworkX and Tkinter

Algorithm visualization aims to facilitate the understanding of algorithms by implementing graphical user interface and animation to verify the execution of algorithms on selected input data file. The purpose of this project was to analyze the computation of graph algorithms.

Algorithms Implemented

• Prims Algorithm • Kruskal Algorithm • Dijkstra Algorithm • Bellman Ford Algorithm • Floyd Warshall Algorithm • Boruvka Algorithm • Clustering Coefficient

Input Files

A benchmark file is provided that include the input files containing 1 - 10 benchmark files having 10-100 Nodes.

Experimental Setup

• Visual Studio Code as Code Editor • Python Installation for using it as programming language. • Installation of NetworkX Library for creation, manipulation and study of the structure of complex networks. • Installation of matplotlib library for low level graph plotting. • Installation of Tkinter library for Graphical User Interface.

Step To Run:

  1. Open vs code terminal in the current directory of AlgoProject
  2. Write python interface.py
  3. Program execute and an interface window is open
  4. Now first select no of nodes from drop down menue of interface window
  5. And then click on select node button
  6. This operation read the file and to verify the file name is shown in terminal
  7. Now from algorithm to apply drop down select algorithm to apply
  8. This operation show the graph window af selected algorithm
  9. Now close the graph window and repeat step 4 to apply other algorithm on same no of nodes or by selectig different
  10. to terminate the program close interface window

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages