node-registries.tsx 634 B

12345678910111213141516171819202122232425262728293031
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. import { WorkflowNodeRegistry } from '@flowgram.ai/free-layout-editor';
  6. export const nodeRegistries: WorkflowNodeRegistry[] = [
  7. {
  8. type: 'start',
  9. meta: {
  10. isStart: true,
  11. deleteDisable: true,
  12. copyDisable: true,
  13. defaultPorts: [{ type: 'output' }],
  14. },
  15. },
  16. {
  17. type: 'end',
  18. meta: {
  19. deleteDisable: true,
  20. copyDisable: true,
  21. defaultPorts: [{ type: 'input' }],
  22. },
  23. },
  24. {
  25. type: 'custom',
  26. meta: {},
  27. defaultPorts: [{ type: 'output' }, { type: 'input' }],
  28. },
  29. ];