rcarcasses / vue-cytoscape

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

cy.nodes() - Invalid attempt to iterate non-iterable instance #91

Open francescolaruffa opened 3 years ago

francescolaruffa commented 3 years ago

Hello ... Trying to use cytoscape-dom-node (https://github.com/mwri/cytoscape-dom-node) I got an error with cy.nodes(). The cytoscape-dom-node extesion works properly on cytoscape without vue. It seams that typescript introduced an issue during transpilation. Googling the error in console "In order to be iterable, non-array objects must have a [Symbol.iterator]() method." seams that typescript is causing the issue.