-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnb.html
More file actions
131 lines (129 loc) · 4.14 KB
/
nb.html
File metadata and controls
131 lines (129 loc) · 4.14 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Visualising Networks in Informatics</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=.8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://d3js.org/d3.v4.min.js"></script>
<style type="text/css">
path.arc {
cursor: move;
fill: #fff;
}
.node {
font-size: 10px;
}
.node:hover {
fill: #1f77b4;
}
.link {
fill: none;
stroke: #1f77b4;
stroke-opacity: .4;
pointer-events: none;
}
.link.source, .link.target {
stroke-opacity: 1;
stroke-width: 2px;
}
.node.target {
fill: #d62728 !important;
}
.link.source {
stroke: #d62728;
}
.node.source {
fill: #2ca02c;
}
.link.target {
stroke: #2ca02c;
}
.links line {
stroke: #999;
stroke-opacity: 0.6;
}
.nodes circle {
stroke: #fff;
stroke-width: 1.5px;
}
.svg-container {
display: inline-block;
position: relative;
width: 100%;
padding-bottom: 100%; /* aspect ratio */
vertical-align: top;
overflow: hidden;
}
.svg-content-responsive {
display: inline-block;
position: absolute;
top: 10px;
left: 0;
}
</style>
</head>
<body>
<script type="text/javascript">
function load_page(name){
console.log(name);
html = '<object align="middle" width=1024 height=900 type="text/html" data="nb/' + name + '"></object>';
console.log(html);
document.getElementById("content").innerHTML=html
$('li a').click(function() {
$(this).parent().addClass('active').siblings().removeClass('active');
});
}
</script>
<div class="container">
<nav class="navbar navbar-inverse">
<div class="container-fluid col-sm-12">
<ul class="nav navbar-nav">
<li ><a href="index.html">Collaboration Network</a></li>
<!-- <li class=""><a href="topic.html">Topic Models</a></li> -->
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="topic.html">Topic Models (LDAvis)
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="topic.html" onClick=render_tm('tmfull_meta')> tm-20yr </a></li>
<li><a href="topic.html" onClick=render_tm('tmrest_meta')> tm-6yr </a></li>
<li><a href="topic.html" onClick=render_tm('tmdblp')> tm-dblp </a></li>
</ul>
</li>
<li><a href="topicnet.html">Topic-Similarity Network</a></li>
<li class='active dropdown'>
<a class="dropdown-toggle" data-toggle="dropdown" href="nb.html">Notebooks
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#" onClick=load_page("preprocess_poinf.html")>
Processing staff from Informatics </a></li>
<li><a href="#" onClick=load_page("preprocess_pubs.html")>
Preprocessing publications</a></li>
<li class="active"><a href="#" onClick=load_page("infnet.html")>
Informatics Collaboration Network</a></li>
<li><a href="#" onClick=load_page("topicModelling.html")>
Topic Models</a></li>
<li><a href="#" onClick=load_page("embedding.html")>
Topic-similarity Networks</a></li>
<li><a href="#" onClick=load_page("analysis.html")>
Analysis of Networks</a></li>
</ul>
</li>
</ul>
</div>
</nav>
<div class="container-fluid">
<div class="col-sm-12" id="content"></div>
<div>
<script type='text/javascript'>
load_page("infnet.html");
</script>
</div>
</div>
</div>
</body>
</html>