Skip to content
Snippets Groups Projects
Commit 3cadbf50 authored by Stahl, Merle's avatar Stahl, Merle
Browse files

Knotengröße

parent df39ad0c
No related branches found
No related tags found
1 merge request!25Knotengröße
......@@ -211,7 +211,7 @@ function update_nodes(nodes) {
node.append("circle")
.attr("class", "circle")
.attr("r", function(d) {return 1.5*r+d.citations*0.05})
.attr("r", function(d) {return 1.5*r+d.citations*0.15})
.style("fill", function(d){ return color(d.group)})
.on('click', click_node);
......@@ -230,7 +230,7 @@ function update_nodes(nodes) {
* @param {string} target - target node
*/
function update_marker(color, target) {
var radius = 1.5*r+target.citations*0.05;
var radius = 1.5*r+target.citations*0.15;
svg.append('defs').append('marker')
.attr('id',color.replace("#", "")+radius)
.attr('viewBox','-0 -5 10 10')
......@@ -329,7 +329,6 @@ function textbox_content(node) {
+'</br>'+node.citations;
text_abstract = node.abstract;
document.getElementById('textbox').innerHTML = text_info;
document.getElementById('textbox').innerHTML = text_info;
}
/**
......
......@@ -249,7 +249,7 @@ function update_nodes(nodes) {
node.append("circle")
.attr("class", "circle")
.attr("r", function(d) {return 1.5*r+d.citations*0.05})
.attr("r", function(d) {return 1.5*r+d.citations*0.15})
.style("fill", function(d){ return color(d.group)})
.on('click', click_node);
......@@ -268,7 +268,7 @@ function update_nodes(nodes) {
* @param {string} target - target node
*/
function update_marker(color, target) {
var radius = 1.5*r+target.citations*0.05;
var radius = 1.5*r+target.citations*0.15;
svg.append('defs').append('marker')
.attr('id',color.replace("#", "")+radius)
.attr('viewBox','-0 -5 10 10')
......@@ -368,7 +368,7 @@ 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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment