Commit 8e154617 authored by PkSM3's avatar PkSM3

bugfix cluster_index parsing

parent 8a2f12c9
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
"RiskV2PageRank.gexf": { "RiskV2PageRank.gexf": {
"social": { "table":"ISIAUTHOR" , "textCol":"data","forkeyCol":"id"}, "social": { "table":"ISIAUTHOR" , "textCol":"data","forkeyCol":"id"},
"semantic": { "table":"ISItermsAxa_2015" , "textCol":"data","forkeyCol":"id"} "semantic": { "table":"ISItermsAxa_2015" , "textCol":"data","forkeyCol":"id"}
},
"RiskV2PageRank1000.gexf": {
"social": { "table":"ISIAUTHOR" , "textCol":"data","forkeyCol":"id"},
"semantic": { "table":"ISItermsAxa_2015" , "textCol":"data","forkeyCol":"id"}
} }
} }
}, },
......
...@@ -295,8 +295,11 @@ function dictfyGexf( gexf , categories ){ ...@@ -295,8 +295,11 @@ function dictfyGexf( gexf , categories ){
var attention = false var attention = false
if( TW.Clusters.length == 0 ) { if( TW.Clusters.length == 0 ) {
if( nodes[1].attributes["cluster_index"] ) { for( var i in nodes ) {
attention = true; if( nodes[i].attributes["cluster_index"] ) {
attention = true;
}
break
} }
} }
......
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