Commit 4b809aec authored by PkSM3's avatar PkSM3

social edges = 1

parent 55edc3a9
...@@ -1393,12 +1393,7 @@ function unHide(id){ ...@@ -1393,12 +1393,7 @@ function unHide(id){
} }
function pushFilterValue(filtername,arg){ function pushFilterValue(filtername,arg){
pr("%%%%%%%%%%%%%%%%%%%%%%%%%%")
pr(lastFilter)
pr("pushFilterValue ( "+filtername+" , "+arg+" )")
lastFilter[filtername] = arg; lastFilter[filtername] = arg;
pr(lastFilter)
pr("%%%%%%%%%%%%%%%%%%%%%%%%%%")
} }
function add1Edge(ID) { function add1Edge(ID) {
......
...@@ -721,6 +721,10 @@ function extractFromJson(data,seed){ ...@@ -721,6 +721,10 @@ function extractFromJson(data,seed){
nodes1[source].neighbours.push(target); nodes1[source].neighbours.push(target);
nodes1[target].neighbours.push(source); nodes1[target].neighbours.push(source);
// social edges = 1
Edges[indice].weight = 1;
edge.weight = 1;
partialGraph.addEdge(indice,source,target,edge); partialGraph.addEdge(indice,source,target,edge);
} }
......
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