You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use the cose-bilkent layout, I get the following error: Uncaught TypeError: ani.play is not a function at cytoscape.cjs.js:11449 at Array.forEach (<anonymous>) at Collection.layoutPositions (cytoscape.cjs.js:11448) at Layout._CoSELayout.run (cytoscape-cose-bilkent.js:349) at new AppComponent (app.js:36) at $ (preact.module.js:1) at m (preact.module.js:1) at $ (preact.module.js:1) at O (preact.module.js:1) at Module../src/client/index.js (index.js:18)
I'm using:
Cytoscape 3.17.1
cose-base 1.0.3
cytoscape-cose-bilkent 4.1.0
And I'm using cose-bilkent the following way: const layout = cy.layout({ name: 'cose-bilkent', }); layout.run();
The text was updated successfully, but these errors were encountered:
I can't share my code to reproduce this issue since I'm working with NDA data, but you should be able to reproduce it using the wine and cheese demo, and changing the layout to cose-bilkent or FCoSE
I also encountered this error when trying to compute a layout in nodejs, presumably because animation requires DOM manipulation that is only possible in the browser.
My solution was to disable animations (cy.layout({ name: 'cose-bilkent', animate: false })). I don't know if this is applicable to your situation.
Hi,
When I try to use the cose-bilkent layout, I get the following error:
Uncaught TypeError: ani.play is not a function at cytoscape.cjs.js:11449 at Array.forEach (<anonymous>) at Collection.layoutPositions (cytoscape.cjs.js:11448) at Layout._CoSELayout.run (cytoscape-cose-bilkent.js:349) at new AppComponent (app.js:36) at $ (preact.module.js:1) at m (preact.module.js:1) at $ (preact.module.js:1) at O (preact.module.js:1) at Module../src/client/index.js (index.js:18)
I'm using:
And I'm using cose-bilkent the following way:
const layout = cy.layout({ name: 'cose-bilkent', }); layout.run();
The text was updated successfully, but these errors were encountered: