Closed maxkfranz closed 7 years ago
@mj3cheun Would you please look into this when you're doing your Webpack testing?
thanks for switching threads @maxkfranz
Found the issue, the problem is webpack defaults to AMD over CommonJS, which requires all the dependencies (Dagre) to be passed in manually.
This issue is fixed in commit 7d26a2137184719232dd4842c5dcfe8827d84290 and will be published soon.
When the commit will be publish ? I have the same error on my react project with webpack.
@mj3cheun is working on that now. It will be published in the next day or so. You can use a git url ref in your package.json in the meanwhile to use the latest code from master
Has been published. Use latest version 1.5.0.
Ref: https://github.com/cytoscape/cytoscape.js/issues/1738
I get this error when I'm trying to use the dagre layout
Can not apply layout: No such layout
dagrefound; did you include its JS file?
If I use the default layouts works fine.