Skip to content

faddock/graph-coloring-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Graph Coloring Visualizer

graph title img

graph App screen

ABOUT THIS PROJECT

The Graph coloring Visualizer allows a user to create a graph and calculate its chromatic number while also providing a visualization of it. This will help students taking Discrete Structures(CS 173) to find the chromatic number of any given graph.

The coloring algorithm is called backtracking and was written from scratch, based on pen-and-paper methods of sovling graph coloring. The graph visualizer has touch screen support, and allows resizing of the nodes, along with deleting and drawing individual edges. For quick graph construction, it has a 'connect all nodes' feature.

DEPENDENCIES

Windows or Mac

* for Windows users, download Visual Studio Code as well

GETTING STARTED

  • Download Cinder v0.9.2 for your platform
  • Open the ~/Cinder folder in your C++ IDE and click the green build button to build libcinder.
  • Download this repository into a new folder in the ~/Cinder folder
  • Open this folder in your C++ IDE and click run to play the game!

CONTROLS

Key Action
DELETE Clear graph board
SPACE / ENTER Calculate Chromatic Number
V Vertex Mode
E Edge Mode
R Remove Mode
S Save graph
L Load graph

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published