Fix: d3ReheatSimulation anstelle von unzulaessigem alpha.restart aufgerufen (behebt 'alpha is not a function' Fehler)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user