Bug with links
- Dominant language
- JavaScript
- Stars
- 3.9k
- Forks
- 418
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to dynamically render new links with this code:
```
const renderLoop = setInterval(() => {
renderer.pause();
setTimeout(() => {
// Render new transactions
for (let i = 0; i < batch; i++) {
const transaction = getTransaction()
addLink(transaction.sender, transaction.recipient);
if (currentTransaction < TRANSACTIONS.length) {
nextTransaction()
} else {
clearInterval(renderLoop)
return;
}
}
renderer.resume();
}, 0)
}, 2000)
```
And after a couple renders there appear a "ghost" links not connected to any node and with static positioning (they not animated like other nodes)

Please, help me to figure out why it can happens?
Contributor guide
No contributing guide indexed for this repository
Research direction
Use the provided render loop as the reproduction case, tracing renderer.pause(), renderer.resume(), addLink(), and nextTransaction() first. Confirm why links become disconnected and statically positioned after repeated renders; done means the cause is identified and the rendering behavior is corrected without ghost links.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100