Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CiS Projekt
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ockenden, Samuel
CiS Projekt
Commits
bf170e19
Commit
bf170e19
authored
3 years ago
by
Stahl, Merle
Browse files
Options
Downloads
Patches
Plain Diff
Datum
parent
499f702f
No related branches found
No related tags found
1 merge request
!24
Main
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
assets/cn_default.js
+2
-1
2 additions, 1 deletion
assets/cn_default.js
assets/cn_timeline.js
+5
-5
5 additions, 5 deletions
assets/cn_timeline.js
assets/json_text.json
+1
-840
1 addition, 840 deletions
assets/json_text.json
input/get/acs.py
+0
-0
0 additions, 0 deletions
input/get/acs.py
with
8 additions
and
846 deletions
assets/cn_default.js
+
2
−
1
View file @
bf170e19
...
...
@@ -325,10 +325,11 @@ function textbox_content(node) {
text_info
=
"
Title:
"
+
'
</br>
'
+
node
.
name
+
'
</br>
'
+
'
</br>
'
+
"
Author:
"
+
'
</br>
'
+
authors
+
'
</br>
'
+
'
</br>
'
+
"
Date:
"
+
'
</br>
'
+
node
.
year
+
'
</br>
'
+
'
</br>
'
+
"
Journal:
"
+
'
</br>
'
+
node
.
journal
+
'
</br>
'
+
'
</br>
'
+
"
DOI:
"
+
'
</br>
'
+
'
<a href="
'
+
node
.
doi
+
'
">
'
+
node
.
doi
+
'
</a>
'
+
'
</br>
'
+
'
</br>
'
+
"
Citations:
"
+
'
</br>
'
+
node
.
doi
+
'
</br>
'
+
'
</br>
'
+
"
Citations:
"
+
'
</br>
'
+
node
.
citations
;
text_abstract
=
node
.
abstract
;
document
.
getElementById
(
'
textbox
'
).
innerHTML
=
text_info
;
document
.
getElementById
(
'
textbox
'
).
innerHTML
=
text_info
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
assets/cn_timeline.js
+
5
−
5
View file @
bf170e19
...
...
@@ -121,7 +121,7 @@ var simulation = d3.forceSimulation()
else
{
return
75
;}
}).
strength
(
1
))
.
force
(
"
charge
"
,
d3
.
forceManyBody
().
strength
(
0.001
))
.
force
(
"
center
"
,
d3
.
forceCenter
(
width
/
2
-
20
,
height
/
2
+
2
0
))
.
force
(
"
center
"
,
d3
.
forceCenter
(
width
/
2
-
20
,
height
/
2
+
4
0
))
.
alpha
(
0.004
)
.
velocityDecay
(
0.65
)
.
on
(
"
end
"
,
zoom_to
);
...
...
@@ -205,7 +205,7 @@ function update(links, nodes) {
function
updateXAxis
(
nodes
)
{
years
=
[];
for
(
i
=
0
;
i
<
nodes
.
length
;
i
++
)
{
years
.
push
(
parseInt
((
nodes
[
i
][
"
year
"
])
.
split
(
"
"
)[
2
]
));
years
.
push
(
parseInt
(
parseInt
(
/
\d{4}\s
*$/
.
exec
(
nodes
[
i
][
"
year
"
])
)
));
}
xscale
=
d3
.
scaleLinear
()
...
...
@@ -413,11 +413,11 @@ function display_abstract(a) {
* updates the positions of the links and nodes
*/
function
handle_tick
()
{
link
.
attr
(
"
x1
"
,
function
(
d
)
{
return
xscale
(
parseInt
((
d
.
source
.
year
)
.
split
(
"
"
)[
2
]
));})
link
.
attr
(
"
x1
"
,
function
(
d
)
{
return
xscale
(
parseInt
(
/
\d{4}\s
*$/
.
exec
(
d
.
source
.
year
)));})
.
attr
(
"
y1
"
,
function
(
d
)
{
return
d
.
source
.
y
;})
.
attr
(
"
x2
"
,
function
(
d
)
{
return
xscale
(
parseInt
((
d
.
target
.
year
)
.
split
(
"
"
)[
2
]
));})
.
attr
(
"
x2
"
,
function
(
d
)
{
return
xscale
(
parseInt
(
/
\d{4}\s
*$/
.
exec
(
d
.
target
.
year
)));})
.
attr
(
"
y2
"
,
function
(
d
)
{
return
d
.
target
.
y
;});
node
.
attr
(
"
transform
"
,
function
(
d
)
{
return
"
translate(
"
+
xscale
(
parseInt
(
(
d
.
year
).
split
(
"
"
)[
2
]
))
+
"
,
"
+
d
.
y
+
"
)
"
;});
node
.
attr
(
"
transform
"
,
function
(
d
)
{
return
"
translate(
"
+
xscale
(
parseInt
(
/
\d{4}\s
*$/
.
exec
(
d
.
year
)
))
+
"
,
"
+
d
.
y
+
"
)
"
;});
}
/**
...
...
This diff is collapsed.
Click to expand it.
assets/json_text.json
+
1
−
840
View file @
bf170e19
This diff is collapsed.
Click to expand it.
input/get/acs.py
100755 → 100644
+
0
−
0
View file @
bf170e19
File mode changed from 100755 to 100644
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment