mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-06 08:16:03 +00:00
Clean up comments in renderer.ts
Removed outdated comments regarding edge source/target resolution.
This commit is contained in:
parent
cd3541db83
commit
32b619fe1f
1 changed files with 1 additions and 3 deletions
|
|
@ -244,9 +244,7 @@ function drawEdges(
|
|||
continue
|
||||
}
|
||||
|
||||
// Always resolve through nodeMap. d3-force mutates edge.source/target
|
||||
// from string ids into node object refs at sim init; when useGraphData
|
||||
// rebuilds nodes those refs go stale and edges lag behind dragged nodes.
|
||||
|
||||
const src = nodeMap.get(srcId)
|
||||
const tgt = nodeMap.get(tgtId)
|
||||
if (!src || !tgt) continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue