MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/openevolve / dragstarted

Function dragstarted

scripts/static/js/graph.js:465–469  ·  view source on GitHub ↗
(event, d)

Source from the content-addressed store, hash-verified

463}
464
465function dragstarted(event, d) {
466 if (!event.active && simulation) simulation.alphaTarget(0.3).restart(); // Keep simulation alive
467 d.fx = d.x;
468 d.fy = d.y;
469}
470function dragged(event, d) {
471 d.fx = event.x;
472 d.fy = event.y;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected