cytoscape-svg icon indicating copy to clipboard operation
cytoscape-svg copied to clipboard

Error: Attempted to apply path command to node g

Open sashokbg opened this issue 3 years ago • 1 comments

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

sashokbg avatar Nov 16 '21 08:11 sashokbg

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

kinimesi avatar Dec 05 '21 08:12 kinimesi