diff --git a/assets/cn_default.js b/assets/cn_default.js index 09c3a005c0f8390a4e658505f00c52b8751594ee..efa888526d9b244937a4ebe334d4e9bd198e9756 100644 --- a/assets/cn_default.js +++ b/assets/cn_default.js @@ -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; } /** diff --git a/assets/cn_timeline.js b/assets/cn_timeline.js index 978e1a5347ff9ee14882ee5db5f7328a5ca53527..900cc2ab968572a4b9ccad7e0cb34233802f6891 100644 --- a/assets/cn_timeline.js +++ b/assets/cn_timeline.js @@ -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;