start.ts 515 B

1234567891011121314151617181920212223242526272829
  1. import { NodeConnectionTypes, type INodeType } from '../Interface'
  2. export const startNode: INodeType = {
  3. version: ['1'],
  4. displayName: '开始',
  5. name: 'start',
  6. description: '流程开始节点',
  7. group: '业务逻辑',
  8. icon: 'lucide:play',
  9. iconColor: '#409eff',
  10. inputs: [],
  11. outputs: [NodeConnectionTypes.main],
  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: 'start',
  24. zIndex: 1,
  25. data: {}
  26. }
  27. }