fixed-layout-specs.ts 1.7 KB

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