-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
34 lines (29 loc) · 1.2 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Path Finding</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<canvas id="canvas"></canvas>
<div class="interaction">
<h2>Dijkstra's algorithm</h2>
<h4>By Roshan Shrestha</h4>
<button type="button" class="start"onclick="startPoint()">Start Point</button>
<button type="button" class="block"onclick="blockPoint()">block Point</button>
<button type="button" class="end" onclick="endPoint()">End Point</button><br>
<button type="button" class="findPath" onclick="findPath()">Find Path</button>
<div class="info">
<h5>Start Address :<span id="startAddress"></span></h5>
<h5>End Address :<span id="endAddress"></span></h5>
<h5>Path Weight :<span id="pathWeight"></span></h5>
</div>
</div>
<script type="text/javascript" src="findMinimumWeight.js"></script>
<script type="text/javascript" src="nextNeig.js"></script>
<script type="text/javascript" src="eventListener.js"></script>
<script type="text/javascript" src="cell.js"></script>
<script type="text/javascript" src="main.js"></script>
</body>
</html>