forked from Aditya-Experiments/Graph-Algorithm-Visualizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (28 loc) · 948 Bytes
/
Copy pathindex.html
File metadata and controls
28 lines (28 loc) · 948 Bytes
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
<!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
-->
<h1>Graph Algorithm Simulator</h1>
<canvas id="graphCanvas" width="600" height="400"></canvas>
<br>
<button onclick="startBFS()">BFS</button>
<button onclick="startDFS()">DFS</button>
<button onclick="startDijkstra()">Dijkstra</button>
<div id="log"></div>
<div id="infoPopup" class="popup hidden"></div>
<script src="script.js"></script>
</body>
</html>