import { NodeConnectionTypes, type INodeType } from '../Interface' export const conditionNode: INodeType = { version: ['1'], displayName: '条件判断', name: 'if-else', description: '根据条件判断', group: '业务逻辑', icon: 'lucide:trending-up-down', iconColor: '#b33be6', inputs: [NodeConnectionTypes.main], outputs: (data: any) => { return [NodeConnectionTypes.main] }, // 业务数据 schema: { appAgentId: '', parentId: '', position: { x: 20, y: 30 }, width: 96, height: 96, selected: false, nodeType: 'if-else', zIndex: 1, data: {} } }