timmh / maxflow

Interactive visualization of maximum flow algorithms

Home Page:https://maxflow.haucke.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maxflow

This is a web application to interactively visualize algorithms to solve the maximum flow problem. Currently, three algorithms are implemented: Edmonds–Karp, Ford–Fulkerson (depth-first) and Push–relabel. Each algorithm can be stepped through line-by-line and the resulting effects are visualized in a graph visualization powered by Cytoscape.js. The algorithms are implemented as generators to provide updated visualizations and can thus translate almost line-by-line to the visualized pseudocode.

How to develop

  • make sure you have installed node.js and npm
  • run npm install
  • run npm start

How to build and deploy

  • make sure you have installed node.js and npm
  • run npm install
  • run npm run build
  • host the build directory in the root of some HTTP server

License

This code is licensed under the MIT License.

About

Interactive visualization of maximum flow algorithms

https://maxflow.haucke.xyz

License:MIT License


Languages

Language:TypeScript 91.3%Language:SCSS 7.5%Language:HTML 0.9%Language:Dockerfile 0.3%