1.0.6 • Published 5 years ago
@wfischer42/vue-cytoscape v1.0.6
vue-cytoscape
Cytoscape, now in vue
For more details please visit our site:
https://rcarcasses.github.com/vue-cytoscape
Migration guide
To upgrade from v0.2.x
to v1.0.0
:
this.$cytoscape.instance
no longer exist inv1
, if you want to access cytoscape instance use theafterCreated
lifecycle hook.- Creating elements by passing
config.elements
configuration is discouraged, use theCyElement
s api instead.
Changelog
v1.0.0
- Typescript support.
- Multiple
cytoscape
instances support. v-on:
directive events api introduced.- Documentation with
vuepress
. - DOM reflection removed.
v0.2
cytoscape
events can now be listened in through the component.- Graph elements can be added as children of the
cytoscape
component. - Adding/removing elements directly using
cytoscape
instance is reflected in theCytoscape
component:CyElement
s components are added/removed accordingly.
v0.1
- Support for
cytoscape
interaction via global instance. preConfig
andafterCreated
lifecycle hooks provided, support forcytoscape
plugins.
1.0.6
5 years ago