@logicflow/vue-node-registry

LogicFlow Vue Component Node Registry
147,880
Install
npm install @logicflow/vue-node-registry
Latest Version:1.2.5
Vue:2 · 3
License:Apache-2.0
Last Updated:Jul 30, 2026
Links: npm
Maintainer: xutao

@logicflow/vue-node-registry

LogicFlow Shape for rendering Vue components.

Installation

此包将 Vue 组件桥接到 LogicFlow 节点系统,@logicflow/core 和 vue 需要由使用方显式提供。Vue 2 场景下,如果项目未通过 vue-demi 自动满足要求,还需要安装 @vue/composition-api。

npm install @logicflow/core @logicflow/vue-node-registry vue

or

yarn add @logicflow/core @logicflow/vue-node-registry vue

or

pnpm add @logicflow/core @logicflow/vue-node-registry vue

Usage

用户自定义 Vue 节点 CustomVueComponent

我们需要将该内容注册到某个地方

  1. 如果基于默认的 HTML 节点,只是调整节点里面的内容,
register({
  type: 'custom-vue-shape',
  view: VueComponent,
  model: VueNodeModel,
}, lf)
  1. 注册节点
  2. view 为 Vue 组件(基于 HTMLNode 自定义)
  3. model 为节点数据模型

Related Packages

sgs-node

sgs node

9,429
express-vue

Vue rendering engine for Express.js

15,239 1,297
poke-ball

vuejs application generator 帮助开发人员快速生成一个vuejs项目,同时支持该项目模...

1,632
@i18n-micro/node

Node.js utilities for loading translations and locale data in Nuxt I18n Micro.

4,423 251
g6-extension-vue

Using Vue Component to Define Your G6 Graph Node

35,130 10

Version History

Version Released License
1.2.5 Apache-2.0
1.2.4 Apache-2.0
1.2.3 Apache-2.0
1.2.2 Apache-2.0
1.2.1 Apache-2.0
Pre-releases (16)
Version Released License
1.2.5-alpha.0 Apache-2.0
1.2.3-alpha.0 Apache-2.0
1.2.0-alpha.7 Apache-2.0
1.2.0-alpha.6 Apache-2.0
1.2.0-alpha.5 Apache-2.0