-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
29 lines (26 loc) · 1.12 KB
/
index.html
File metadata and controls
29 lines (26 loc) · 1.12 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Binary Tree Visualizer</title>
<link rel="stylesheet" type="text/css" href="./css/app.css">
</head>
<body>
<div class="controls">
<div class="controls-joined">
<input class="input" id="controls-input" type="number" step="1" value="0">
<button class="button" id="controls-push" onClick="handlePush();">Push</button>
</div>
<button class="button" id="controls-pop" onClick="handlePop()">Pop</button>
<h1 class="title">Min-Heap Binary Tree <i><a href="https://www.cs.cmu.edu/~tcortina/15-121sp10/Unit06B.pdf" target="_blank">i</a></i></h1>
<button class="button" id="controls-clear" onClick="handleClear();">Clear</button>
</div>
<div id="chart">
<svg></svg>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js"></script>
<script type="text/javascript" src="./js/binaryheaptree.js"></script>
<script type="text/javascript" src="./js/binaryheapvisualizer.js"></script>
<script type="text/javascript" src="./js/app.js"></script>
</body>
</html>