DEV Community

Cover image for GraphAV - A graph algorithms visualizer built using React and Typescript
Karim Elghamry
Karim Elghamry

Posted on

GraphAV - A graph algorithms visualizer built using React and Typescript

Aim of the project

GraphAV Logo

GraphAV is an open source graph algorithms visualizer built ๐Ÿ’ฏ from scratch using React and Typescript. It strives to facilitate the learning process of anyone who's struggling to grasp the concept of a certain graph algorithm. It can also be used as a tool by teachers to easily introduce a new algorithm to their students ๐Ÿ‘จโ€๐ŸŽ“๐Ÿ‘ฉโ€๐ŸŽ“.

links

website: https://karimelghamry.github.io/GraphAV/
Github repo: https://github.com/KarimElghamry/GraphAV

GraphAV does not include any UI dependencies in its code other than styled-components. ๐ŸŽ‰๐ŸŽ‰

NOTE: touch screen support is yet to be implemented. Use a PC/Laptop for a better experience.

Show some โค๏ธ and โญ the repo to support the project ๐Ÿ˜

Features

โœ”๏ธ Light/Dark themes

โœ”๏ธ Add, move and delete nodes

โœ”๏ธ Directed/Undirected edges

โœ”๏ธ Unweighted edges

โœ”๏ธ Control visualization speed

โœ”๏ธ Control canvas zoom percentage

โœ”๏ธ Shortest paths and predecessor node information

โœ”๏ธ Visited nodes/edges animations

๐Ÿšง Weighted edges (to be implemented)

๐Ÿšง Touch screen support (to be implemented)

๐Ÿšง Save/share graphs (to be implemented)

Available Algorithms

โœ”๏ธ DFS - Depth First Search

โœ”๏ธ DLS - Depth Limited Search

โœ”๏ธ IDDFS - Iterative Deepening Depth First Search

โœ”๏ธ BFS - Breadth First Search (with shortest paths calculations)

โœ”๏ธ Dijkstra (with shortest paths calculations)

๐Ÿšง Bellman-Ford (to be implemented)

๐Ÿšง Floyd-Warshall (to be implemented)

๐Ÿšง A* (to be implemented)

๐Ÿšง Kosaraju (to be implemented)

๐Ÿšง Tarjan's Strongly Connected Components* (to be implemented)

Demo

Top comments (0)