multiple fixes

This commit is contained in:
2024-05-11 01:11:07 +01:00
parent 0ac6ac8dce
commit 0c0d16c846
34 changed files with 340 additions and 454 deletions

View File

@@ -12,7 +12,7 @@
let width = $state(0);
let height = $state(0);
function drag(simulation: any) {
function drag(simulation: d3.Simulation<d3.HierarchyNode<Base>, undefined>) {
function dragstarted(event: any, d: any) {
if (!event.active) simulation.alphaTarget(0.3).restart();
d.fx = d.x;