Fix: d3ReheatSimulation anstelle von unzulaessigem alpha.restart aufgerufen (behebt 'alpha is not a function' Fehler)

This commit is contained in:
Hitonabi
2026-07-09 12:22:02 +02:00
parent 35e8951a0d
commit a261462857
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -112,7 +112,7 @@ export function GraphView({ data, onDelete }: { data: MemoryGraph; onDelete: (id
if (link) link.distance(50)
// Simulation neu anschubsen bei neuen Daten
fg.alpha(0.8).restart()
fg.d3ReheatSimulation()
}, [graphData])
const activeNode = hovered || selected