Fix: d3ReheatSimulation anstelle von unzulaessigem alpha.restart aufgerufen (behebt 'alpha is not a function' Fehler)
This commit is contained in:
+2
-2
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -7,7 +7,7 @@
|
|||||||
<link rel="manifest" href="/manifest.webmanifest" />
|
<link rel="manifest" href="/manifest.webmanifest" />
|
||||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||||
<title>Mission Control 2.0</title>
|
<title>Mission Control 2.0</title>
|
||||||
<script type="module" crossorigin src="/assets/index-BcsTzr2v.js"></script>
|
<script type="module" crossorigin src="/assets/index-DNXEzn-Z.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-1USExdfg.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-1USExdfg.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ export function GraphView({ data, onDelete }: { data: MemoryGraph; onDelete: (id
|
|||||||
if (link) link.distance(50)
|
if (link) link.distance(50)
|
||||||
|
|
||||||
// Simulation neu anschubsen bei neuen Daten
|
// Simulation neu anschubsen bei neuen Daten
|
||||||
fg.alpha(0.8).restart()
|
fg.d3ReheatSimulation()
|
||||||
}, [graphData])
|
}, [graphData])
|
||||||
|
|
||||||
const activeNode = hovered || selected
|
const activeNode = hovered || selected
|
||||||
|
|||||||
Reference in New Issue
Block a user