Skip to content

Commit cadd4ae

Browse files
Update index.html
1 parent 3919d6c commit cadd4ae

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

index.html

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,23 @@
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>

0 commit comments

Comments
 (0)