summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/rhizicore.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js
index 9b1512c3..f22e87a7 100644
--- a/scripts/rhizicore.js
+++ b/scripts/rhizicore.js
@@ -534,16 +534,16 @@ function myGraph(el) {
.attr("class", function(d) {
return state_to_link_class[d.state] || 'link graph';
})
- .style("stroke-dasharray", function(d,i){
- if(d.name && d.name.replace(/ /g,"")=="and" && d.state==="temp")
- return "3,3";
- else
- return "0,0";
- })
.attr("marker-end", "url(#end)")
.on("click", function(d, i) {
//$('#textanalyser').val("node("+d.source.id+") -> "+d.name+" -> node("+d.target.id+")");
});;
+ link.style("stroke-dasharray", function(d,i){
+ if(d.name && d.name.replace(/ /g,"")=="and" && d.state==="temp")
+ return "3,3";
+ else
+ return "0,0";
+ });
link.exit().remove();