Giter Site home page Giter Site logo

graph_creation_animation's Introduction

An interactive graph creation and graph theory visualisation application meant to help people understand how graph theory algorithms work.


DEMONSTRATION

I will now give a demonstration of what a user would see if they were to run this program. First, they would be presented with this GUI which allows them to create their custom graphs. guiimage After selecting the "Add node" button, the user is now able to click on the grey portion and add nodes. nodecreation A user is also able to add edges by selecting the "Add edge" button before clicking on the nodes that they want to edge to be between. edgecreation Finally, by clicking on the "Selection" button, the user is greeted with a number of classic Graph Theory Algorithms. They are also able to select a starting node where they want the algorithm to start on. algoselction After clicking "Run", a gif will be generated, showing the algorithm being run on your custom graph. An example is shown below. gifgeneration

The user interface and graph creation was done using pygame and networkx. The animation of the graphs was done using matplotlib.

Includes: DFS, BFS, Kruskal's and Dijkstras

This project was meant to be a culmination of all the skills learned so far. These include various graph theory algorithms, the OOP paradigm, the use of various python libraries and designing a user friendly interface to allow for a comphrensive experience.

graph_creation_animation's People

Contributors

martinye1234 avatar

Watchers

 avatar  avatar

Forkers

asfbhkasjgfk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.