File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed
Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 1515 3. Kartik Bisht - Button functionality and event handling
1616 4. Gaurang Joshi - Algorithm descriptions and integration
1717 -->
18- < h1 > Graph Algorithm Simulator</ h1 >
19- < canvas id ="graphCanvas " width ="600 " height ="400 "> </ canvas >
20- < br >
21- < button onclick ="startBFS() "> BFS</ button >
22- < button onclick ="startDFS() "> DFS</ button >
23- < button onclick ="startDijkstra() "> Dijkstra</ button >
24- < div id ="log "> </ div >
25- < div id ="infoPopup " class ="popup hidden "> </ div >
18+ < header >
19+ < h1 > Graph Algorithm Simulator</ h1 >
20+ </ header >
21+ < main >
22+ < canvas id ="graphCanvas " width ="600 " height ="400 "> </ canvas >
23+ < div class ="control-panel ">
24+ < button onclick ="startBFS() "> BFS</ button >
25+ < button onclick ="startDFS() "> DFS</ button >
26+ < button onclick ="startDijkstra() "> Dijkstra</ button >
27+ < button onclick ="resetGraph() "> Reset Graph</ button >
28+ </ div >
29+ < div id ="log "> </ div >
30+ < div id ="infoPopup " class ="popup hidden "> </ div >
31+ </ main >
32+ < footer >
33+ < p > Designed by Aditya Pandey and Team | B.Tech 4th Semester</ p >
34+ </ footer >
2635 < script src ="script.js "> </ script >
2736</ body >
2837</ html >
You can’t perform that action at this time.
0 commit comments