end.ts 511 B

1234567891011121314151617181920212223242526272829
  1. import { NodeConnectionTypes, type INodeType } from '../Interface'
  2. export const endNode: INodeType = {
  3. version: ['1'],
  4. displayName: '结束',
  5. name: 'end',
  6. description: '流程结束节点',
  7. group: '业务逻辑',
  8. icon: 'lucide:unplug',
  9. iconColor: '#c49600',
  10. inputs: [NodeConnectionTypes.main],
  11. outputs: [],
  12. // 业务数据
  13. schema: {
  14. appAgentId: '',
  15. parentId: '',
  16. position: {
  17. x: 20,
  18. y: 30
  19. },
  20. width: 96,
  21. height: 96,
  22. selected: false,
  23. nodeType: 'end',
  24. zIndex: 1,
  25. data: {}
  26. }
  27. }