Commit 9a860bd5 authored by PkSM3's avatar PkSM3

colorbygroup THEN add_edge

parent 91efb239
...@@ -200,6 +200,7 @@ function genericGetTopPapers(theids , corpus_id , thediv) { ...@@ -200,6 +200,7 @@ function genericGetTopPapers(theids , corpus_id , thediv) {
output += "</ul>" output += "</ul>"
$("#"+thediv).html(output); $("#"+thediv).html(output);
$("#"+thediv).show(); $("#"+thediv).show();
}, },
error: function(){ error: function(){
pr('Page Not found: getTopPapers()'); pr('Page Not found: getTopPapers()');
......
...@@ -691,7 +691,7 @@ function parseSimpleJSON( data , seed ) { ...@@ -691,7 +691,7 @@ function parseSimpleJSON( data , seed ) {
lock:false, lock:false,
iscluster: false iscluster: false
}); // The graph node }); // The graph node
pr(node) // pr(node)
Nodes[pk] = node; Nodes[pk] = node;
if(parseInt(node.size) < parseInt(minNodeSize)) minNodeSize= node.size; if(parseInt(node.size) < parseInt(minNodeSize)) minNodeSize= node.size;
...@@ -709,6 +709,7 @@ function parseSimpleJSON( data , seed ) { ...@@ -709,6 +709,7 @@ function parseSimpleJSON( data , seed ) {
updateSearchLabels(i,Nodes[i].label,Nodes[i].type); updateSearchLabels(i,Nodes[i].label,Nodes[i].type);
} }
clustersBy("group");
var edgeId = 0; var edgeId = 0;
var edgesNodes = data.links; var edgesNodes = data.links;
...@@ -761,7 +762,6 @@ function parseSimpleJSON( data , seed ) { ...@@ -761,7 +762,6 @@ function parseSimpleJSON( data , seed ) {
} }
} }
clustersBy("group");
NodeWeightFilter ( "#sliderANodeWeight" , "type" , "Document" , "size") NodeWeightFilter ( "#sliderANodeWeight" , "type" , "Document" , "size")
......
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