Skip to content

A visualiser which displays the process of graph algorithms on complete graphs such as: Prim's, Kruskal's, Graham Scan, Nearest Neighbour and 2-Opt. The project was primarily a learning tool to help me improve my ability using JavaScript and better understand graph algorithms.

License

Notifications You must be signed in to change notification settings

KyleGough/graph-algorithm-visualiser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Algorithm Visualiser

Website Badge

Web application which visualises the process of various graph algorithms on randomised nodes. The application can simulate Prim's and Kruskal's algorithm for constructing minimum spanning trees, Graham scan to construct convex hulls, Greedy algorithm to construct minimal matchings, and Nearest neighbour with 2-Opt to create Hamiltonian cycles.

Algorithms

  • Graham Scan - Convex Hull
  • Prim's - Minimum Spanning Tree
  • Kruskal's - Minimum Spanning Tree
  • Greedy - Minimal Matching
  • Nearest Neighbour - Hamiltonian Path
  • Nearest Neighbour with 2-Opt - Hamiltonian Path
  • Random Tour - Hamiltonian Path

Screenshot

2022-10-01-224238_1920x1080_scrot

About

A visualiser which displays the process of graph algorithms on complete graphs such as: Prim's, Kruskal's, Graham Scan, Nearest Neighbour and 2-Opt. The project was primarily a learning tool to help me improve my ability using JavaScript and better understand graph algorithms.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published