Skip to content

LynnHaDo/Network-Flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Network Flow Visualizer


View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting started
  3. Works Cited
  4. Contact

About The Project

This is my attempt to create an interactive tool that helps reinforce the basic idea behind network flow algorithm.

(back to top)

Features

  • Allow the user to select a source vertex and a sink.
  • Allow the user to (repeatedly) click an edge (on one of the paths) from the source to the sink, vertex-by-vertex, to send a unit of flow across that edge. 
  • Check user's flow capacity constraint.
  • Check if the flow is valid. If yes, proceed to ask the user to calculate the flow value; check if it is correct (it should be the sum of the flow on edges out of the source = sum of flow on edges into sink).

See the open issues for a full list of proposed features (and known issues).

(back to top)

Built With

  • Angular 16.2.12
  • Cytoscape 3.28.1

(back to top)

Getting started

Prerequisites

  • Angular CLI: 16.2.14
  • Node: 18.18.2
  • Package Manager: npm 9.8.1
  • Angular: 16.2.12
  • Packages:
    • @angular-devkit/architect 0.1602.13
    • @angular-devkit/build-angular 16.2.13
    • @angular-devkit/core 16.2.13
    • @angular-devkit/schematics 16.2.14
    • @angular/cdk 16.2.14
    • @angular/cli 16.2.14
    • @angular/material 16.2.14
    • @schematics/angular 16.2.14
    • rxjs 7.8.1
    • typescript 5.1.6
    • zone.js 0.13.3

Installation

Steps to run the project locally

  1. Make sure you install the correct version of the packages listed above
  2. Git clone the project
git clone https://github.com/LynnHaDo/Network-Flow.git
  1. Navigate to the graph folder
cd graph
  1. Install packages
npm install
  1. Run on server
ng s

(back to top)

Works cited

Cytoscape.js: a graph theory library for visualisation and analysis

Franz M, Lopes CT, Huck G, Dong Y, Sumer O, Bader GD

Bioinformatics (2016) 32 (2): 309-311 first published online September 28, 2015 doi:10.1093/bioinformatics/btv557 (PDF)

Contact

If you have any inquiries, please reach out to me via email ([email protected]).