| 12345678910111213141516171819202122232425262728 |
- import { NodeConnectionTypes, type INodeType } from '../Interface'
- export const conditionNode: INodeType = {
- version: ['1'],
- displayName: '条件判断',
- name: 'condition',
- description: '根据条件判断',
- icon: 'lucide:trending-up-down',
- iconColor: '#b33be6',
- inputs: [],
- outputs: [NodeConnectionTypes.main],
- // 业务数据
- schema: {
- appAgentId: '',
- parentId: '',
- position: {
- x: 20,
- y: 30
- },
- width: 280,
- height: 60,
- selected: true,
- nodeType: 'condition',
- zIndex: 1,
- data: {}
- }
- }
|