Commit 92d508dc authored by Romain Loth's avatar Romain Loth

legacy lock flag not needed anymore since 2fc18ac6

parent 9a49c8f0
......@@ -789,8 +789,9 @@ function changeLevel(optionalTgtState) {
for(var nid in nodesToAdd)
add1Elem(nid)
for(var eid in edgesToAdd)
for(var eid in edgesToAdd) {
add1Elem(eid)
}
// Adding intra-neighbors edges O(voisinage²)
voisinage = Object.keys(voisinage)
......@@ -1134,7 +1135,7 @@ function EdgeWeightFilter(sliderDivID , reltypestr , criteria) {
var t0 = performance.now()
if (TW.partialGraph.graph.edges(eid)) {
TW.partialGraph.graph.edges(eid).hidden = true
TW.Edges[eid].lock = true;
// TW.Edges[eid].lock = true;
}
var t1 = performance.now()
......
......@@ -806,7 +806,7 @@ function add1Elem(id) {
} else { // It's an edge!
if(!isUndef(TW.partialGraph.graph.edges(id))) return;
var e = TW.Edges[id]
if(e && !e.lock){
if(e){
// var anedge = {
// id: id,
// source: e.source,
......
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