react-cytoscapejs
react-cytoscapejs copied to clipboard
React-cytoscape mutates data
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