-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (60 loc) · 2.04 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<html>
<head>
<meta charset="utf-8">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style/style.css">
</head>
<body>
<div class="container">
<header>
<h1>Graf</h1>
<nav>
<ul>
<li id="BFS">
BFS Algorithm
</li>
<li id="DIJKSTRA">
Dijkstra's Algorithm
</li>
<li id="BELLMAN-FORD">
Bellman-Ford Algorithm
</li>
</ul>
</nav>
<button id="run" class="btn">
▶
Run
</button>
<button id="clear-path" class="btn">
Clear path
</button>
<button id="clear-all" class="btn">
Clear all
</button>
<button id="load-example" class="btn">
Load example
</button>
<br/>
<label class="checkbox">
<input type="checkbox" id="show-weights" checked="true"/>
Show weights
</label>
<div id="message">
</div>
</header>
<main>
<div class="display" id="display">
</div>
</main>
<footer>
Created by <a href="https://nieruchalski.pl">Michał Nieruchalski</a>
</footer>
</div>
<script src="./script/konva.js"></script>
<script src="./script/contextmenu.js"></script>
<script src="./script/bfs.js"></script>
<script src="./script/dijkstra.js"></script>
<script src="./script/bellman-ford.js"></script>
<script src="./script/main.js"></script>
</body>
</html>