Commit 9fdb1a17 authored by Romain Loth's avatar Romain Loth

temporarily deactivate all legends

parent 1cdcfc5d
......@@ -405,7 +405,7 @@
<!-- class="my-legend" (absolute position bottom left) -->
<div id="legend_for_clusters" class="over-panels"></div>
<!-- <div id="legend_for_clusters" class="over-panels"></div> -->
</div>
</div>
......
......@@ -456,7 +456,7 @@ if(RES["OK"]) {
NodeWeightFilter( this.categories , "#slidercat1nodesweight" , this.categories[1], "type" ,"size");
EdgeWeightFilter("#slidercat1edgesweight", "label" , "nodes2", "weight");
}
set_ClustersLegend ( "clust_default" )
// set_ClustersLegend ( "clust_default" )
}
if(typestring=="1|0") {
......@@ -473,7 +473,7 @@ if(RES["OK"]) {
NodeWeightFilter( this.categories , "#slidercat0nodesweight" , this.categories[0], "type" ,"size");
EdgeWeightFilter("#slidercat0edgesweight", "label" , "nodes1", "weight");
}
set_ClustersLegend ( "clust_default" )
// set_ClustersLegend ( "clust_default" )
}
if(typestring=="1|1") {
......@@ -561,7 +561,7 @@ if(RES["OK"]) {
console.error(e)
}
set_ClustersLegend ( "clust_default" )
// set_ClustersLegend ( "clust_default" )
} else alert("error: "+RES["data"])
......
......@@ -356,26 +356,8 @@ function dictfyGexf( gexf , categories ){
var attr = attvalueNode.getAttribute('for');
var val = attvalueNode.getAttribute('value');
// TODO use here nodesAttributes
// POSS here check nodesAttributes from scanGexf
if(catDict[val]) atts["category"] = val;
else atts[attr]=val;
attributes = atts;
}
......
......@@ -755,7 +755,7 @@ function clustersBy(daclass) {
// Edge precompute alt_rgb by new source-target nodes-colours combination
repaintEdges()
set_ClustersLegend ( null )
// set_ClustersLegend ( null )
TW.partialGraph.render();
}
......@@ -946,7 +946,7 @@ function colorsRelByBins(daclass) {
// Edge precompute alt_rgb by new source-target nodes-colours combination
repaintEdges()
set_ClustersLegend ( null )
// set_ClustersLegend ( null )
TW.partialGraph.render();
}
......@@ -1004,7 +1004,7 @@ function colorsBy(daclass) {
repaintEdges()
// £TODO fix ClustersLegend
set_ClustersLegend ( daclass )
// set_ClustersLegend ( daclass )
TW.partialGraph.render();
}
......
Markdown is supported
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