Graph-Visualization / graph-api

Backend containing all the algorithms of graphs
http://graph-apiv1.herokuapp.com
3 stars 8 forks source link

Added 2 Graph Traversal Algorithm under issue 6 #19

Closed Debanjan2001 closed 3 years ago

Debanjan2001 commented 3 years ago

I have created two files named "toposort_cycle_detection.js" and "findConnectedComponents.js" for the algorithms. I have also created a folder named "testfiles" under which there are test1.json and test2.json for sample testcases of the two respective algos. Their output will be automatically stored in output.json when you run the code.

yashrsharma44 commented 3 years ago

cc @Biswajitghosh98

yashrsharma44 commented 3 years ago

@Debanjan2001 Github Tip: You can add Fixes #6 in your comment and github automatically closes that issue when this is merged

Debanjan2001 commented 3 years ago

@Biswajitghosh98 Ok I have removed the file "output.json".

@yashrsharma44 Thank you for the tip. I think Aaditya is also working on this issue. So I will pass on this info.