-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
33 lines (32 loc) · 1.33 KB
/
index.html
File metadata and controls
33 lines (32 loc) · 1.33 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
<html>
<head>
<title>Graphs Visual</title>
<link href="./index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="top">
<div class="actions">
<span>Add Node Actions : </span>
<input type="number" placeholder="Enter Node Number" id="nodenumber" value="1" />
<input type="number" placeholder="Enter X coordinate" id="NewX" value="200" />
<input type="number" placeholder="Enter Y coordinate" id="NewY" value="200" />
<button id="addnodebtn"> Add Node </button>
<button id="getmouselocation">get mouse location</button>
<br />
<span>Add Edge Actions : </span>
<span> nodeA : </span>
<select id="nodeAList" >
<option> Please Add First Node </option>
</select>
<span > nodeB : </span>
<select id="nodeBList" >
<option> Please Add First Node </option>
</select>
<button id="addedgebtn"> Add Edge </button>
<button id="startPrims"> Prims Algo </button>
</div>
</div>
<canvas id="bottom" ></canvas>
</body>
<script src="./index.js" type="module" ></script>
</html>