plotly / react-cytoscapejs

React component for Cytoscape.js network visualisations
MIT License
470 stars 69 forks source link

feat: deepEqual layout and style #119

Closed L4legenda closed 1 year ago

L4legenda commented 1 year ago

New changes

if (deepEqual(layout1, layout2)) return;
...
if (deepEqual(style1, style2)) return;

Optimized and commented the code with chatGPT