@logicflow/vue-node-registry
TypeScript icon, indicating that this package has built-in type declarations

1.0.15 • Public • Published

@logicflow/vue-node-registry

LogicFlow Shape for rendering Vue components.

Installation

npm install @logicflow/vue-node-registry

or

yarn add @logicflow/vue-node-registry

or

pnpm add @logicflow/vue-node-registry

Usage

用户自定义 Vue 节点 CustomVueComponent

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

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

/@logicflow/vue-node-registry/

    Package Sidebar

    Install

    npm i @logicflow/vue-node-registry

    Weekly Downloads

    480

    Version

    1.0.15

    License

    Apache-2.0

    Unpacked Size

    223 kB

    Total Files

    44

    Last publish

    Collaborators

    • xutao
    • yhlchao
    • geekjk
    • sunyongjian
    • lvhongxin
    • dymonelewis
    • r0ger_