/graphTheory-Visualizer

graph theory visualizer using p5js and TypeScript.

Primary LanguageJavaScriptMIT LicenseMIT

graphTheory-Visualizer

Project made to visualize operations that can be done in a graph, such as BFS,DFS,Kruskal and Dijkstra.
The goal was to have a continuous display of the various operations, so that if the graph changes while the operation is in progress, the display changes too.

You can access it here (works best on desktop): https://giggiox.github.io/graphTheory-Visualizer/

interface:

other examples:
depth-first search:

dijkstra shortest path between 2 vertices:

kruskal minimum spanning tree:

Project made using p5js and TypeScript.