Skip to content

algorithm-visualzier/algorithm-visualizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm Visualizer

Authors

  • Mikołaj Piróg (@aetn23)
  • Mikołaj Wasiak (@RudyMis)

Overview

A Rust application to edit graphs and run selected algorithms on them.

Inspiration: this editor

To create and edit graphs simply pick appropriate option from GUI. Run algorithms by selecting a starting node and desired algorithm. Move the graph around with WSAD, rotate it with QE, zoom with mouse wheel. Use forces sliders to adjust gravity.

It is also possible to write in the node: to do so right click on the node and start writing while keeping your cursor inside of the node. There is 10 character limit for readability.

Libraries

Petgraph for graphs structures, egui_tetra for graphics. egui_tetra is a wrapper for egui, a gui library, and tetra, a library for game development.

We also use dyn_partial_eq because of this.

Installation

Petgraph and egui install their dependencies from crates - no work required on our part. Tetra has some dependencies that need to be installed manually - see this.

About

A rust application to edit graphs and run selected algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%