import { NodeConnectionTypes, type INodeType } from '../Interface' export const conditionNode: INodeType = { version: ['1'], displayName: '条件判断', name: 'condition', description: '根据条件判断', 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: 'condition', zIndex: 1, data: {} } }