I have a Sankey chart which gets data through an API, populates the graphData object and then executes a react() to plot the graph. This is working correctly with no issues at all.
I have a button on the page which changes the data that the API receives, populates the graphData object again, and then executes a react() a second time.
This works correctly if any of the nodes haven’t been moved (or if in fixed moved), however if any of the nodes from the first graph have moved prior to replotting the graph, the arrangement of the nodes seems to be completely arbitrary on the second plot and the nodes reposition horizontally when moved (in perpendicular mode).
I am setting responsive to true when executing react().
Does anyone know why this would be happening?