kinimesi / cytoscape-svg

A Cytoscape.js extension to export the current graph view as an SVG.
https://kinimesi.github.io/cytoscape-svg
GNU General Public License v3.0
34 stars 5 forks source link

Error: Attempted to apply path command to node g #9

Open sashokbg opened 2 years ago

sashokbg commented 2 years ago

Hello,

I am using the SVG plugin with default options and it doesn't work, throwing the following error:

Attempted to apply path command to node g | ctx.applyCurrentDefaultPath | @ | cytoscape-svg.js:826   | ctx.stroke | @ | cytoscape-svg.js:1000   | drawBorder | @ | cytoscape.cjs.js:29898   | push.ROFb.CRp$5.drawNode | @ | cytoscape.cjs.js:29972   | push.ROFb.CRp$1.drawElement | @ | cytoscape.cjs.js:28547   | push.ROFb.CRp$1.drawElements | @ | cytoscape.cjs.js:28708   | CRp.bufferCanvasImage | @ | cytoscape-svg.js:197   | CRp.svg | @ | cytoscape-svg.js:214   | export | @ | cytoscape-chart.proxy.ts:501   | (anonymous) | @ | cytoscape-chart.proxy.ts:440   | (anonymous) | @ | tslib.es6.js:76   | ZoneAwarePromise | @ | zone-evergreen.js:1387   | awaiter | @ | tslib.es6.js:72

Please advise. Best Regards Alexander

kinimesi commented 2 years ago

Hi, could you please provide a simple example that reproduces the issue? You could check the provided demos here which works as expected.