rcarcasses / vue-cytoscape

cytoscape.js now inside vue.js
https://rcarcasses.github.io/vue-cytoscape
MIT License
96 stars 34 forks source link

vue-cytoscape does not work with euler layout #45

Open pkovanen opened 5 years ago

pkovanen commented 5 years ago

Euler layout hangs at least with Chrome browser. I have verified this with my own component and your example project:

(https://github.com/rcarcasses/vue-cytoscape-cola)

Reproduce:

npm install --save cytoscape-eule

Make the following changes to the example code:

import euler from "cytoscape-euler";
...
  layout: {
    name: "euler"
  },
...
cytoscape.use(euler);

Thank you so much for this great component!