forked from CreativeCodingLab/TextAnnotationGraphs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (69 loc) · 2.29 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Nunito:400,600" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<header id="header">
<select id="dataset">
<option>-- select dataset --</option>
<option>data1</option>
<option>data2</option>
<option>paragraph</option>
<option>passage1</option>
<option>passage2</option>
<option>morpheme1</option>
<option>morpheme2</option>
<option>event annotation</option>
</select>
<button id="taxonomy-toggle">Taxonomy</button>
<button id="options-toggle">Options</button>
</header>
<div id="main">
<div id="tooltip">
</div>
</div>
<div class="modal" id="modal">
<div>
<header>
<span class="tab active" data-id="taxonomy">Taxonomy</span>
<span class="tab" data-id="tree">Tree View</span>
<span class="tab" data-id="graph">Graph</span>
<span class="tab" data-id="options">Options</span>
</header>
<div class="page active" id="taxonomy"></div>
<div class="page" id="tree">
</div>
<div class="page" id="graph"></div>
<div class="page" id="options">
<p><input type="checkbox" data-option="syntax"> Show syntax tree</p>
<p><input type="checkbox" data-option="links"> Show links when moving words</p>
<p><input type="checkbox" data-option="tree"> Open tree view in modal</p>
</div>
</div>
</div>
<script src="libs/svg.js"></script>
<script src="libs/svg.draggable.js"></script>
<script src="libs/jscolor.min.js"></script>
<script src="libs/d3.min.js"></script>
<script src="js/ymljson.js"></script>
<script src="js/parser.js"></script>
<script src="js/treelayout.js"></script>
<script src="js/main.js"></script>
<script src="js/managers/tooltip.js"></script>
<script src="js/managers/taxonomy.js"></script>
<script src="js/managers/labelmanager.js"></script>
<script src="js/managers/rowmanager.js"></script>
<script src="js/components/row.js"></script>
<script src="js/components/tag.js"></script>
<script src="js/components/word.js"></script>
<script src="js/components/wordcluster.js"></script>
<script src="js/components/link.js"></script>
<script type="text/javascript">
Main.init();
</script>
</body>
</html>