Skip to content

Commit

Permalink
#6 bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
canbax committed Aug 28, 2021
1 parent 9fcb918 commit a5c9164
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions cytoscape-layvo.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,6 @@ var getTotalEdgeLength = function getTotalEdgeLength(cy) {
totalLength += getDistance(sp[i], sp[i + 1]);
}
}

totalLength += getDistance(p, q);
}
} catch (err) {
_didIteratorError = true;
Expand Down
2 changes: 0 additions & 2 deletions src/layout-evaluation.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,6 @@ let getTotalEdgeLength = function (cy) {
totalLength += getDistance(sp[i], sp[i + 1]);
}
}

totalLength += getDistance(p, q);
}
return totalLength;
};
Expand Down

0 comments on commit a5c9164

Please sign in to comment.