Commit fa665e7d authored by Administrator's avatar Administrator

[FIX] Better spatialization parameter.

parent 1f76d481
...@@ -198,7 +198,7 @@ def get_cooc(request=None, corpus_id=None, cooc_id=None, type="node_link", n=150 ...@@ -198,7 +198,7 @@ def get_cooc(request=None, corpus_id=None, cooc_id=None, type="node_link", n=150
G.node[node]['name'] = node G.node[node]['name'] = node
G.node[node]['size'] = weight[node] G.node[node]['size'] = weight[node]
G.node[node]['group'] = partition[node] G.node[node]['group'] = partition[node]
#G.add_edge(node, partition[node], weight=3) G.add_edge(node, partition[node], weight=3)
# G.node[node]['color'] = '19,180,300' # G.node[node]['color'] = '19,180,300'
except Exception as error: except Exception as error:
print(error) print(error)
......
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