Skip to content
Snippets Groups Projects

Knotengröße

Merged Stahl, Merle requested to merge bax9187/projekt-cis-biochemie-2021-22:main into main
2 files
+ 5
6
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
3
@@ -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;
}
/**
Loading