react-d3-graph
react-d3-graph copied to clipboard
"Disconnected" edges after graph rearranges
Copies of edges in the graph remain behind when the graph moves, leading to floating, disconnected edges.
I believe this happens most consistently when I first rearrange the nodes manually, then add an edge to the graph, but it also sometimes "relaxes" spontaneously from a roughly circular layout, to a layout of nodes evenly spaced over an area, and this can also lead to the "detached" edges
Here's an example: the orange, highlighted edge. It used to connect the two nodes it is currently touching, but it stayed where it was, and they moved.

This is macos 11.3.1, chrome 91.0.4472.114,
- react-d3-graph version ^2.4.0
- react version ^16.12.0
All config settings for the graph are defaults