rcarcasses / vue-cytoscape

cytoscape.js now inside vue.js
https://rcarcasses.github.io/vue-cytoscape
MIT License
96 stars 34 forks source link

Data coming from VUEX do not clear old data #39

Open gioppoluca opened 5 years ago

gioppoluca commented 5 years ago

I'm adding nodex using vues. All works well apart from the fact that when I mutate the state data old nodes and edges to not get removed and I get errors if I try to add nodes with the same name and get the new nodes on top of old ones. Is something that I'm missing?

rcarcasses commented 5 years ago

Hi @gioppoluca, can you update to the latest version of the library and check if it works now for you?