Giter Site home page Giter Site logo

graph-visualization / graph-api Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 8.0 5.94 MB

Backend containing all the algorithms of graphs

Home Page: http://graph-apiv1.herokuapp.com

JavaScript 64.31% HTML 34.12% CSS 1.47% PHP 0.10%
algorithms beta-stage graph rest-api

graph-api's People

Contributors

130sayan avatar aaditya-ag avatar allcontributors[bot] avatar biswajitghosh98 avatar codewithvk avatar debanjan2001 avatar dependabot[bot] avatar devartstar avatar iamrajiv avatar yashrsharma44 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

graph-api's Issues

Instructions for running the backend

It would be nice if someone could document the instructions required to run the backend in the local computer.

Since this is a priority issue, the maintainers would self-assign this after 10th December.

Anyone with basic knowledge of NodeJS can easily document the steps.

Revamp the Base Class for graph representation

Currently, we use the graph_base.js as a base class for Graph Objects. Different Algorithms use this class for creating a graph object using the public methods that we have currently. However, the internal implementation of graph methods is really obfuscated/complex, which makes it tough to understand and maintain.

Simplify the internal implementation of the graph object.

Before solving the issue, please discuss a small implementation approach before sending in a PR.

Creating Goroutines for faster computation

Currently our tech-stack uses NodeJS for backend and Vanilla JS for frontend. We would love to add in a separate backend service using Golang for running algorithms in a distributed manner(using goroutines for tasks) which can be parallelized.

This is an advanced issue, so it would require planning and approach to solve it, more like a rough proposal about the implementation details, before tackling it.
Requires basic knowledge of Golang and HTTP package of Golang, along with knowledge of Goroutines.

Implement the algorithms for Graph Traversal II

Algorithms for Graph Traversal II -

  • Bipartite graph check
  • Graph edges property check via DFS spanning tree
  • Finding articulation points and bridges
  • Finding strongly connected components in directed

Visualizing the output

This feature was part of this project since its inception. However, for simplicity purpose, we still haven't worked on this issue yet, so it would be nice to visualize the algorithms that are used. Currently, we have only graph algorithms, so any visualization of output using graph algorithms would be nice for the user to consume them.

Cleanup of the website

The current structure contains a lot of files in a scattered way.
Restructure the files as follows -

  • src - contains the app.js and all the HTML/CSS files
  • algorithms - contains all the algorithms associated with the app
  • visualization - contains all the codes for visualization
  • ads - Contains all the Abstract Data Structures and Base Classes.

Or if time permits, a stretch goal can be to structure the codebase as - link

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.