I am trying to use the cola layout in a Cytoscape graph in javascript, but I get the error
Can not apply layout: No such layout `cola` found; did you include its JS file?
I have already included both the cola and cytoscape libraries as well as the adaptor required to use cola in cytoscape in my HTML:
- For cytoscape.js: https://github.com/cytoscape/cytoscape.js-cola/blob/master/cytoscape-cola.js
- For cola.js: http://marvl.infotech.monash.edu/webcola/cola.v3.min.js
- For cytoscape-cola.js: https://github.com/cytoscape/cytoscape.js-cola/blob/master/cytoscape-cola.js
I don't know if there is still something else I am missing or what else I should try to include to be able to use cola!