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