Commit de0ad556 authored by Romain Loth's avatar Romain Loth

for term sizes: fix node=>n varname and add sqrt transform on occurrence value

parent 4885ff0d
......@@ -921,8 +921,8 @@ function dictfyJSON( data , categories ) {
// node.shape = "square";
// £TODO generalize some alternate names in here and maybe gexf
if (node.term_occ) {
node.size = Number(node.term_occ)
if (n.term_occ) {
node.size = Math.sqrt(Number(n.term_occ))
}
if (!catCount[node.type]) catCount[node.type] = 0
......
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