-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.html
34 lines (34 loc) · 1.13 KB
/
app.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
<html>
<head>
<style>
.node {
stroke: 'black';
}
.link {
stroke-width: 1px;
}
.handle {
fill: 'blue';
}
</style>
<title>All the Same, I Saw it First</title>
</head>
<body>
<label for="upper_value">Upper Threshold: </label><input type="range" min="0" max="100" id="upper_value" value="100"><span id="upper_value_value">1</span>
<label for="lower_value">Lower Threshold: </label><input type="range" min="0" max="100" id="lower_value" value="0"><span id="lower_value_value">0</span>
<div>Toggle: <span id="handle_toggle">Handle</span> <span id="tooth_toggle">Teeth</span></div>
<div>
<span>Handle nodes: </span><span id="handle_nodes"></span>
</div>
<div id="teeth">
</div>
<div id="comb">
<span>Weight Sum: </span><span id="comb_weight_sum"></span><br/>
<span>RHS - LHS: </span><span id="comb_difference"></span><br/>
</div>
<div align="center" id="force_graph"></div>
<script src="lib/d3.min.js" charset="utf-8"></script>
<script src="js/atsisif.js"></script>
<script>draw_graph(document.URL.split('#')[1]);</script>
</body>
</html>