/* * This file is part of the kernelstudio package. * * (c) 2014-2025 zlin * * For the full copyright and license information, please view the LICENSE file * that was distributed with this source code. */ import { Graph, Node } from '@antv/x6'; import { type ExtractPropTypes, type PropType } from 'vue'; import type { BaseElement } from '../types'; export const elementProps = { node: { type: Object as PropType, required: true, }, graph: { type: Object as PropType, required: true, }, element: { type: Object as PropType, required: false, }, }; export type ElementPropsType = ExtractPropTypes