Skip to content

A web app visualization tool for common graph theory algorithms BFS, and DFS. Designed in vanilla HTML, CSS, Javascript stack.

Notifications You must be signed in to change notification settings

KyleAlanJeffrey/Graph-Theory-Visualizer-Redux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Theory Redux Tool

A work in progress upgrade of a previous project I started, visualizing graph theory algorithms like BFS, DFS and Djikstras alogirthms. Link to web hosted project: Graph Theory Redux Tool.

General Code Explanation

The nodesArray and edgesArray global arrays hold all the node and edge information. Each node objects has its own HTML Element and position information. The edges are based on the nodes and update their positions from the nodes they are connected to. The global requestFrameAnimation() function animates everything. Each nodes location is kept in an x in y property and update the HTML element with the update() function. This added a layer of abstraction that was originally intended to give the nodes velocity more easily.

About

A web app visualization tool for common graph theory algorithms BFS, and DFS. Designed in vanilla HTML, CSS, Javascript stack.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published