Skip to content

Commit

Permalink
due to error in restoring edges, I restored the previous one first
Browse files Browse the repository at this point in the history
  • Loading branch information
erdogant committed Oct 14, 2023
1 parent 338d164 commit b08b912
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions d3graph/d3js/d3graphscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ function d3graphscript(config = {
d3.select("#thresholdSlider").on("change", threshold);



/*
//Restart the visualisation after any node and link changes
function restart() {
Expand All @@ -314,8 +314,8 @@ function d3graphscript(config = {
node.enter().insert("circle", ".cursor").attr("class", "node").attr("r", 5).call(force.drag);
force.start();
}
*/

/*
//Restart the visualisation after any node and link changes
function restart() {

Expand All @@ -332,6 +332,5 @@ function d3graphscript(config = {
node.enter().insert("circle", ".cursor").attr("class", "node").attr("r", 5).call(force.drag);
force.start();
}
*/

}

0 comments on commit b08b912

Please sign in to comment.