efficy-rete-vue-render-plugin

Vue Render for Vue 3 (experimental) Rete.js plugin
246 41
Install
npm install efficy-rete-vue-render-plugin
Latest Version:1.0.0-rc5
Vue:3
License:MIT
Last Updated:Jul 10, 2026
Links: GitHub  ·  npm
Maintainer: samuelfa

Vue Render for Vue 3 (experimental)

Rete.js plugin
import VueRenderPlugin from 'rete-vue-render-plugin';

editor.use(VueRenderPlugin, {
    component: CustomNodeComponent, // optional
    options: {
        // router, plugin, etc.
    }
});
import CustomNodeComponent from './CustomNodeComponent.vue';
import CustomControlComponent from './CustomControlComponent.vue';

class MyComponent extends Rete.Component {
    constructor(){
        // ...
        this.data.render = 'vue';
        this.data.component = CustomNodeComponent; // Vue.js component, not required
        this.data.props = {}; // props for the component above, not required
    }
}

class MyControl extends Rete.Control {
    constructor(){
        // ...
        this.render = 'vue';
        this.component = CustomControlComponent; // Vue.js component, required
        this.props = {}; // props for the component above, not required
    }
}
const node = editor.nodes[0];
const control = node.controls.get('ctrl');

node.update(); // force update
control.update(); // of view

// in some cases you can gt Vue.js context
node.vueContext
control.vueContext

Version History

Pre-releases (3)
Version Released Vue License
1.0.0-rc5 ^3.2.31 MIT
1.0.0-rc4 ^3.1.5 MIT
1.0.0-rc3 ^3.1.5 MIT