cytoscape / cytoscape.js-klay

The Klay layout algorithm for Cytoscape.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot read property 'layout' of undefined

pmackay opened this issue · comments

I get this error when running this layout:

Uncaught TypeError: Cannot read property 'layout' of undefined
    at Layout.run (cytoscape-klay.js?a54c:299)

Its failing on this line.

Please post a reproducible test case

Maybe it's an issue with your build system, in which case you could try building off of master (wip) to see if the new scaffolding (webpack now v.s. browserify before) resolves your issue.

Yes the new scaffolding has resolved it if I build off master. Thanks!