KyleGough / graph-algorithm-visualiser

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.

Home Page:https://kylegough.github.io/graph-algorithm-visualiser/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://kylegough.github.io/graph-algorithm-visualiser/

License:Apache License 2.0


Languages

Language:SCSS 85.4%Language:JavaScript 10.4%Language:HTML 4.2%