Commit 5b4ba903 authored by Jean-Clement Gallardo's avatar Jean-Clement Gallardo
Browse files

delete condition nbNodes<1000

parent 18fdbb50
...@@ -633,7 +633,7 @@ metExploreD3.GraphUtils = { ...@@ -633,7 +633,7 @@ metExploreD3.GraphUtils = {
d3Clone.selectAll(".hide").remove(); d3Clone.selectAll(".hide").remove();
var nbNodes = d3Clone.select("#graphComponent").selectAll("g.node").data().length; var nbNodes = d3Clone.select("#graphComponent").selectAll("g.node").data().length;
if(nbNodes<1000){ if(nbNodes){
d3Clone.select("#graphComponent").selectAll("g.node") d3Clone.select("#graphComponent").selectAll("g.node")
.select(".structure_metabolite") .select(".structure_metabolite")
.each(function(){ .each(function(){
...@@ -1814,4 +1814,4 @@ metExploreD3.GraphUtils = { ...@@ -1814,4 +1814,4 @@ metExploreD3.GraphUtils = {
String.prototype.isEmpty = function() { String.prototype.isEmpty = function() {
return (!this.trim()); return (!this.trim());
}; };
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment