RegisterGroup

注册组

使用说明

G6 自定义图项 教程

<template>
  <vue-flowchart-editor>
    <flow />
    <register-group name="" :config="{}" extend="" />
  </vue-flowchart-editor>
</template>
<script>
  import VueFlowchartEditor, { Flow, RegisterGroup } from 'vue-flowchart-editor'
  export default {
    components: { VueFlowchartEditor, Flow, RegisterGroup },
  }
</script>

API

属性 说明 类型 默认值
name 组名称 string -
config 组配置 object -
extend 继承图形 string -