-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.html
More file actions
37 lines (37 loc) · 1.21 KB
/
index.html
File metadata and controls
37 lines (37 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Graph Algorithm Simulator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--
Project: Graph Algorithm Simulator
Contributors:
1. Aditya Pandey - HTML structure and layout
2. Tanmay Sagar - Popup integration and layout adjustments
3. Kartik Bisht - Button functionality and event handling
4. Gaurang Joshi - Algorithm descriptions and integration
-->
<header>
<h1>Graph Algorithm Simulator</h1>
</header>
<main>
<canvas id="graphCanvas" width="600" height="400"></canvas>
<div class="control-panel">
<button onclick="startBFS()">BFS</button>
<button onclick="startDFS()">DFS</button>
<button onclick="startDijkstra()">Dijkstra</button>
<button onclick="resetGraph()">Reset Graph</button>
</div>
<div id="log"></div>
<div id="infoPopup" class="popup hidden"></div>
</main>
<footer>
<p>Designed by Aditya Pandey and Team | B.Tech 4th Semester</p>
</footer>
<script src="script.js"></script>
</body>
</html>