If an edge has a label (in my case it shows an updating percentage) and the label changed it updates the whole layout each time there's an update
I worked through the code and found that shouldComponentUpdate analyzes the changed nodes and edges but it has a bug
edgesChanged is always empty, and an actual updated edge is always removed, and than inserted again - which causes re-layout
I have fixed that with a better diffing method and opened a PR for that issue, I have tested it on my project with an updating stream of data and it works.
If an edge has a label (in my case it shows an updating percentage) and the label changed it updates the whole layout each time there's an update I worked through the code and found that shouldComponentUpdate analyzes the changed nodes and edges but it has a bug
edgesChanged is always empty, and an actual updated edge is always removed, and than inserted again - which causes re-layout I have fixed that with a better diffing method and opened a PR for that issue, I have tested it on my project with an updating stream of data and it works.