| 12345678910111213141516171819202122232425262728293031 |
- import { NodeConnectionTypes, type INodeType } from '../Interface'
- export type IterationData = {}
- export const iterationNode: INodeType = {
- version: ['1'],
- displayName: '迭代',
- name: 'iteration',
- description: '迭代节点',
- group: '业务逻辑',
- icon: 'lucide:repeat-2',
- iconColor: '#9373ee',
- inputs: [NodeConnectionTypes.main],
- outputs: [NodeConnectionTypes.main],
- // 业务数据
- schema: {
- appAgentId: '',
- parentId: '',
- position: {
- x: 20,
- y: 30
- },
- width: 96,
- height: 96,
- selected: false,
- nodeType: 'iteration',
- zIndex: 1,
- data: {}
- }
- }
|