Skip to content

Commit

Permalink
Liens + màj auto #47
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoCarton committed Mar 13, 2024
1 parent ceab389 commit 248a4f2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mission.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,7 @@ async function nodelink_creator(data, colors = [], strength = -400, width = 400,
)
.force("charge", d3.forceManyBody().strength(strength))
.force("center", d3.forceCenter(width / 2, height / 2))
.on("end", ticked)
/*
//.on("end", ticked)
.on("tick", function () {

ticked()
Expand All @@ -253,7 +252,7 @@ async function nodelink_creator(data, colors = [], strength = -400, width = 400,
simulation.stop(); // Arrêter la simulation après le nombre spécifié de ticks
}
})
*/


function ticked() {

Expand Down

0 comments on commit 248a4f2

Please sign in to comment.