Hi Vanshika,
in this Html-Css-Js project, I tried to implement an interface which allows users to create a graph of their choice and check if the graph can be a Bipartite Graph or not.
Limitations:
I limited the users to create a graph with atmost 10 vertices, the reason behind this is I could not come up with a better idea to position the vertices and the edges, I thought to position them on a big circle at equi-distance, which makes it easier to calculate the positions. So having more vertices it occupies more space.
Kindly review this PR, I would like to take any suggestions, especially in CSS and JS, I would try to improve.
Hi Vanshika, in this Html-Css-Js project, I tried to implement an interface which allows users to create a graph of their choice and check if the graph can be a Bipartite Graph or not. Limitations: I limited the users to create a graph with atmost 10 vertices, the reason behind this is I could not come up with a better idea to position the vertices and the edges, I thought to position them on a big circle at equi-distance, which makes it easier to calculate the positions. So having more vertices it occupies more space.
Kindly review this PR, I would like to take any suggestions, especially in CSS and JS, I would try to improve.
Thank you.
Below are the snapshots:
On Opening the page
If the Graph forms a Bipartite
If a Graph couldn't form a Bipartite