Useless code ?
Opened this issue · 0 comments
obiwankennedy commented
I found this code in springy.js (line368).
var to = this.graph.getEdges(edge.target, edge.source);
from.forEach(function(e){
if (existingSpring === false && e.id in this.edgeSprings) {
existingSpring = this.edgeSprings[e.id];
}
}, this);
I think it it should iterate from the variable "to" and not on "from".