Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sashokbg opened this issue Nov 16, 2021 · 1 comment
Open

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

sashokbg opened this issue Nov 16, 2021 · 1 comment

Comments

@sashokbg
Copy link

sashokbg commented Nov 16, 2021

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
Copy link
Owner

kinimesi commented Dec 5, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants