cytoscape.js now inside vue.js
Cytoscape, now in vue
For more details please visit our site:
https://rcarcasses.github.io/vue-cytoscape
To upgrade from v0.2.x
to v1.0.x
:
this.$cytoscape.instance
no longer exist in v1
, if you want to access cytoscape instance use the afterCreated
lifecycle hook.config.elements
configuration is discouraged, use the CyElement
s api instead.cytoscape
instances support.v-on:
directive events api introduced.vuepress
.cytoscape
events can now be listened in through the component.cytoscape
component.cytoscape
instance is reflected in the Cytoscape
component: CyElement
s
components are added/removed accordingly.cytoscape
interaction via global instance.preConfig
and afterCreated
lifecycle hooks provided, support for cytoscape
plugins.