fixed-layout-specs.ts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. import { FlowDocumentJSON } from '@flowgram.ai/document';
  2. export const fixLayout1: FlowDocumentJSON = {
  3. nodes: [
  4. {
  5. type: 'start',
  6. meta: {
  7. isStart: true,
  8. },
  9. id: 'start',
  10. },
  11. {
  12. type: 'getRecords',
  13. id: 'getRecords_07e97c55832',
  14. },
  15. {
  16. type: 'loop',
  17. id: 'forEach_260a8f85ff2',
  18. blocks: [
  19. {
  20. type: 'createRecord',
  21. id: 'createRecord_8f85ff2c11d',
  22. },
  23. {
  24. type: 'dynamicSplit',
  25. id: 'exclusiveSplit_ff2c11d0fb4',
  26. blocks: [
  27. {
  28. id: 'branch_f2c11d0fb42',
  29. },
  30. {
  31. id: 'branch_2c11d0fb42c',
  32. },
  33. ],
  34. },
  35. ],
  36. },
  37. {
  38. type: 'dynamicSplit',
  39. id: 'exclusiveSplit_88dbf2c60ae',
  40. meta: {
  41. defaultExpanded: true,
  42. },
  43. blocks: [
  44. {
  45. id: 'branch_8dbf2c60aee',
  46. blocks: [
  47. {
  48. type: 'dynamicSplit',
  49. id: 'exclusiveSplit_a59afaadc9a',
  50. blocks: [
  51. {
  52. id: 'branch_59afaadc9ac',
  53. },
  54. {
  55. id: 'branch_9afaadc9acd',
  56. blocks: [
  57. {
  58. type: 'deleteRecords',
  59. id: 'deleteRecords_c32807e97c5',
  60. },
  61. ]
  62. },
  63. ],
  64. },
  65. ]
  66. },
  67. {
  68. id: 'branch_dbf2c60aee4',
  69. blocks: [
  70. {
  71. type: 'updateRecords',
  72. id: 'updateRecords_7ed2a172c32',
  73. },
  74. ]
  75. },
  76. ],
  77. },
  78. {
  79. type: 'end',
  80. id: 'end',
  81. },
  82. ],
  83. };