react-d3-graph icon indicating copy to clipboard operation
react-d3-graph copied to clipboard

"Disconnected" edges after graph rearranges

Open amloewi opened this issue 4 years ago • 0 comments

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. Screen Shot 2021-07-11 at 12 53 43 PM

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

amloewi avatar Jul 11 '21 17:07 amloewi