12 lines
341 B
TypeScript
12 lines
341 B
TypeScript
import type {NodeProps} from '@xyflow/react'
|
|
import AmisNode, {outputsFormColumns} from './AmisNode.tsx'
|
|
|
|
const EndNode = (props: NodeProps) => AmisNode({
|
|
nodeProps: props,
|
|
type: 'end',
|
|
defaultNodeName: '结束节点',
|
|
defaultNodeDescription: '定义输出变量',
|
|
columnSchema: outputsFormColumns(true),
|
|
})
|
|
|
|
export default EndNode |