end.ts 487 B

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