selection.test.tsx.snap 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
  2. exports[`select single element on the scene > arrow 1`] = `
  3. {
  4. "angle": 0,
  5. "backgroundColor": "transparent",
  6. "boundElements": null,
  7. "endArrowhead": "arrow",
  8. "endBinding": null,
  9. "fillStyle": "hachure",
  10. "frameId": null,
  11. "groupIds": [],
  12. "height": 50,
  13. "id": "id0",
  14. "isDeleted": false,
  15. "lastCommittedPoint": null,
  16. "link": null,
  17. "locked": false,
  18. "opacity": 100,
  19. "points": [
  20. [
  21. 0,
  22. 0,
  23. ],
  24. [
  25. 30,
  26. 50,
  27. ],
  28. ],
  29. "roughness": 1,
  30. "roundness": {
  31. "type": 2,
  32. },
  33. "seed": 337897,
  34. "startArrowhead": null,
  35. "startBinding": null,
  36. "strokeColor": "#1e1e1e",
  37. "strokeStyle": "solid",
  38. "strokeWidth": 1,
  39. "type": "arrow",
  40. "updated": 1,
  41. "version": 3,
  42. "versionNonce": 449462985,
  43. "width": 30,
  44. "x": 10,
  45. "y": 10,
  46. }
  47. `;
  48. exports[`select single element on the scene > arrow escape 1`] = `
  49. {
  50. "angle": 0,
  51. "backgroundColor": "transparent",
  52. "boundElements": null,
  53. "endArrowhead": null,
  54. "endBinding": null,
  55. "fillStyle": "hachure",
  56. "frameId": null,
  57. "groupIds": [],
  58. "height": 50,
  59. "id": "id0",
  60. "isDeleted": false,
  61. "lastCommittedPoint": null,
  62. "link": null,
  63. "locked": false,
  64. "opacity": 100,
  65. "points": [
  66. [
  67. 0,
  68. 0,
  69. ],
  70. [
  71. 30,
  72. 50,
  73. ],
  74. ],
  75. "roughness": 1,
  76. "roundness": {
  77. "type": 2,
  78. },
  79. "seed": 337897,
  80. "startArrowhead": null,
  81. "startBinding": null,
  82. "strokeColor": "#1e1e1e",
  83. "strokeStyle": "solid",
  84. "strokeWidth": 1,
  85. "type": "line",
  86. "updated": 1,
  87. "version": 3,
  88. "versionNonce": 449462985,
  89. "width": 30,
  90. "x": 10,
  91. "y": 10,
  92. }
  93. `;
  94. exports[`select single element on the scene > diamond 1`] = `
  95. {
  96. "angle": 0,
  97. "backgroundColor": "transparent",
  98. "boundElements": null,
  99. "fillStyle": "hachure",
  100. "frameId": null,
  101. "groupIds": [],
  102. "height": 50,
  103. "id": "id0",
  104. "isDeleted": false,
  105. "link": null,
  106. "locked": false,
  107. "opacity": 100,
  108. "roughness": 1,
  109. "roundness": {
  110. "type": 2,
  111. },
  112. "seed": 337897,
  113. "strokeColor": "#1e1e1e",
  114. "strokeStyle": "solid",
  115. "strokeWidth": 1,
  116. "type": "diamond",
  117. "updated": 1,
  118. "version": 2,
  119. "versionNonce": 1278240551,
  120. "width": 30,
  121. "x": 10,
  122. "y": 10,
  123. }
  124. `;
  125. exports[`select single element on the scene > ellipse 1`] = `
  126. {
  127. "angle": 0,
  128. "backgroundColor": "transparent",
  129. "boundElements": null,
  130. "fillStyle": "hachure",
  131. "frameId": null,
  132. "groupIds": [],
  133. "height": 50,
  134. "id": "id0",
  135. "isDeleted": false,
  136. "link": null,
  137. "locked": false,
  138. "opacity": 100,
  139. "roughness": 1,
  140. "roundness": {
  141. "type": 2,
  142. },
  143. "seed": 337897,
  144. "strokeColor": "#1e1e1e",
  145. "strokeStyle": "solid",
  146. "strokeWidth": 1,
  147. "type": "ellipse",
  148. "updated": 1,
  149. "version": 2,
  150. "versionNonce": 1278240551,
  151. "width": 30,
  152. "x": 10,
  153. "y": 10,
  154. }
  155. `;
  156. exports[`select single element on the scene > rectangle 1`] = `
  157. {
  158. "angle": 0,
  159. "backgroundColor": "transparent",
  160. "boundElements": null,
  161. "fillStyle": "hachure",
  162. "frameId": null,
  163. "groupIds": [],
  164. "height": 50,
  165. "id": "id0",
  166. "isDeleted": false,
  167. "link": null,
  168. "locked": false,
  169. "opacity": 100,
  170. "roughness": 1,
  171. "roundness": {
  172. "type": 3,
  173. },
  174. "seed": 337897,
  175. "strokeColor": "#1e1e1e",
  176. "strokeStyle": "solid",
  177. "strokeWidth": 1,
  178. "type": "rectangle",
  179. "updated": 1,
  180. "version": 2,
  181. "versionNonce": 1278240551,
  182. "width": 30,
  183. "x": 10,
  184. "y": 10,
  185. }
  186. `;