index.ts 670 Bytes
/*
 * @Date: 2023-10-27 09:29:59
 * @LastEditors: hookehuyr hookehuyr@gmail.com
 * @LastEditTime: 2023-12-01 17:11:30
 * @FilePath: /vue-flow-editor/src/shape/index.ts
 * @Description: 文件描述
 */
import {registerAnchor} from "@/shape/anchor";
import {registerEdge} from "@/shape/edge";
import {registerEdge1} from "@/shape/edge1"; // TAG:新增一条彩色的连接线
// TAG: 自定义节点 - 引入节点
import {registerActivity} from "@/shape/activity";
import {registerControl} from "@/shape/control";

export function registerShape(G6) {
    registerAnchor(G6)
    registerEdge(G6)
    registerEdge1(G6)
    registerActivity(G6)
    registerControl(G6)
}