-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (44 loc) · 1010 Bytes
/
index.html
File metadata and controls
53 lines (44 loc) · 1010 Bytes
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
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Flow Solver</title>
</head>
<body>
<style>
.mapElement {
fill:rgb(240,240,240);
stroke:white;
stroke-width:2;
}
span {
display: inline-block;
width: 20px;
}
</style>
<p id = "input">
Size: <input> <span class ="range" id="range"></span><button>reset</button>
</p>
<p><button onclick="preset(1)">preset 1</button> <button onclick="preset(2)">preset 2</button><button onclick="preset(3)">preset 3</button><button onclick="preset(4)">preset 4</button></p>
<svg class = "map">
</svg>
<br>
<br>
<svg class = "colorButtons">
</svg>
<p>
<button onclick="solve()">solve!</button>
</p>
<p id="message"> </p>
<script src="d3.v3.min.js" charset="utf-8"></script>
<script src="flowSolver.js"></script>
<script src="flowSolver_solve.js"></script>
</body>
</html>
<!--
stroke-width:3;stroke:rgb(0,0,0)"
<path d="M 80 0 L 0 0 0 80" fill="none" stroke="black" stroke-width="2"/>
<svg id = "map">
</svg>
<svg
This is a comment -->