react-cytoscapejs icon indicating copy to clipboard operation
react-cytoscapejs copied to clipboard

React-cytoscape mutates data

Open celine3d opened this issue 5 years ago • 0 comments

Hi, here is and example and my question why data is mutated when I change position of a node. Link for demo: https://codesandbox.io/s/cytoscapemutatingdata-uq9kh?file=/src/Component.js Recreation path: 1).Click red button 2). Drag 'n0' node down or anywhere 3). Click red button 4)Click red button to rerender component 5) See that the position of 'n0' node is mutated

celine3d avatar Oct 29 '20 11:10 celine3d