I'm trying the latest cytoscape with the latest cola and I get the following error:
Uncaught TypeError: cola.adaptor is not a function
for the cytoscape.js code snippet:
var adaptor = layout.adaptor = cola.adaptor({
trigger: function( e ){ // on sim event
switch( e.type ){
case 'tick':
if( options.animate ){
Did the API change for Cola?
cola import if you use webpack for build app:
import cola from 'exports?cola!webcola/WebCola/cola';
that`s works for me :)