vue-cytoscape
vue-cytoscape copied to clipboard
cytoscape.js now inside vue.js
vue-cytoscape
Cytoscape, now in vue
For more details please visit our site:
https://rcarcasses.github.io/vue-cytoscape
Migration guide
To upgrade from v0.2.x to v1.0.x:
this.$cytoscape.instanceno longer exist inv1, if you want to access cytoscape instance use theafterCreatedlifecycle hook.- Creating elements by passing
config.elementsconfiguration is discouraged, use theCyElements api instead.
Changelog
v1.0.7
- reactivity added for element data & positions
v1.0.0
- Typescript support.
- Multiple
cytoscapeinstances support. v-on:directive events api introduced.- Documentation with
vuepress. - DOM reflection removed.
v0.2
cytoscapeevents can now be listened in through the component.- Graph elements can be added as children of the
cytoscapecomponent. - Adding/removing elements directly using
cytoscapeinstance is reflected in theCytoscapecomponent:CyElements components are added/removed accordingly.
v0.1
- Support for
cytoscapeinteraction via global instance. preConfigandafterCreatedlifecycle hooks provided, support forcytoscapeplugins.
