-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (40 loc) · 1.59 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
35
36
37
38
39
40
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Dijkstra Graph Traversal Tester</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div id="graph-container">
<!-- <svg width="800" height="600">
<circle class="circle-outer" r="10" cx="100" cy="100" />
<text class="circle-text" x="100" y="101" text-anchor="middle" alignment-baseline="middle">1</text>
<circle class="circle-outer" r="10" cx="250" cy="300" />
<circle class="circle-inner" r="5" cx="250" cy="300"></circle>
<circle class="circle-outer" r="10" cx="200" cy="300">
</circle>
<circle class="circle-inner" r="5" cx="200" cy="300"></circle>
</svg> -->
</div>
<div id="controlPanel">
<div class="controls">
<button id="newGraphButton">New (Reset) Graph</button>
<button id="removeNodeButton">Remove Node</button>
<button id="addNeighborButton">Add Neighbor</button>
<button id="removeNeighborButton">Remove Neighbor</button>
</div>
<div id="edgeData">
<label for="edgeDirectional">Edge Directional</label>
<input id="edgeDirectional" name="edgeDirectional" value="false" />
<label for="edgeWeight">Edge Weight</label>
<input id="edgeWeight" name="edgeWeight" value="0"/>
</div>
<div class="controls">
<button id="runAlgoButton">Run Algo</button>
</div>
<div id="dijkstraTables"></div>
</div>
<!-- <script src="https://d3js.org/d3.v6.min.js"></script> -->
<script type="module" src="/src/main.ts"></script>
</html>