plotly / react-cytoscapejs

React component for Cytoscape.js network visualisations
MIT License
481 stars 68 forks source link

Layout changes after using setState #64

Open canyuva opened 4 years ago

canyuva commented 4 years ago

Hello everyone, There are several states on my page. When I update a state (onClick, onChange etc.) my nodes positions also change immediately. I looked at Cytoscape.js docs to avoid this via cy reference, I didn't found any useful function. Do you have any suggestions with this?

brogr commented 1 year ago

I had a similar problem, and solved it by: