-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
140 lines (133 loc) · 2.98 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html>
<meta charset="utf-8" />
<style>
body {
position: absolute;
top: 0%;
font-size: 48px;
font-family: sans-serif;
font-weight: bold;
}
div#header {
position: relative;
top: 0%;
width: 100%;
text-align: center;
padding: 0px;
font-family: FreeSans;
font: 24px sans-serif;
font-weight: bold;
background-color: white;
color: black;
border-radius: 10px;
border-style: solid;
border-width: 2px;
border-color: black;
}
div#help {
position: relative;
top: 1px;
width: 100%;
text-align: center;
padding: 0px;
font: 16px sans-serif;
color: black;
background-color: #eeeeee;
border-radius: 10px;
border-color: black;
border-style: solid;
border-width: 2px;
}
div#canvas {
position: relative;
top: 2px;
padding: 0px;
border-radius: 10px;
background-color: #d7d7d7;
/* font: 20px sans-serif; */
font-weight: bold;
}
.maindiv {
/* position: static; */
/* margin: auto; */
/* width: 100%; */
/* border: 0px solid #000000; */
/* padding: 0px; */
}
.node {
stroke: #ffffff;
stroke-width: 2.0px;
stroke-opacity: 1.0;
}
.link {
stroke: #333333;
stroke-width: 2.0px;
stroke-opacity: 0.7;
}
.file {
stroke: #ffffff;
fill: #00aaff;
stroke-width: 2.0px;
stroke-opacity: 1.0;
color: #00aaff;
}
.user {
stroke: #ffffff;
fill: black;
stroke-width: 2.0px;
stroke-opacity: 1.0;
color: black;
}
.extuser {
stroke: #ffffff;
fill: red;
stroke-width: 2.0px;
stroke-opacity: 1.0;
color: red;
}
.badapp {
stroke: red;
fill: red;
stroke-width: 6.0px;
stroke-opacity: 1.0;
color: red;
}
div.tooltip {
position: absolute;
text-align: center;
/* width: 120px; let the text determine this automatically */
/* height: 30px; let the text determine this automatically */
padding: 12px;
font: 24px sans-serif;
font-weight: bold;
font-style: italic;
background: #000;
color: #fff;
border-radius: 10px;
pointer-events: none;
}
</style>
<!-- script type="text/javascript" src="d3.v7.min.js" charset="utf-8"></script -->
<!-- script src="https://d3js.org/d3.v7.min.js"></script -->
<script type="text/javascript" src="d3.v3.min.js" charset="utf-8"></script>
<body>
<div id="header" class="maindiv">
Cloud events: file sharing (anonymized)
</div>
<div id="help" class="maindiv">
<b>Hover</b> over objects for details
<b>drag</b> to move/rearrange</br>
<b>
<span class="file"> ⬤ File </span>
<span class="user"> ⬤ User </span>
<span class="extuser"> ⬤ External User </span>
<span class="badapp"> ▬ Unsanctioned App </span>
</b>
</div>
<div id="canvas" class="maindiv">
<script src="force-directed-graph.js" charset="utf-8"></script>
</div>
</body>
</html>