flow-selected-nodes.mock.ts 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. /**
  2. * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
  3. * SPDX-License-Identifier: MIT
  4. */
  5. export const FLOW_SELECTED_NODES = {
  6. nodes: [
  7. {
  8. id: 'start',
  9. type: 'start',
  10. blocks: [],
  11. },
  12. {
  13. id: 'createRecord_613973143a5',
  14. type: 'createRecord',
  15. blocks: [],
  16. },
  17. {
  18. id: 'exclusiveSplit_13973143a53',
  19. type: 'dynamicSplit',
  20. blocks: [
  21. {
  22. id: 'branch_0b5ee7b1189',
  23. meta: {
  24. size: {
  25. width: 280,
  26. height: 28,
  27. },
  28. },
  29. },
  30. {
  31. id: 'branch_b5ee7b11890',
  32. meta: {
  33. size: {
  34. width: 280,
  35. height: 28,
  36. },
  37. },
  38. },
  39. ],
  40. },
  41. {
  42. id: 'exclusiveSplit_30baf8b1da0',
  43. type: 'dynamicSplit',
  44. blocks: [
  45. {
  46. id: 'branch_33d40b5ee7b',
  47. meta: {
  48. size: {
  49. width: 280,
  50. height: 28,
  51. },
  52. },
  53. blocks: [
  54. {
  55. id: 'createRecord_897b61c55f3',
  56. type: 'createRecord',
  57. blocks: [],
  58. },
  59. ],
  60. },
  61. {
  62. id: 'branch_3d40b5ee7b1',
  63. meta: {
  64. size: {
  65. width: 280,
  66. height: 28,
  67. },
  68. },
  69. blocks: [
  70. {
  71. id: 'exclusiveSplit_d0070ce5d04',
  72. type: 'dynamicSplit',
  73. blocks: [
  74. {
  75. id: 'branch_d40b5ee7b11',
  76. meta: {
  77. size: {
  78. width: 280,
  79. height: 28,
  80. },
  81. },
  82. blocks: [
  83. {
  84. id: 'createRecord_47e8fe1dfc3',
  85. type: 'createRecord',
  86. blocks: [],
  87. },
  88. {
  89. id: 'createRecord_32dcdd10274',
  90. type: 'createRecord',
  91. blocks: [],
  92. },
  93. {
  94. id: 'exclusiveSplit_a5579b3997d',
  95. type: 'dynamicSplit',
  96. blocks: [
  97. {
  98. id: 'branch_5ee7b11890c',
  99. meta: {
  100. size: {
  101. width: 280,
  102. height: 28,
  103. },
  104. },
  105. blocks: [
  106. {
  107. id: 'createRecord_b57b00eee94',
  108. type: 'createRecord',
  109. blocks: [],
  110. },
  111. ],
  112. },
  113. {
  114. id: 'branch_ee7b11890c1',
  115. meta: {
  116. size: {
  117. width: 280,
  118. height: 28,
  119. },
  120. },
  121. },
  122. ],
  123. },
  124. ]
  125. },
  126. {
  127. id: 'branch_40b5ee7b118',
  128. meta: {
  129. size: {
  130. width: 280,
  131. height: 28,
  132. },
  133. },
  134. blocks: [
  135. {
  136. id: 'tryCatch_cb31cd3f34f',
  137. type: 'tryCatch',
  138. blocks: [
  139. {
  140. id: 'branch_b31cd3f34fe',
  141. blocks: [
  142. {
  143. id: 'createRecord_a32ff708e68',
  144. type: 'createRecord',
  145. blocks: [],
  146. },
  147. ]
  148. },
  149. {
  150. id: 'branch_31cd3f34fec',
  151. blocks: [
  152. {
  153. id: 'createRecord_94cf09ad24b',
  154. type: 'createRecord',
  155. blocks: [],
  156. },
  157. ]
  158. },
  159. ],
  160. },
  161. ]
  162. },
  163. ],
  164. },
  165. ]
  166. },
  167. ],
  168. },
  169. {
  170. id: 'end',
  171. type: 'end',
  172. blocks: [],
  173. },
  174. ],
  175. }