-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 892 Bytes
/
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
<!doctype html>
<html>
<head>
<meta charset = "utf8">
<title>Family Tree</title>
<script src = "model.js"></script>
<script src = "view.js"></script>
<script src = "util.js"></script>
<link href = "pageStyle.css" rel = "stylesheet">
</head>
<body>
<canvas id = "maindraw">
</canvas>
<div style = "position: fixed; top: 0px; right:0px">
<a href = "#" onclick = "document.body.innerHTML = '<pre>var paths = ' + JSON.stringify(paths, null, 2) + ';var nodes = ' + JSON.stringify(nodes, null, 2);">
Save
</a>
<span
class="editControl"
onclick = "startAddMode();">
Add
</span>
<span
class="editControl"
onclick = "startDeleteMode();">
Delete
</span>
<span
class="editControl"
onclick = "startModifyMode();">
Modify
</span>
<script>
Main(window)
</script>
</div>
</body>
</html>