-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
76 lines (63 loc) · 3.24 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.7/css/all.css">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<!-- header -->
<div class="title">
<h1>Schema visualization (beta)</h1>
</div>
<!-- Dropdown: selecting a schema-->
<!-- Generate visualization and attribute table -->
<div id="chart-placeholder" class="">
<!-- generate visualization -->
<span id="visualization"></span>
<!-- attribute table -->
<div id="toggle-table"></div>
<div id="attributes-table-hidden" class="hidden">
<div id="attributes-table-wrapper" class="shown">
<div id="table-top">
<!-- <div class="left">
<button class="custom-button">Download selected</button>
<button class="custom-button">Clear</button>
</div> -->
<div class="right">
<select class="custom-select" id="filterBy">
<option value="All Attributes">All attributes</option>
<option value="Required Attributes">Required Attributes</option>
<option value="Conditionally Required Attributes">Conditionally Required Attributes
</option>
<option value="Required and Conditionally Required Attributes">Required and
Conditionally Required Attributes</option>
</select>
</div>
</div>
<div class="table-wrapper" id="table"></div>
<div id="placeholder"></div>
</div>
</div>
</body>
<script src="https://d3js.org/d3.v5.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-fetch@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-array@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-color@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-interpolate@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-scale-chromatic@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-dispatch@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-ease@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-interpolate@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-timer@3"></script>
<script src="https://cdn.jsdelivr.net/npm/d3-transition@3"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-yaml/4.1.0/js-yaml.min.js"
integrity="sha512-CSBhVREyzHAjAFfBlIBakjoRUKp5h7VSweP0InR/pAJyptH7peuhCsqAI/snV+TwZmXZqoUklpXp6R6wMnYf5Q=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script src="js/chart.js"></script>
<script type="text/javascript" src="js/PrepareRender.js"></script>
<script type="text/javascript" src="js/DrawTable.js"></script>
<script type="text/javascript" src="js/collapsibleTangleTree.js"></script>
</html>