@sme.up/ketchup2 2.9.0 → 2.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (384) hide show
  1. package/dist/{abnfDiagram-VCTEODGH-DwAVRNNu.js → abnfDiagram-WEYOIA3C-BGzUWx_N.js} +18 -18
  2. package/dist/{arc-DXfwi1YX.js → arc-Cde31fHX.js} +1 -1
  3. package/dist/architecture-WOLXFQ4H-CjGAyYHf.js +2 -0
  4. package/dist/{architectureDiagram-5GKGNRK7-N1aPr2hw.js → architectureDiagram-ZHVYKT53-DH-D4G0y.js} +138 -153
  5. package/dist/assets/svg/magnify-minus.svg +1 -0
  6. package/dist/assets/svg/magnify-plus.svg +1 -0
  7. package/dist/basic-components/button/button-types.d.ts +2 -2
  8. package/dist/basic-components/button-group/button-group.d.ts.map +1 -1
  9. package/dist/basic-components/cell/cell-types.d.ts +15 -6
  10. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  11. package/dist/basic-components/cell/cell-utils.d.ts +10 -4
  12. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  13. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  14. package/dist/basic-components/checkbox/checkbox.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +13 -0
  16. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  17. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  18. package/dist/basic-components/date-picker/date-picker-types.d.ts +6 -2
  19. package/dist/basic-components/date-picker/date-picker-types.d.ts.map +1 -1
  20. package/dist/basic-components/file-upload/file-upload-types.d.ts +2 -2
  21. package/dist/basic-components/file-upload/file-upload-types.d.ts.map +1 -1
  22. package/dist/basic-components/file-upload/file-upload.d.ts.map +1 -1
  23. package/dist/basic-components/image-cell/image-cell.d.ts.map +1 -1
  24. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  27. package/dist/basic-components/radio/radio.d.ts.map +1 -1
  28. package/dist/basic-components/slider/slider.d.ts.map +1 -1
  29. package/dist/basic-components/text/text-types.d.ts +3 -1
  30. package/dist/basic-components/text/text-types.d.ts.map +1 -1
  31. package/dist/basic-components/text/text.d.ts.map +1 -1
  32. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  33. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  34. package/dist/basic-components/textfield/textfield-types.d.ts +10 -5
  35. package/dist/basic-components/textfield/textfield-types.d.ts.map +1 -1
  36. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  37. package/dist/basic-components/time-picker/time-picker.d.ts.map +1 -1
  38. package/dist/basic-components/typography/typography.d.ts.map +1 -1
  39. package/dist/{blockDiagram-I7D4REHJ-Cu18ws5-.js → blockDiagram-RJAE7QA3-hRpbCaPL.js} +329 -316
  40. package/dist/{c4Diagram-7LVT6UL2-B-uBy_NE.js → c4Diagram-XDPPPE54-Bkqvkv8O.js} +350 -340
  41. package/dist/channel-CcHUzwZl.js +5 -0
  42. package/dist/{chunk-SVP7TREG-CyJlOPau.js → chunk-2E7WHVMD-DSYBrngB.js} +77 -77
  43. package/dist/chunk-4EMNKR2T-CndbTVTA.js +236 -0
  44. package/dist/{chunk-F27PBJKO-jIrOJO87.js → chunk-55XCU76K-B1HtPImz.js} +16 -16
  45. package/dist/{chunk-75Z2AOVW-Drsj7a97.js → chunk-7S6XSTFO-CN6S2H1-.js} +304 -305
  46. package/dist/{chunk-GMAD6QVW-D80II4AD.js → chunk-AQDTSKZB-DuUha9al.js} +386 -433
  47. package/dist/{chunk-DU6HZSFF-waeanndy.js → chunk-DSNLSHJZ-B1A8wsiA.js} +1227 -1043
  48. package/dist/chunk-DUW6YSOI-BdOla2G8.js +10 -0
  49. package/dist/chunk-EJLWFMJV-Cu6XnLfk.js +75 -0
  50. package/dist/chunk-HAGFOTED-IzyIoLzD.js +4487 -0
  51. package/dist/chunk-HNE4Q36P-7zVKLE_b.js +363 -0
  52. package/dist/chunk-J5ZVWO5B-CYzz6Pq8.js +12 -0
  53. package/dist/{chunk-LNGE3PJU-CtYcu9x8.js → chunk-LNGE3PJU-ByFTjlja.js} +15 -19
  54. package/dist/chunk-NGNAAXSQ-Tr--SG_c.js +19832 -0
  55. package/dist/{chunk-SHT3W25Y-Cri27Jke.js → chunk-NQOKRVIF-CEJ-prlJ.js} +483 -414
  56. package/dist/chunk-OYAV6JZA-Cypx4hYu.js +14 -0
  57. package/dist/{chunk-P2QGCYS3-BUeNZ170.js → chunk-UHW7PFBP-CoHGQVjo.js} +6 -6
  58. package/dist/chunk-VQ5W62QI-BSDHmyws.js +26 -0
  59. package/dist/{chunk-OSK3NFVY-CQhPF3Mc.js → chunk-WQQL4CDK-BJE6isq-.js} +312 -288
  60. package/dist/chunk-XXDRQBXY-CU-dbs05.js +9 -0
  61. package/dist/{chunk-PWAF6VOD-D37VoZ8H.js → chunk-YZO67HFG-Bcmpw0dX.js} +28 -28
  62. package/dist/{chunk-GVQU2GXP-DP3t_9Rl.js → chunk-ZAUX2LTX-Bu7BRVL6.js} +14 -14
  63. package/dist/chunk-ZCHMQSOR-BA1QQ4D6.js +354 -0
  64. package/dist/{chunk-TICWLB2K-Cw2iT_VD.js → classDiagram-v2-4MYWR3UA-Bnh650R8.js} +333 -293
  65. package/dist/components/app-bar/app-bar-utils.d.ts.map +1 -1
  66. package/dist/components/app-bar/app-bar.data.d.ts.map +1 -1
  67. package/dist/components/box-list/box-list.d.ts.map +1 -1
  68. package/dist/components/calendar/calendar-available-height.d.ts +14 -0
  69. package/dist/components/calendar/calendar-available-height.d.ts.map +1 -0
  70. package/dist/components/calendar/calendar-types.d.ts +49 -4
  71. package/dist/components/calendar/calendar-types.d.ts.map +1 -1
  72. package/dist/components/calendar/calendar-utils.d.ts +160 -16
  73. package/dist/components/calendar/calendar-utils.d.ts.map +1 -1
  74. package/dist/components/calendar/calendar.d.ts.map +1 -1
  75. package/dist/components/calendar/views/calendar-event-text.d.ts +23 -0
  76. package/dist/components/calendar/views/calendar-event-text.d.ts.map +1 -0
  77. package/dist/components/calendar/views/calendar-month-grid.d.ts +12 -4
  78. package/dist/components/calendar/views/calendar-month-grid.d.ts.map +1 -1
  79. package/dist/components/calendar/views/calendar-more-events.d.ts +19 -0
  80. package/dist/components/calendar/views/calendar-more-events.d.ts.map +1 -0
  81. package/dist/components/calendar/views/calendar-time-grid.d.ts +16 -2
  82. package/dist/components/calendar/views/calendar-time-grid.d.ts.map +1 -1
  83. package/dist/components/data-table/assets/data-table-row-actions.d.ts +1 -1
  84. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts +12 -0
  85. package/dist/components/data-table/cell-actions/cell-actions-types.d.ts.map +1 -0
  86. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts +29 -0
  87. package/dist/components/data-table/cell-actions/cell-actions-utils.d.ts.map +1 -0
  88. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts +2 -0
  89. package/dist/components/data-table/cell-actions/cell-actions-utils.test.d.ts.map +1 -0
  90. package/dist/components/data-table/cell-actions/cell-actions.d.ts +6 -0
  91. package/dist/components/data-table/cell-actions/cell-actions.d.ts.map +1 -0
  92. package/dist/components/data-table/column-menu/column-menu-types.d.ts +32 -0
  93. package/dist/components/data-table/column-menu/column-menu-types.d.ts.map +1 -0
  94. package/dist/components/data-table/column-menu/column-menu.d.ts +11 -0
  95. package/dist/components/data-table/column-menu/column-menu.d.ts.map +1 -0
  96. package/dist/components/data-table/columns/columns-utils.d.ts +11 -2
  97. package/dist/components/data-table/columns/columns-utils.d.ts.map +1 -1
  98. package/dist/components/data-table/columns/useColumnWidths.d.ts +24 -1
  99. package/dist/components/data-table/columns/useColumnWidths.d.ts.map +1 -1
  100. package/dist/components/data-table/data-table-types.d.ts +206 -38
  101. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  102. package/dist/components/data-table/data-table.d.ts.map +1 -1
  103. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts +19 -2
  104. package/dist/components/data-table/filtering/data-table-filter-utils.d.ts.map +1 -1
  105. package/dist/components/data-table/fixed/fixed-utils.d.ts +69 -0
  106. package/dist/components/data-table/fixed/fixed-utils.d.ts.map +1 -0
  107. package/dist/components/data-table/footer/footer-types.d.ts +23 -6
  108. package/dist/components/data-table/footer/footer-types.d.ts.map +1 -1
  109. package/dist/components/data-table/footer/footer.d.ts.map +1 -1
  110. package/dist/components/data-table/group-row/group-row-types.d.ts +38 -1
  111. package/dist/components/data-table/group-row/group-row-types.d.ts.map +1 -1
  112. package/dist/components/data-table/group-row/group-row.d.ts.map +1 -1
  113. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts +20 -5
  114. package/dist/components/data-table/grouping/buildFlatGroupedRows.d.ts.map +1 -1
  115. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts +11 -1
  116. package/dist/components/data-table/grouping/datatable-groups-utils.d.ts.map +1 -1
  117. package/dist/components/data-table/grouping/group-expansion.d.ts +16 -0
  118. package/dist/components/data-table/grouping/group-expansion.d.ts.map +1 -0
  119. package/dist/components/data-table/grouping/grouping-types.d.ts +9 -0
  120. package/dist/components/data-table/grouping/grouping-types.d.ts.map +1 -1
  121. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  122. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts +44 -0
  123. package/dist/components/data-table/header/header-toolbar/header-toolbar-types.d.ts.map +1 -0
  124. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts +8 -0
  125. package/dist/components/data-table/header/header-toolbar/header-toolbar.d.ts.map +1 -0
  126. package/dist/components/data-table/header/header-types.d.ts +37 -21
  127. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  128. package/dist/components/data-table/load-more-row/load-more-row.d.ts +8 -0
  129. package/dist/components/data-table/load-more-row/load-more-row.d.ts.map +1 -0
  130. package/dist/components/data-table/load-more-row/load-more-types.d.ts +11 -0
  131. package/dist/components/data-table/load-more-row/load-more-types.d.ts.map +1 -0
  132. package/dist/components/data-table/sorting/buildDftSort.d.ts +16 -0
  133. package/dist/components/data-table/sorting/buildDftSort.d.ts.map +1 -0
  134. package/dist/components/data-table/sorting/buildDftSort.test.d.ts +2 -0
  135. package/dist/components/data-table/sorting/buildDftSort.test.d.ts.map +1 -0
  136. package/dist/components/data-table/sorting/parseDftSort.d.ts +4 -4
  137. package/dist/components/data-table/sorting/parseDftSort.d.ts.map +1 -1
  138. package/dist/components/data-table/sorting/sortTable-utils.d.ts +10 -0
  139. package/dist/components/data-table/sorting/sortTable-utils.d.ts.map +1 -1
  140. package/dist/components/data-table/sorting/useSortableTable.d.ts +10 -4
  141. package/dist/components/data-table/sorting/useSortableTable.d.ts.map +1 -1
  142. package/dist/components/data-table/state/datatable-state.d.ts +15 -8
  143. package/dist/components/data-table/state/datatable-state.d.ts.map +1 -1
  144. package/dist/components/data-table/stories/data-table-story-meta.d.ts +7 -0
  145. package/dist/components/data-table/stories/data-table-story-meta.d.ts.map +1 -0
  146. package/dist/components/data-table/useDataTableImperativeHandle.d.ts +23 -0
  147. package/dist/components/data-table/useDataTableImperativeHandle.d.ts.map +1 -0
  148. package/dist/components/data-table/useDataTableShortcuts.d.ts +19 -0
  149. package/dist/components/data-table/useDataTableShortcuts.d.ts.map +1 -0
  150. package/dist/components/drawer/drawer.d.ts.map +1 -1
  151. package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts +26 -0
  152. package/dist/components/echarts-graph/builders/echarts-graph-builders-advanced.d.ts.map +1 -0
  153. package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts +17 -0
  154. package/dist/components/echarts-graph/builders/echarts-graph-builders.d.ts.map +1 -0
  155. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts +151 -0
  156. package/dist/components/echarts-graph/data/echarts-graph-data.d.ts.map +1 -0
  157. package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts +2 -0
  158. package/dist/components/echarts-graph/data/echarts-graph-data.test.d.ts.map +1 -0
  159. package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts +164 -0
  160. package/dist/components/echarts-graph/data/echarts-graph-frame.d.ts.map +1 -0
  161. package/dist/components/echarts-graph/data/echarts-graph-math.d.ts +26 -0
  162. package/dist/components/echarts-graph/data/echarts-graph-math.d.ts.map +1 -0
  163. package/dist/components/echarts-graph/data/echarts-graph-time.d.ts +42 -0
  164. package/dist/components/echarts-graph/data/echarts-graph-time.d.ts.map +1 -0
  165. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts +12 -0
  166. package/dist/components/echarts-graph/data/echarts-graph-tree.d.ts.map +1 -0
  167. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts +2 -0
  168. package/dist/components/echarts-graph/data/echarts-graph-tree.test.d.ts.map +1 -0
  169. package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts +197 -0
  170. package/dist/components/echarts-graph/data/echarts-graph-utils.d.ts.map +1 -0
  171. package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts +2 -0
  172. package/dist/components/echarts-graph/data/echarts-graph-utils.test.d.ts.map +1 -0
  173. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts +34 -0
  174. package/dist/components/echarts-graph/echarts-graph-canvas.d.ts.map +1 -0
  175. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts +13 -0
  176. package/dist/components/echarts-graph/echarts-graph-from-table.d.ts.map +1 -0
  177. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts +12 -0
  178. package/dist/components/echarts-graph/echarts-graph-from-tree.d.ts.map +1 -0
  179. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts +16 -0
  180. package/dist/components/echarts-graph/echarts-graph-hooks.d.ts.map +1 -0
  181. package/dist/components/echarts-graph/echarts-graph-types.d.ts +229 -0
  182. package/dist/components/echarts-graph/echarts-graph-types.d.ts.map +1 -0
  183. package/dist/components/echarts-graph/echarts-graph.d.ts +18 -0
  184. package/dist/components/echarts-graph/echarts-graph.d.ts.map +1 -0
  185. package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts +20 -0
  186. package/dist/components/echarts-graph/theme/echarts-graph-color.d.ts.map +1 -0
  187. package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts +2 -0
  188. package/dist/components/echarts-graph/theme/echarts-graph-color.test.d.ts.map +1 -0
  189. package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts +58 -0
  190. package/dist/components/echarts-graph/theme/echarts-graph-theme.d.ts.map +1 -0
  191. package/dist/components/input-panel/assets/data.d.ts +1 -0
  192. package/dist/components/input-panel/assets/data.d.ts.map +1 -1
  193. package/dist/components/input-panel/input-panel-types.d.ts +7 -1
  194. package/dist/components/input-panel/input-panel-types.d.ts.map +1 -1
  195. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  196. package/dist/components/input-panel/input-panel.d.ts.map +1 -1
  197. package/dist/components/json-form/document-adapter.test.d.ts +2 -0
  198. package/dist/components/json-form/document-adapter.test.d.ts.map +1 -0
  199. package/dist/components/json-form/expression-evaluator.test.d.ts +2 -0
  200. package/dist/components/json-form/expression-evaluator.test.d.ts.map +1 -0
  201. package/dist/components/json-form/model/document-adapter.d.ts +54 -0
  202. package/dist/components/json-form/model/document-adapter.d.ts.map +1 -0
  203. package/dist/components/json-form/model/json-form-ajv.d.ts +12 -0
  204. package/dist/components/json-form/model/json-form-ajv.d.ts.map +1 -0
  205. package/dist/components/json-form/model/json-pointer.d.ts +20 -0
  206. package/dist/components/json-form/model/json-pointer.d.ts.map +1 -0
  207. package/dist/components/json-form/model/native-json-types.d.ts +5 -0
  208. package/dist/components/json-form/model/native-json-types.d.ts.map +1 -0
  209. package/dist/components/json-form/model/shape-event-support.d.ts +10 -0
  210. package/dist/components/json-form/model/shape-event-support.d.ts.map +1 -0
  211. package/dist/components/json-form/rule-controller.test.d.ts +2 -0
  212. package/dist/components/json-form/rule-controller.test.d.ts.map +1 -0
  213. package/dist/components/json-form/rules/expression-evaluator.d.ts +58 -0
  214. package/dist/components/json-form/rules/expression-evaluator.d.ts.map +1 -0
  215. package/dist/components/json-form/rules/rule-controller.d.ts +50 -0
  216. package/dist/components/json-form/rules/rule-controller.d.ts.map +1 -0
  217. package/dist/components/pdf/assets/pdf-fixtures.d.ts +6 -0
  218. package/dist/components/pdf/assets/pdf-fixtures.d.ts.map +1 -0
  219. package/dist/components/pdf/pdf-types.d.ts +17 -2
  220. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  221. package/dist/components/pdf/pdf-utils.d.ts +30 -1
  222. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  223. package/dist/components/pdf/pdf.d.ts.map +1 -1
  224. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  225. package/dist/components/toolbar/toolbar-nodes/toolbar-plain-node.d.ts.map +1 -1
  226. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -1
  227. package/dist/context/interaction-context.d.ts +16 -0
  228. package/dist/context/interaction-context.d.ts.map +1 -0
  229. package/dist/context/test-utils.d.ts.map +1 -1
  230. package/dist/{cose-bilkent-JH36ORCC-Qs_Z6zBZ.js → cose-bilkent-JH36ORCC-DYLyHByQ.js} +77 -89
  231. package/dist/cynefin-EF2NZ3EQ-DZ1CSrfW.js +2 -0
  232. package/dist/{cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js → cynefinDiagram-WF24UDRP-bU_4r-FZ.js} +64 -64
  233. package/dist/{cytoscape.esm-C5TvPYYm.js → cytoscape.esm-BvXLQ91B.js} +412 -513
  234. package/dist/dagre-NK4GIZVX-B72HOuil.js +2352 -0
  235. package/dist/{diagram-VX7I27RA-BNmG1sig.js → diagram-CBK3MWTC-B-q-tUxd.js} +80 -80
  236. package/dist/diagram-I5XIIV2D-CMzniFEf.js +134 -0
  237. package/dist/{diagram-S7CK7UJ4-BuDHTdHA.js → diagram-ODIL2UCW-CrlDp0MP.js} +46 -54
  238. package/dist/{diagram-VSXAHHWV-CrQQCs-B.js → diagram-PFBEJUXE-hnrdzEe4.js} +136 -121
  239. package/dist/{diagram-UQ7AKVKN-uvzJGj43.js → diagram-RJA3I4VV-DZW7CxE5.js} +43 -43
  240. package/dist/diagram-TYUNFSNR-cRJNHRy2.js +5069 -0
  241. package/dist/{dist-CsrMlyO_.js → dist-Bj7IMbKd.js} +1 -1
  242. package/dist/{ebnfDiagram-PWID7BFC-DMx8xAFO.js → ebnfDiagram-V4P3TTPT-Bm7KtfLA.js} +17 -17
  243. package/dist/echarts-C7ehbnCk.js +15485 -0
  244. package/dist/elk-QONTBCTQ-gWOTRRj4.js +47505 -0
  245. package/dist/{erDiagram-RLTQ6QDP-bkJ9nzVK.js → erDiagram-KYQIGQAA-WZEbQwWz.js} +150 -146
  246. package/dist/eventmodeling-K75KTNOO-CEn7YBG4.js +2 -0
  247. package/dist/flowDiagram-IUGLLWBU-CRV2Bl2C.js +16 -0
  248. package/dist/functional-components/badge/badge-assets.d.ts +1 -0
  249. package/dist/functional-components/badge/badge-assets.d.ts.map +1 -1
  250. package/dist/functional-components/badge/badge-utils.d.ts +5 -0
  251. package/dist/functional-components/badge/badge-utils.d.ts.map +1 -1
  252. package/dist/functional-components/badge/badge.d.ts.map +1 -1
  253. package/dist/functional-components/filter-group/filter-builder-operators.d.ts +15 -0
  254. package/dist/functional-components/filter-group/filter-builder-operators.d.ts.map +1 -0
  255. package/dist/functional-components/filter-group/filter-builder.d.ts +15 -1
  256. package/dist/functional-components/filter-group/filter-builder.d.ts.map +1 -1
  257. package/dist/functional-components/group-bar/group-bar-types.d.ts +16 -0
  258. package/dist/functional-components/group-bar/group-bar-types.d.ts.map +1 -1
  259. package/dist/functional-components/group-bar/group-bar.d.ts.map +1 -1
  260. package/dist/functional-components/helper-text/helper-text-types.d.ts +1 -1
  261. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +1 -0
  262. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  263. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  264. package/dist/functional-components/row/row-types.d.ts +50 -1
  265. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  266. package/dist/functional-components/row/row.d.ts.map +1 -1
  267. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +5 -0
  268. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -1
  269. package/dist/{ganttDiagram-EL5Y4UJY-CL-ywzz_.js → ganttDiagram-R7GPNTJY-DFRGfQMr.js} +314 -310
  270. package/dist/gitGraph-VSP46ZUC-BSTikFaE.js +2 -0
  271. package/dist/{gitGraphDiagram-WWUBYQGX-aXhNDG6P.js → gitGraphDiagram-PDYL7XHY-nvoob8Ca.js} +250 -250
  272. package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts +14 -0
  273. package/dist/hooks/useClickOutside/useClickOutside-assets.d.ts.map +1 -0
  274. package/dist/hooks/useClickOutside/useClickOutside.d.ts.map +1 -0
  275. package/dist/hooks/useFloating.d.ts.map +1 -1
  276. package/dist/hooks/useVirtualListScroll.d.ts +14 -2
  277. package/dist/hooks/useVirtualListScroll.d.ts.map +1 -1
  278. package/dist/index.d.ts +5 -3
  279. package/dist/index.d.ts.map +1 -1
  280. package/dist/info-OHQRW6UA-BGb3N889.js +2 -0
  281. package/dist/infoDiagram-MVDRKAX5-BqO_morw.js +20 -0
  282. package/dist/installCanvasRenderer-CgRxxRBg.js +29799 -0
  283. package/dist/{ishikawaDiagram-5VMMS53U-DK7HlH95.js → ishikawaDiagram-HPEHV2GE-BE3amLYE.js} +27 -29
  284. package/dist/{journeyDiagram-3NMN7TZE-CpuYEKcB.js → journeyDiagram-BOSHW7O7-DE8ndsCi.js} +111 -111
  285. package/dist/{kanban-definition-UXKFOSKX-aK8uKmyY.js → kanban-definition-FNSA4HC5-D72kc4EN.js} +135 -135
  286. package/dist/{katex-CT2p8LXT.js → katex-CDhNh-ZQ.js} +919 -1040
  287. package/dist/ketchup2.css +1 -1
  288. package/dist/ketchup2.es.js +25778 -68770
  289. package/dist/{line-DTqYMLoX.js → line-ltPB6XbC.js} +1 -1
  290. package/dist/{linear-CXc5xaa6.js → linear-i6_MPSGL.js} +2 -3
  291. package/dist/locale/en/translation.json.d.ts +40 -4
  292. package/dist/locale/it/translation.json.d.ts +40 -4
  293. package/dist/{mermaid-parser.core-BwVmI_Rq.js → mermaid-parser.core-zUi7tSl-.js} +166 -172
  294. package/dist/{mindmap-definition-YA3MSWOX-ZMYcmi9J.js → mindmap-definition-6OY57UG3-hH6Avsg4.js} +148 -145
  295. package/dist/packet-JDAUHWVQ-CKZoNg5j.js +2 -0
  296. package/dist/{pegDiagram-XKGWAZYB-DsfILwZN.js → pegDiagram-ECIUJNBX-D3xLhrRh.js} +19 -19
  297. package/dist/pie-XZMESJXO-BnbWY8rE.js +2 -0
  298. package/dist/{pieDiagram-E7YTZNPT-DcSLcLdd.js → pieDiagram-GNMPY74T-Bd_UXypi.js} +39 -39
  299. package/dist/{quadrantDiagram-AXDQQJYC-DSx3teop.js → quadrantDiagram-D57K4MC3-BAwweqT8.js} +149 -149
  300. package/dist/radar-ABXABTNO-D5CEmFBx.js +2 -0
  301. package/dist/railroad-I3PHUGI6-CxMiYaMH.js +2 -0
  302. package/dist/railroad-abnf-LNEFI6M7-C69KxGa-.js +2 -0
  303. package/dist/railroad-ebnf-DWYD2UWJ-D5Xd566k.js +2 -0
  304. package/dist/railroad-peg-JR7BVNR7-CD0OiqcS.js +2 -0
  305. package/dist/{railroadDiagram-O6MQD6OU-jOZRtNDi.js → railroadDiagram-Y72NRBL7-CPUbPgYX.js} +14 -14
  306. package/dist/{requirementDiagram-BXWQKSXE-D14hkkez.js → requirementDiagram-EQYSW5RA-BXstYS3w.js} +97 -93
  307. package/dist/rolldown-runtime-5HNE8Q1r.js +23 -0
  308. package/dist/{sankeyDiagram-P5KCCOFB-C0jmknYo.js → sankeyDiagram-SY24JHO5-Du-toJmg.js} +64 -64
  309. package/dist/{sequenceDiagram-WJ2MYXX4-C00egnMz.js → sequenceDiagram-BLEHNHQU-BNNnerZ-.js} +953 -868
  310. package/dist/{sizeCapture-INFHLROL-CHXIsPO_.js → sizeCapture-INFHLROL-DujrpAYz.js} +1 -1
  311. package/dist/{src-DQoflmwT.js → src-CY9Rz0Sf.js} +545 -566
  312. package/dist/{chunk-IMKFNOWR-8ItzAAcf.js → stateDiagram-v2-A6IESKWZ-CfjPf8h7.js} +364 -267
  313. package/dist/{swimlanes-42K2YHIH-CJcMmxXf.js → swimlanes-B3ENRKFQ-Dumwq89C.js} +1356 -1590
  314. package/dist/swimlanesDiagram-AYQRV4AK-Boz_Azx7.js +28 -0
  315. package/dist/{timeline-definition-24CTP7MA-D2xfYuSV.js → timeline-definition-JXYKGLGB-ClzmRQCu.js} +354 -350
  316. package/dist/treeView-D4JQ5SDB-C3ue8DID.js +2 -0
  317. package/dist/treemap-SAJKECNS-BWis-Wpv.js +2 -0
  318. package/dist/types/data-structures.d.ts +16 -1
  319. package/dist/types/data-structures.d.ts.map +1 -1
  320. package/dist/types/global.d.ts +7 -2
  321. package/dist/types/global.d.ts.map +1 -1
  322. package/dist/types/translation.d.ts +40 -5
  323. package/dist/types/translation.d.ts.map +1 -1
  324. package/dist/usecaseDiagram-WPOLBNNX-ruZhXlYQ.js +7175 -0
  325. package/dist/utils/floating-layer.d.ts +11 -0
  326. package/dist/utils/floating-layer.d.ts.map +1 -0
  327. package/dist/utils/legacy.d.ts +7 -0
  328. package/dist/utils/legacy.d.ts.map +1 -1
  329. package/dist/utils/object-styles.d.ts +12 -0
  330. package/dist/utils/object-styles.d.ts.map +1 -0
  331. package/dist/utils/object-styles.test.d.ts +2 -0
  332. package/dist/utils/object-styles.test.d.ts.map +1 -0
  333. package/dist/utils/objects.d.ts +20 -1
  334. package/dist/utils/objects.d.ts.map +1 -1
  335. package/dist/utils/totals/totals-registry.d.ts +17 -0
  336. package/dist/utils/totals/totals-registry.d.ts.map +1 -0
  337. package/dist/utils/totals/totals-utils.d.ts +70 -7
  338. package/dist/utils/totals/totals-utils.d.ts.map +1 -1
  339. package/dist/utils/wrapper-types/list.d.ts.map +1 -1
  340. package/dist/{vennDiagram-4TSXK5OY-C4XLgus_.js → vennDiagram-Q3Y3IDCW-L9GmqfCz.js} +118 -118
  341. package/dist/wardley-7MLQ67FV-DC0ayJCO.js +2 -0
  342. package/dist/{wardleyDiagram-VM6X3IG4-DFoKuS9s.js → wardleyDiagram-IVAIDKWA-Dz5K-UqN.js} +126 -126
  343. package/dist/{xychartDiagram-S5SC5T6Z-BzKKgVBe.js → xychartDiagram-4URNHDU4-C2xwRx5F.js} +141 -137
  344. package/package.json +7 -5
  345. package/dist/architecture-7GRP2DOG-BsytjMto.js +0 -3
  346. package/dist/channel-CuEby436.js +0 -5
  347. package/dist/chunk-2E4U76K2-ComA5SPA.js +0 -348
  348. package/dist/chunk-4HAMMTFA-CZgIgrp_.js +0 -4188
  349. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +0 -14
  350. package/dist/chunk-FOHPRMQF-LRqOLsSw.js +0 -21456
  351. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +0 -245
  352. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +0 -26
  353. package/dist/chunk-TLUHSLCS-BdsLNXjt.js +0 -59
  354. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +0 -9
  355. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +0 -30
  356. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +0 -30
  357. package/dist/components/echarts/echarts-graph-types.d.ts +0 -8
  358. package/dist/components/echarts/echarts-graph-types.d.ts.map +0 -1
  359. package/dist/components/echarts/echarts-graph.d.ts +0 -4
  360. package/dist/components/echarts/echarts-graph.d.ts.map +0 -1
  361. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +0 -3
  362. package/dist/dagre-D5csT9sx.js +0 -1934
  363. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +0 -425
  364. package/dist/diagram-Z3DM3KII-B6BrLhP0.js +0 -134
  365. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +0 -3
  366. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +0 -17
  367. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +0 -3
  368. package/dist/hooks/useClickOutside.d.ts.map +0 -1
  369. package/dist/info-A6RAGUB7-CmZJKEaW.js +0 -3
  370. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +0 -20
  371. package/dist/packet-AYTQ26CC-B3tgRshR.js +0 -3
  372. package/dist/pie-WAS4IAKB-BRiI8kbI.js +0 -3
  373. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +0 -3
  374. package/dist/railroad-74A4TZTK-oS840SLr.js +0 -3
  375. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +0 -3
  376. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +0 -3
  377. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +0 -3
  378. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +0 -220
  379. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +0 -30
  380. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +0 -31
  381. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +0 -3
  382. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +0 -3
  383. package/dist/wardley-WFR3VGLG-BamDiE0x.js +0 -3
  384. /package/dist/hooks/{useClickOutside.d.ts → useClickOutside/useClickOutside.d.ts} +0 -0
@@ -1,19 +1,19 @@
1
- import { m as e, p as t } from "./src-DQoflmwT.js";
2
- import { T as n, b as r, x as i } from "./chunk-DU6HZSFF-waeanndy.js";
3
- import { n as a } from "./chunk-Y2CYZVJY-i11wjrBe.js";
4
- import { $ as o, J as s, K as c, Q as l, X as u, Y as d, Z as f, et as p, g as m, nt as h, q as g, rt as _, tt as v, u as ee } from "./chunk-75Z2AOVW-Drsj7a97.js";
5
- import { t as y } from "./line-DTqYMLoX.js";
6
- import { i as b, n as x } from "./chunk-P2QGCYS3-BUeNZ170.js";
7
- import { n as S, r as C } from "./chunk-GMAD6QVW-D80II4AD.js";
8
- import { t as te } from "./rough.esm-DXYGHN3m.js";
9
- import { t as w } from "./chunk-4HAMMTFA-CZgIgrp_.js";
10
- import { n as T } from "./chunk-GVQU2GXP-DP3t_9Rl.js";
11
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
12
- var E = /* @__PURE__ */ a((e, t) => {
1
+ import { b as e, w as t, y as n } from "./chunk-DSNLSHJZ-B1A8wsiA.js";
2
+ import { n as r } from "./chunk-Y2CYZVJY-i11wjrBe.js";
3
+ import { m as i, p as a } from "./src-CY9Rz0Sf.js";
4
+ import { $ as o, J as s, Q as c, X as l, Y as u, Z as d, _ as f, d as p, et as m, it as h, nt as g, q as _, rt as v, tt as y } from "./chunk-7S6XSTFO-CN6S2H1-.js";
5
+ import { t as b } from "./line-ltPB6XbC.js";
6
+ import { i as x, n as S } from "./chunk-UHW7PFBP-CoHGQVjo.js";
7
+ import { n as C, r as w } from "./chunk-AQDTSKZB-DuUha9al.js";
8
+ import { t as ee } from "./rough.esm-DXYGHN3m.js";
9
+ import { t as T } from "./chunk-HAGFOTED-IzyIoLzD.js";
10
+ import { n as E } from "./chunk-ZAUX2LTX-Bu7BRVL6.js";
11
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-WQQL4CDK.mjs
12
+ var D = /* @__PURE__ */ r((e, t) => {
13
13
  if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
14
14
  let n = e.x ?? 0, r = e.y ?? 0;
15
15
  return "translate(" + -(n + e.width / 2) + ", " + -(r + e.height / 2) + ")";
16
- }, "computeLabelTransform"), D = {
16
+ }, "computeLabelTransform"), O = {
17
17
  aggregation: 17.25,
18
18
  extension: 17.25,
19
19
  composition: 17.25,
@@ -22,18 +22,18 @@ var E = /* @__PURE__ */ a((e, t) => {
22
22
  arrow_point: 4,
23
23
  arrow_barb: 0,
24
24
  arrow_barb_neo: 5.5
25
- }, O = {
25
+ }, k = {
26
26
  arrow_point: 4,
27
27
  arrow_cross: 12.5,
28
28
  arrow_circle: 12.5
29
29
  };
30
- function k(e, t) {
30
+ function A(e, t) {
31
31
  if (e === void 0 || t === void 0) return {
32
32
  angle: 0,
33
33
  deltaX: 0,
34
34
  deltaY: 0
35
35
  };
36
- e = A(e), t = A(t);
36
+ e = j(e), t = j(t);
37
37
  let [n, r] = [e.x, e.y], [i, a] = [t.x, t.y], o = i - n, s = a - r;
38
38
  return {
39
39
  angle: Math.atan(s / o),
@@ -41,21 +41,21 @@ function k(e, t) {
41
41
  deltaY: s
42
42
  };
43
43
  }
44
- a(k, "calculateDeltaAndAngle");
45
- var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
44
+ r(A, "calculateDeltaAndAngle");
45
+ var j = /* @__PURE__ */ r((e) => Array.isArray(e) ? {
46
46
  x: e[0],
47
47
  y: e[1]
48
- } : e, "pointTransformer"), ne = /* @__PURE__ */ a((e) => ({
49
- x: /* @__PURE__ */ a(function(t, n, r) {
50
- let i = 0, a = A(r[0]).x < A(r[r.length - 1]).x ? "left" : "right";
51
- if (n === 0 && Object.hasOwn(D, e.arrowTypeStart)) {
52
- let { angle: t, deltaX: n } = k(r[0], r[1]);
53
- i = D[e.arrowTypeStart] * Math.cos(t) * (n >= 0 ? 1 : -1);
54
- } else if (n === r.length - 1 && Object.hasOwn(D, e.arrowTypeEnd)) {
55
- let { angle: t, deltaX: n } = k(r[r.length - 1], r[r.length - 2]);
56
- i = D[e.arrowTypeEnd] * Math.cos(t) * (n >= 0 ? 1 : -1);
48
+ } : e, "pointTransformer"), te = /* @__PURE__ */ r((e) => ({
49
+ x: /* @__PURE__ */ r(function(t, n, r) {
50
+ let i = 0, a = j(r[0]).x < j(r[r.length - 1]).x ? "left" : "right";
51
+ if (n === 0 && Object.hasOwn(O, e.arrowTypeStart)) {
52
+ let { angle: t, deltaX: n } = A(r[0], r[1]);
53
+ i = O[e.arrowTypeStart] * Math.cos(t) * (n >= 0 ? 1 : -1);
54
+ } else if (n === r.length - 1 && Object.hasOwn(O, e.arrowTypeEnd)) {
55
+ let { angle: t, deltaX: n } = A(r[r.length - 1], r[r.length - 2]);
56
+ i = O[e.arrowTypeEnd] * Math.cos(t) * (n >= 0 ? 1 : -1);
57
57
  }
58
- let o = Math.abs(A(t).x - A(r[r.length - 1]).x), s = Math.abs(A(t).y - A(r[r.length - 1]).y), c = Math.abs(A(t).x - A(r[0]).x), l = Math.abs(A(t).y - A(r[0]).y), u = D[e.arrowTypeStart], d = D[e.arrowTypeEnd];
58
+ let o = Math.abs(j(t).x - j(r[r.length - 1]).x), s = Math.abs(j(t).y - j(r[r.length - 1]).y), c = Math.abs(j(t).x - j(r[0]).x), l = Math.abs(j(t).y - j(r[0]).y), u = O[e.arrowTypeStart], d = O[e.arrowTypeEnd];
59
59
  if (o < d && o > 0 && s < d) {
60
60
  let e = d + 1 - o;
61
61
  e *= a === "right" ? -1 : 1, i -= e;
@@ -64,18 +64,18 @@ var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
64
64
  let e = u + 1 - c;
65
65
  e *= a === "right" ? -1 : 1, i += e;
66
66
  }
67
- return A(t).x + i;
67
+ return j(t).x + i;
68
68
  }, "x"),
69
- y: /* @__PURE__ */ a(function(t, n, r) {
70
- let i = 0, a = A(r[0]).y < A(r[r.length - 1]).y ? "down" : "up";
71
- if (n === 0 && Object.hasOwn(D, e.arrowTypeStart)) {
72
- let { angle: t, deltaY: n } = k(r[0], r[1]);
73
- i = D[e.arrowTypeStart] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
74
- } else if (n === r.length - 1 && Object.hasOwn(D, e.arrowTypeEnd)) {
75
- let { angle: t, deltaY: n } = k(r[r.length - 1], r[r.length - 2]);
76
- i = D[e.arrowTypeEnd] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
69
+ y: /* @__PURE__ */ r(function(t, n, r) {
70
+ let i = 0, a = j(r[0]).y < j(r[r.length - 1]).y ? "down" : "up";
71
+ if (n === 0 && Object.hasOwn(O, e.arrowTypeStart)) {
72
+ let { angle: t, deltaY: n } = A(r[0], r[1]);
73
+ i = O[e.arrowTypeStart] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
74
+ } else if (n === r.length - 1 && Object.hasOwn(O, e.arrowTypeEnd)) {
75
+ let { angle: t, deltaY: n } = A(r[r.length - 1], r[r.length - 2]);
76
+ i = O[e.arrowTypeEnd] * Math.abs(Math.sin(t)) * (n >= 0 ? 1 : -1);
77
77
  }
78
- let o = Math.abs(A(t).y - A(r[r.length - 1]).y), s = Math.abs(A(t).x - A(r[r.length - 1]).x), c = Math.abs(A(t).y - A(r[0]).y), l = Math.abs(A(t).x - A(r[0]).x), u = D[e.arrowTypeStart], d = D[e.arrowTypeEnd];
78
+ let o = Math.abs(j(t).y - j(r[r.length - 1]).y), s = Math.abs(j(t).x - j(r[r.length - 1]).x), c = Math.abs(j(t).y - j(r[0]).y), l = Math.abs(j(t).x - j(r[0]).x), u = O[e.arrowTypeStart], d = O[e.arrowTypeEnd];
79
79
  if (o < d && o > 0 && s < d) {
80
80
  let e = d + 1 - o;
81
81
  e *= a === "up" ? -1 : 1, i -= e;
@@ -84,11 +84,11 @@ var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
84
84
  let e = u + 1 - c;
85
85
  e *= a === "up" ? -1 : 1, i += e;
86
86
  }
87
- return A(t).y + i;
87
+ return j(t).y + i;
88
88
  }, "y")
89
- }), "getLineFunctionsWithOffset"), re = /* @__PURE__ */ a((e, t, n, r, i, a = !1, o) => {
90
- t.arrowTypeStart && N(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && N(e, "end", t.arrowTypeEnd, n, r, i, a, o);
91
- }, "addEdgeMarkers"), j = {
89
+ }), "getLineFunctionsWithOffset"), ne = /* @__PURE__ */ r((e, t, n, r, i, a = !1, o) => {
90
+ t.arrowTypeStart && P(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && P(e, "end", t.arrowTypeEnd, n, r, i, a, o);
91
+ }, "addEdgeMarkers"), M = {
92
92
  arrow_cross: {
93
93
  type: "cross",
94
94
  fill: !1
@@ -109,6 +109,10 @@ var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
109
109
  type: "circle",
110
110
  fill: !1
111
111
  },
112
+ arrow_hierarchy: {
113
+ type: "hierarchy",
114
+ fill: !1
115
+ },
112
116
  aggregation: {
113
117
  type: "aggregation",
114
118
  fill: !1
@@ -153,7 +157,7 @@ var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
153
157
  type: "requirement_contains",
154
158
  fill: !1
155
159
  }
156
- }, M = [
160
+ }, N = [
157
161
  "cross",
158
162
  "point",
159
163
  "circle",
@@ -163,143 +167,160 @@ var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
163
167
  "composition",
164
168
  "dependency",
165
169
  "barb"
166
- ], N = /* @__PURE__ */ a((t, n, r, i, a, o, s = !1, c) => {
167
- if (!r || r === "none") return;
168
- let l = j[r], u = l && M.includes(l.type);
170
+ ], P = /* @__PURE__ */ r((e, t, n, r, a, o, s = !1, c) => {
171
+ if (!n || n === "none") return;
172
+ let l = M[n], u = l && N.includes(l.type);
169
173
  if (!l) {
170
- e.warn(`Unknown arrow type: ${r}`);
174
+ i.warn(`Unknown arrow type: ${n}`);
171
175
  return;
172
176
  }
173
- let d = `${a}_${o}-${l.type}${n === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
177
+ let d = `${a}_${o}-${l.type}${t === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
174
178
  if (c && c.trim() !== "") {
175
- let e = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
176
- if (!document.getElementById(e)) {
177
- let t = document.getElementById(d);
178
- if (t) {
179
- let n = t.cloneNode(!0);
180
- n.id = e, n.querySelectorAll("path, circle, line").forEach((e) => {
179
+ let n = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
180
+ if (!document.getElementById(n)) {
181
+ let e = document.getElementById(d);
182
+ if (e) {
183
+ let t = e.cloneNode(!0);
184
+ t.id = n, t.querySelectorAll("path, circle, line").forEach((e) => {
181
185
  e.setAttribute("stroke", c), l.fill && e.setAttribute("fill", c);
182
- }), t.parentNode?.appendChild(n);
186
+ }), e.parentNode?.appendChild(t);
183
187
  }
184
188
  }
185
- t.attr(`marker-${n}`, `url(${i}#${e})`);
186
- } else t.attr(`marker-${n}`, `url(${i}#${d})`);
187
- }, "addEdgeMarker"), ie = /* @__PURE__ */ a((e) => typeof e == "string" ? e : i()?.flowchart?.curve, "resolveEdgeCurveType"), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ a(() => {
188
- P.clear(), F.clear();
189
- }, "clear"), L = /* @__PURE__ */ a((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), R = /* @__PURE__ */ a((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), z = /* @__PURE__ */ a(async (r, a) => {
190
- let o = i(), s = n(o), { labelStyles: c } = b(a);
191
- a.labelStyle = c;
192
- let l = r.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", a.id), d = a.labelType === "markdown", f = await S(r, a.label, {
193
- style: R(a.labelStyle),
189
+ e.attr(`marker-${t}`, `url(${r}#${n})`);
190
+ } else e.attr(`marker-${t}`, `url(${r}#${d})`);
191
+ }, "addEdgeMarker"), re = /* @__PURE__ */ r((t) => typeof t == "string" ? t : e()?.flowchart?.curve, "resolveEdgeCurveType"), F = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), ie = /* @__PURE__ */ r(() => {
192
+ F.clear(), I.clear();
193
+ }, "clear"), L = /* @__PURE__ */ r((e) => !!(e.label || e.startLabelLeft || e.startLabelRight || e.endLabelLeft || e.endLabelRight), "hasEdgeLabel"), R = /* @__PURE__ */ r((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), z = /* @__PURE__ */ r(async (n, r) => {
194
+ let o = e(), s = t(o), { labelStyles: c } = x(r);
195
+ r.labelStyle = c;
196
+ let l = n.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", r.id), d = r.labelType === "markdown", f = await C(n, r.label, {
197
+ style: R(r.labelStyle),
194
198
  useHtmlLabels: s,
195
199
  addSvgBackground: !0,
196
200
  isNode: !1,
197
201
  markdown: d,
198
202
  width: void 0
199
203
  }, o);
200
- u.node().appendChild(f), e.info("abc82", a, a.labelType);
204
+ u.node().appendChild(f), i.info("abc82", r, r.labelType);
201
205
  let p, m;
202
206
  if (s) {
203
- let e = f.children[0], n = t(f);
204
- p = await C.measure(() => e.getBoundingClientRect()), m = p, n.attr("width", p.width), n.attr("height", p.height);
207
+ let e = f.children[0], t = a(f);
208
+ p = await w.measure(() => e.getBoundingClientRect()), m = p, t.attr("width", p.width), t.attr("height", p.height);
205
209
  } else {
206
- let e = t(f).select("text").node();
207
- await C.measure(() => {
210
+ let e = a(f).select("text").node();
211
+ await w.measure(() => {
208
212
  p = f.getBBox(), m = e && typeof e.getBBox == "function" ? e.getBBox() : p;
209
213
  });
210
214
  }
211
- u.attr("transform", E(m, s)), P.set(a.id, l), a.width = p.width, a.height = p.height;
215
+ u.attr("transform", D(m, s)), F.set(r.id, l), r.width = p.width, r.height = p.height;
212
216
  let h;
213
- if (a.startLabelLeft) {
214
- let e = r.insert("g").attr("class", "edgeTerminals"), n = e.insert("g").attr("class", "inner"), i = await w(n, a.startLabelLeft, R(a.labelStyle) || "", !1, !1);
217
+ if (r.startLabelLeft) {
218
+ let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), i = await T(t, r.startLabelLeft, R(r.labelStyle) || "", !1, !1);
215
219
  h = i;
216
220
  let o = i.getBBox();
217
221
  if (s) {
218
- let e = i.children[0], n = t(i);
219
- o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
222
+ let e = i.children[0], t = a(i);
223
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
220
224
  }
221
- n.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).startLeft = e, B(h, a.startLabelLeft);
225
+ t.attr("transform", D(o, s)), I.get(r.id) || I.set(r.id, {}), I.get(r.id).startLeft = e, V(h, r.startLabelLeft, o), B(r, "startLeft", o);
222
226
  }
223
- if (a.startLabelRight) {
224
- let e = r.insert("g").attr("class", "edgeTerminals"), n = e.insert("g").attr("class", "inner"), i = await w(n, a.startLabelRight, R(a.labelStyle) || "", !1, !1);
227
+ if (r.startLabelRight) {
228
+ let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), i = await T(t, r.startLabelRight, R(r.labelStyle) || "", !1, !1);
225
229
  h = i;
226
230
  let o = i.getBBox();
227
231
  if (s) {
228
- let e = i.children[0], n = t(i);
229
- o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
232
+ let e = i.children[0], t = a(i);
233
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
230
234
  }
231
- n.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).startRight = e, B(h, a.startLabelRight);
235
+ t.attr("transform", D(o, s)), I.get(r.id) || I.set(r.id, {}), I.get(r.id).startRight = e, V(h, r.startLabelRight, o), B(r, "startRight", o);
232
236
  }
233
- if (a.endLabelLeft) {
234
- let e = r.insert("g").attr("class", "edgeTerminals"), n = e.insert("g").attr("class", "inner"), i = await w(e, a.endLabelLeft, R(a.labelStyle) || "", !1, !1);
237
+ if (r.endLabelLeft) {
238
+ let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), i = await T(t, r.endLabelLeft, R(r.labelStyle) || "", !1, !1);
235
239
  h = i;
236
240
  let o = i.getBBox();
237
241
  if (s) {
238
- let e = i.children[0], n = t(i);
239
- o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
242
+ let e = i.children[0], t = a(i);
243
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
240
244
  }
241
- n.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).endLeft = e, B(h, a.endLabelLeft);
245
+ t.attr("transform", D(o, s)), I.get(r.id) || I.set(r.id, {}), I.get(r.id).endLeft = e, V(h, r.endLabelLeft, o), B(r, "endLeft", o);
242
246
  }
243
- if (a.endLabelRight) {
244
- let e = r.insert("g").attr("class", "edgeTerminals"), n = e.insert("g").attr("class", "inner"), i = await w(e, a.endLabelRight, R(a.labelStyle) || "", !1, !1);
247
+ if (r.endLabelRight) {
248
+ let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), i = await T(t, r.endLabelRight, R(r.labelStyle) || "", !1, !1);
245
249
  h = i;
246
250
  let o = i.getBBox();
247
251
  if (s) {
248
- let e = i.children[0], n = t(i);
249
- o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
252
+ let e = i.children[0], t = a(i);
253
+ o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
250
254
  }
251
- n.attr("transform", E(o, s)), F.get(a.id) || F.set(a.id, {}), F.get(a.id).endRight = e, B(h, a.endLabelRight);
255
+ t.attr("transform", D(o, s)), I.get(r.id) || I.set(r.id, {}), I.get(r.id).endRight = e, V(h, r.endLabelRight, o), B(r, "endRight", o);
252
256
  }
253
257
  return f;
254
258
  }, "insertEdgeLabel");
255
- function B(e, t) {
256
- n(i()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
259
+ function B(e, t, n) {
260
+ e.terminalLabelSizes ??= {}, e.terminalLabelSizes[t] = {
261
+ width: n.width,
262
+ height: n.height
263
+ };
257
264
  }
258
- a(B, "setTerminalWidth");
259
- var V = /* @__PURE__ */ a((t, n) => {
260
- e.debug("Moving label abc88 ", t.id, t.label, P.get(t.id), n);
261
- let r = n.updatedPath ? n.updatedPath : n.originalPath, a = i(), { subGraphTitleTotalMargin: o } = T(a);
265
+ r(B, "recordTerminalLabelSize");
266
+ function V(n, r, i) {
267
+ t(e()) && n && (n.style.width = Math.max(r.length * 9, i.width) + "px", n.style.height = i.height + "px");
268
+ }
269
+ r(V, "setTerminalWidth");
270
+ var H = /* @__PURE__ */ r((e, t) => {
271
+ let n = e.x, r = e.y;
272
+ if (t?.updatedPath) {
273
+ let i = f.calcLabelPosition(t.updatedPath);
274
+ if (t.originalPath) {
275
+ let a = f.calcLabelPosition(t.originalPath);
276
+ n = e.x + (i.x - a.x), r = e.y + (i.y - a.y);
277
+ } else n = i.x, r = i.y;
278
+ }
279
+ return {
280
+ x: n,
281
+ y: r
282
+ };
283
+ }, "resolveEdgeLabelPosition"), U = /* @__PURE__ */ r((t, n) => {
284
+ i.debug("Moving label abc88 ", t.id, t.label, F.get(t.id), n);
285
+ let r = e(), { subGraphTitleTotalMargin: a } = E(r);
262
286
  if (t.label) {
263
- let i = P.get(t.id), a = t.x, s = t.y;
264
- if (r) {
265
- let i = m.calcLabelPosition(r);
266
- e.debug("Moving label " + t.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
267
- }
268
- i.attr("transform", `translate(${a}, ${s + o / 2})`);
287
+ let e = F.get(t.id), { x: r, y: o } = H(t, n);
288
+ i.debug("Moving label " + t.label + " from (", t.x, ",", t.y, ") to (", r, ",", o, ") abc88"), e.attr("transform", `translate(${r}, ${o + a / 2})`);
269
289
  }
290
+ let o = n.updatedPath ? n.updatedPath : n.originalPath;
270
291
  if (t.startLabelLeft) {
271
- let e = F.get(t.id).startLeft, n = t.x, i = t.y;
272
- if (r) {
273
- let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", r);
274
- n = e.x, i = e.y;
292
+ let e = I.get(t.id).startLeft, n = t.x, r = t.y;
293
+ if (o) {
294
+ let e = f.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", o);
295
+ n = e.x, r = e.y;
275
296
  }
276
- e.attr("transform", `translate(${n}, ${i})`);
297
+ e.attr("transform", `translate(${n}, ${r})`);
277
298
  }
278
299
  if (t.startLabelRight) {
279
- let e = F.get(t.id).startRight, n = t.x, i = t.y;
280
- if (r) {
281
- let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", r);
282
- n = e.x, i = e.y;
300
+ let e = I.get(t.id).startRight, n = t.x, r = t.y;
301
+ if (o) {
302
+ let e = f.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", o);
303
+ n = e.x, r = e.y;
283
304
  }
284
- e.attr("transform", `translate(${n}, ${i})`);
305
+ e.attr("transform", `translate(${n}, ${r})`);
285
306
  }
286
307
  if (t.endLabelLeft) {
287
- let e = F.get(t.id).endLeft, n = t.x, i = t.y;
288
- if (r) {
289
- let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", r);
290
- n = e.x, i = e.y;
308
+ let e = I.get(t.id).endLeft, n = t.x, r = t.y;
309
+ if (o) {
310
+ let e = f.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", o);
311
+ n = e.x, r = e.y;
291
312
  }
292
- e.attr("transform", `translate(${n}, ${i})`);
313
+ e.attr("transform", `translate(${n}, ${r})`);
293
314
  }
294
315
  if (t.endLabelRight) {
295
- let e = F.get(t.id).endRight, n = t.x, i = t.y;
296
- if (r) {
297
- let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", r);
298
- n = e.x, i = e.y;
316
+ let e = I.get(t.id).endRight, n = t.x, r = t.y;
317
+ if (o) {
318
+ let e = f.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", o);
319
+ n = e.x, r = e.y;
299
320
  }
300
- e.attr("transform", `translate(${n}, ${i})`);
321
+ e.attr("transform", `translate(${n}, ${r})`);
301
322
  }
302
- }, "positionEdgeLabel"), ae = /* @__PURE__ */ a((e, t) => {
323
+ }, "positionEdgeLabel"), ae = /* @__PURE__ */ r((e, t) => {
303
324
  if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
304
325
  let [n, r] = t, i = Math.abs(r.x - n.x), a = Math.abs(r.y - n.y);
305
326
  return i < .001 || a < .001 ? t : a >= i ? [
@@ -317,50 +338,50 @@ var V = /* @__PURE__ */ a((t, n) => {
317
338
  },
318
339
  r
319
340
  ];
320
- }, "orthogonalizeToLabelClippedPoints"), H = /* @__PURE__ */ a((e, t) => {
341
+ }, "orthogonalizeToLabelClippedPoints"), W = /* @__PURE__ */ r((e, t) => {
321
342
  let n = e.x, r = e.y, i = Math.abs(t.x - n), a = Math.abs(t.y - r), o = e.width / 2, s = e.height / 2;
322
343
  return i >= o || a >= s;
323
- }, "outsideNode"), U = /* @__PURE__ */ a((t, n, r) => {
324
- e.debug(`intersection calc abc89:
325
- outsidePoint: ${JSON.stringify(n)}
326
- insidePoint : ${JSON.stringify(r)}
327
- node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);
328
- let i = t.x, a = t.y, o = Math.abs(i - r.x), s = t.width / 2, c = r.x < n.x ? s - o : s + o, l = t.height / 2, u = Math.abs(n.y - r.y), d = Math.abs(n.x - r.x);
329
- if (Math.abs(a - n.y) * s > Math.abs(i - n.x) * l) {
330
- let t = r.y < n.y ? n.y - l - a : a - l - n.y;
331
- c = d * t / u;
332
- let i = {
333
- x: r.x < n.x ? r.x + c : r.x - d + c,
334
- y: r.y < n.y ? r.y + u - t : r.y - u + t
344
+ }, "outsideNode"), G = /* @__PURE__ */ r((e, t, n) => {
345
+ i.debug(`intersection calc abc89:
346
+ outsidePoint: ${JSON.stringify(t)}
347
+ insidePoint : ${JSON.stringify(n)}
348
+ node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);
349
+ let r = e.x, a = e.y, o = Math.abs(r - n.x), s = e.width / 2, c = n.x < t.x ? s - o : s + o, l = e.height / 2, u = Math.abs(t.y - n.y), d = Math.abs(t.x - n.x);
350
+ if (Math.abs(a - t.y) * s > Math.abs(r - t.x) * l) {
351
+ let e = n.y < t.y ? t.y - l - a : a - l - t.y;
352
+ c = d * e / u;
353
+ let r = {
354
+ x: n.x < t.x ? n.x + c : n.x - d + c,
355
+ y: n.y < t.y ? n.y + u - e : n.y - u + e
335
356
  };
336
- return c === 0 && (i.x = n.x, i.y = n.y), d === 0 && (i.x = n.x), u === 0 && (i.y = n.y), e.debug(`abc89 top/bottom calc, Q ${u}, q ${t}, R ${d}, r ${c}`, i), i;
357
+ return c === 0 && (r.x = t.x, r.y = t.y), d === 0 && (r.x = t.x), u === 0 && (r.y = t.y), i.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`, r), r;
337
358
  }
338
359
  {
339
- c = r.x < n.x ? n.x - s - i : i - s - n.x;
340
- let t = u * c / d, a = r.x < n.x ? r.x + d - c : r.x - d + c, o = r.y < n.y ? r.y + t : r.y - t;
341
- return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
360
+ c = n.x < t.x ? t.x - s - r : r - s - t.x;
361
+ let e = u * c / d, a = n.x < t.x ? n.x + d - c : n.x - d + c, o = n.y < t.y ? n.y + e : n.y - e;
362
+ return i.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`, {
342
363
  _x: a,
343
364
  _y: o
344
- }), c === 0 && (a = n.x, o = n.y), d === 0 && (a = n.x), u === 0 && (o = n.y), {
365
+ }), c === 0 && (a = t.x, o = t.y), d === 0 && (a = t.x), u === 0 && (o = t.y), {
345
366
  x: a,
346
367
  y: o
347
368
  };
348
369
  }
349
- }, "intersection"), W = /* @__PURE__ */ a((t, n) => {
350
- e.warn("abc88 cutPathAtIntersect", t, n);
351
- let r = [], i = t[0], a = !1;
352
- return t.forEach((t) => {
353
- if (e.info("abc88 checking point", t, n), !H(n, t) && !a) {
354
- let o = U(n, i, t);
355
- e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
370
+ }, "intersection"), K = /* @__PURE__ */ r((e, t) => {
371
+ i.warn("abc88 cutPathAtIntersect", e, t);
372
+ let n = [], r = e[0], a = !1;
373
+ return e.forEach((e) => {
374
+ if (i.info("abc88 checking point", e, t), !W(t, e) && !a) {
375
+ let o = G(t, r, e);
376
+ i.debug("abc88 inside", e, r, o), i.debug("abc88 intersection", o, t);
356
377
  let s = !1;
357
- r.forEach((e) => {
378
+ n.forEach((e) => {
358
379
  s ||= e.x === o.x && e.y === o.y;
359
- }), r.some((e) => e.x === o.x && e.y === o.y) ? e.warn("abc88 no intersect", o, r) : r.push(o), a = !0;
360
- } else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
361
- }), e.debug("returning points", r), r;
380
+ }), n.some((e) => e.x === o.x && e.y === o.y) ? i.warn("abc88 no intersect", o, n) : n.push(o), a = !0;
381
+ } else i.warn("abc88 outside", e, r), r = e, a || n.push(e);
382
+ }), i.debug("returning points", n), n;
362
383
  }, "cutPathAtIntersect");
363
- function G(e) {
384
+ function q(e) {
364
385
  let t = [], n = [];
365
386
  for (let r = 1; r < e.length - 1; r++) {
366
387
  let i = e[r - 1], a = e[r], o = e[r + 1];
@@ -371,161 +392,161 @@ function G(e) {
371
392
  cornerPointPositions: n
372
393
  };
373
394
  }
374
- a(G, "extractCornerPoints");
375
- var K = /* @__PURE__ */ a(function(e, t, n) {
395
+ r(q, "extractCornerPoints");
396
+ var J = /* @__PURE__ */ r(function(e, t, n) {
376
397
  let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
377
398
  return {
378
399
  x: t.x - a * r,
379
400
  y: t.y - a * i
380
401
  };
381
- }, "findAdjacentPoint"), oe = /* @__PURE__ */ a(function(t) {
382
- let { cornerPointPositions: n } = G(t), r = [];
383
- for (let i = 0; i < t.length; i++) if (n.includes(i)) {
384
- let n = t[i - 1], a = t[i + 1], o = t[i], s = K(n, o, 5), c = K(a, o, 5), l = c.x - s.x, u = c.y - s.y;
385
- r.push(s);
402
+ }, "findAdjacentPoint"), oe = /* @__PURE__ */ r(function(e) {
403
+ let { cornerPointPositions: t } = q(e), n = [];
404
+ for (let r = 0; r < e.length; r++) if (t.includes(r)) {
405
+ let t = e[r - 1], a = e[r + 1], o = e[r], s = J(t, o, 5), c = J(a, o, 5), l = c.x - s.x, u = c.y - s.y;
406
+ n.push(s);
386
407
  let d = Math.sqrt(2) * 2, f = {
387
408
  x: o.x,
388
409
  y: o.y
389
410
  };
390
- Math.abs(a.x - n.x) > 10 && Math.abs(a.y - n.y) >= 10 ? (e.debug("Corner point fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), f = o.x === s.x ? {
411
+ Math.abs(a.x - t.x) > 10 && Math.abs(a.y - t.y) >= 10 ? (i.debug("Corner point fixing", Math.abs(a.x - t.x), Math.abs(a.y - t.y)), f = o.x === s.x ? {
391
412
  x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
392
413
  y: u < 0 ? s.y - d : s.y + d
393
414
  } : {
394
415
  x: l < 0 ? s.x - d : s.x + d,
395
416
  y: u < 0 ? s.y - 5 + d : s.y + 5 - d
396
- }) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
397
- } else r.push(t[i]);
398
- return r;
399
- }, "fixCorners"), se = /* @__PURE__ */ a((e, t, n) => {
417
+ }) : i.debug("Corner point skipping fixing", Math.abs(a.x - t.x), Math.abs(a.y - t.y)), n.push(f, c);
418
+ } else n.push(e[r]);
419
+ return n;
420
+ }, "fixCorners"), se = /* @__PURE__ */ r((e, t, n) => {
400
421
  let r = e - t - n, i = Math.floor(r / 4);
401
422
  return `0 ${t} ${Array(Number.isFinite(i) ? Math.max(0, i) : 0).fill("2 2").join(" ")} ${n}`;
402
- }, "generateDashArray"), q = /* @__PURE__ */ a(function(n, r, a, b, S, C, w, T = !1) {
403
- if (!w) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
404
- let { handDrawnSeed: E, layout: D } = i(), k = r.points, A = !1, j = S;
405
- var M = C;
406
- let N = [];
407
- for (let e in r.cssCompiledStyles) x(e) || N.push(r.cssCompiledStyles[e]);
408
- if (D === "swimlane") {
409
- if (M.intersect && j.intersect && Array.isArray(k) && k.length >= 2) {
410
- if (k.length === 2) k = [j.intersect(k[0]), M.intersect(k[1])];
423
+ }, "generateDashArray"), Y = /* @__PURE__ */ r(function(t, n, r, x, C, w, T, E = !1, D = void 0) {
424
+ if (!T) throw Error(`insertEdge: missing diagramId for edge "${n.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
425
+ let { handDrawnSeed: O, layout: A } = e(), j = D ?? A, M = n.points, N = !1, P = C;
426
+ var F = w;
427
+ let I = [];
428
+ for (let e in n.cssCompiledStyles) S(e) || I.push(n.cssCompiledStyles[e]);
429
+ if (j === "swimlane") {
430
+ if (!E && F.intersect && P.intersect && Array.isArray(M) && M.length >= 2) {
431
+ if (M.length === 2) M = [P.intersect(M[0]), F.intersect(M[1])];
411
432
  else {
412
- let e = k.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(k[k.length - 1].x - n.x) < r && Math.abs(k[k.length - 1].y - n.y) < r, a = j.intersect(t), o = i ? n : M.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
413
- k = [
433
+ let e = M.slice(1, -1), t = e[0], n = e[e.length - 1], r = .5, i = Math.abs(M[M.length - 1].x - n.x) < r && Math.abs(M[M.length - 1].y - n.y) < r, a = P.intersect(t), o = i ? n : F.intersect(n), s = Math.abs(o.x - n.x) < r && Math.abs(o.y - n.y) < r, c = Math.abs(a.x - t.x) < r && Math.abs(a.y - t.y) < r ? [] : [a], l = s ? [] : [o];
434
+ M = [
414
435
  ...c,
415
436
  ...e,
416
437
  ...l
417
438
  ];
418
439
  }
419
440
  }
420
- k = ae(r, k);
421
- } else M.intersect && j.intersect && !T && (k = k.slice(1, r.points.length - 1), k.unshift(j.intersect(k[0])), k.push(M.intersect(k[k.length - 1])));
422
- let P = btoa(JSON.stringify(k));
423
- r.toCluster && (e.info("to cluster abc88", a.get(r.toCluster)), k = W(r.points, a.get(r.toCluster).node), A = !0), r.fromCluster && (e.debug("from cluster abc88", a.get(r.fromCluster), JSON.stringify(k, null, 2)), k = W(k.reverse(), a.get(r.fromCluster).node).reverse(), A = !0);
424
- let F = k.filter((e) => !Number.isNaN(e.y)), I = ie(r.curve);
425
- I !== "rounded" && (F = oe(F));
426
- let L = _;
427
- switch (I) {
441
+ M = ae(n, M);
442
+ } else F.intersect && P.intersect && !E && (M = M.slice(1, n.points.length - 1), M.unshift(P.intersect(M[0])), M.push(F.intersect(M[M.length - 1])));
443
+ let ie = btoa(JSON.stringify(M));
444
+ n.toCluster && (i.info("to cluster abc88", r.get(n.toCluster)), M = K(n.points, r.get(n.toCluster).node), N = !0), n.fromCluster && (i.debug("from cluster abc88", r.get(n.fromCluster), JSON.stringify(M, null, 2)), M = K(M.reverse(), r.get(n.fromCluster).node).reverse(), N = !0);
445
+ let L = M.filter((e) => !Number.isNaN(e.y)), R = re(n.curve);
446
+ R !== "rounded" && (L = oe(L));
447
+ let z = h;
448
+ switch (R) {
428
449
  case "linear":
429
- L = _;
450
+ z = h;
430
451
  break;
431
452
  case "basis":
432
- L = p;
453
+ z = y;
433
454
  break;
434
455
  case "cardinal":
435
- L = o;
456
+ z = m;
436
457
  break;
437
458
  case "bumpX":
438
- L = v;
459
+ z = g;
439
460
  break;
440
461
  case "bumpY":
441
- L = h;
462
+ z = v;
442
463
  break;
443
464
  case "catmullRom":
444
- L = l;
465
+ z = o;
445
466
  break;
446
467
  case "monotoneX":
447
- L = u;
468
+ z = d;
448
469
  break;
449
470
  case "monotoneY":
450
- L = f;
471
+ z = c;
451
472
  break;
452
473
  case "natural":
453
- L = d;
474
+ z = l;
454
475
  break;
455
476
  case "step":
456
- L = s;
477
+ z = u;
457
478
  break;
458
479
  case "stepAfter":
459
- L = c;
480
+ z = _;
460
481
  break;
461
482
  case "stepBefore":
462
- L = g;
483
+ z = s;
463
484
  break;
464
485
  case "rounded":
465
- L = _;
486
+ z = h;
466
487
  break;
467
- default: L = p;
488
+ default: z = y;
468
489
  }
469
- let { x: R, y: z } = ne(r), B = y().x(R).y(z).curve(L), V;
470
- switch (r.thickness) {
490
+ let { x: B, y: V } = te(n), H = b().x(B).y(V).curve(z), U;
491
+ switch (n.thickness) {
471
492
  case "normal":
472
- V = "edge-thickness-normal";
493
+ U = "edge-thickness-normal";
473
494
  break;
474
495
  case "thick":
475
- V = "edge-thickness-thick";
496
+ U = "edge-thickness-thick";
476
497
  break;
477
498
  case "invisible":
478
- V = "edge-thickness-invisible";
499
+ U = "edge-thickness-invisible";
479
500
  break;
480
- default: V = "edge-thickness-normal";
501
+ default: U = "edge-thickness-normal";
481
502
  }
482
- switch (r.pattern) {
503
+ switch (n.pattern) {
483
504
  case "solid":
484
- V += " edge-pattern-solid";
505
+ U += " edge-pattern-solid";
485
506
  break;
486
507
  case "dotted":
487
- V += " edge-pattern-dotted";
508
+ U += " edge-pattern-dotted";
488
509
  break;
489
510
  case "dashed":
490
- V += " edge-pattern-dashed";
511
+ U += " edge-pattern-dashed";
491
512
  break;
492
- default: V += " edge-pattern-solid";
513
+ default: U += " edge-pattern-solid";
493
514
  }
494
- let H, U = I === "rounded" ? J(X(F, r), 5) : B(F), G = Array.isArray(r.style) ? r.style : [r.style], K = G.find((e) => e?.startsWith("stroke:")), q = "";
495
- r.animate && (q = "edge-animation-fast"), r.animation && (q = "edge-animation-" + r.animation);
496
- let Y = !1;
497
- if (r.look === "handDrawn") {
498
- let e = te.svg(n);
499
- Object.assign([], F);
500
- let i = e.path(U, {
515
+ let W, G = R === "rounded" ? X(ce(L, n), 5) : H(L), q = Array.isArray(n.style) ? n.style : [n.style], J = q.find((e) => e?.startsWith("stroke:")), Y = "";
516
+ n.animate && (Y = "edge-animation-fast"), n.animation && (Y = "edge-animation-" + n.animation);
517
+ let Z = !1;
518
+ if (n.look === "handDrawn") {
519
+ let e = ee.svg(t);
520
+ Object.assign([], L);
521
+ let r = e.path(G, {
501
522
  roughness: .3,
502
- seed: E
523
+ seed: O
503
524
  });
504
- V += " transition", H = t(i).select("path").attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", G ? G.reduce((e, t) => e + ";" + t, "") : "");
505
- let a = H.attr("d");
506
- H.attr("d", a), n.node().appendChild(H.node());
525
+ U += " transition", W = a(r).select("path").attr("id", `${T}-${n.id}`).attr("class", " " + U + (n.classes ? " " + n.classes : "") + (Y ? " " + Y : "")).attr("style", q ? q.reduce((e, t) => e + ";" + t, "") : "");
526
+ let i = W.attr("d");
527
+ W.attr("d", i), t.node().appendChild(W.node());
507
528
  } else {
508
- let e = N.join(";"), t = G ? G.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + t + ";" : t) + ";" + (G ? G.reduce((e, t) => e + ";" + t, "") : "");
509
- H = n.append("path").attr("d", U).attr("id", `${w}-${r.id}`).attr("class", " " + V + (r.classes ? " " + r.classes : "") + (q ? " " + q : "")).attr("style", i), K = i.match(/stroke:([^;]+)/)?.[1], Y = r.animate === !0 || !!r.animation || e.includes("animation");
510
- let a = H.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[r.arrowTypeStart] || 0, c = O[r.arrowTypeEnd] || 0;
511
- if (r.look === "neo" && !Y) {
512
- let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
513
- H.attr("style", e + H.attr("style"));
529
+ let e = I.join(";"), r = q ? q.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + r + ";" : r) + ";" + (q ? q.reduce((e, t) => e + ";" + t, "") : "");
530
+ W = t.append("path").attr("d", G).attr("id", `${T}-${n.id}`).attr("class", " " + U + (n.classes ? " " + n.classes : "") + (Y ? " " + Y : "")).attr("style", i), J = i.match(/stroke:([^;]+)/)?.[1], Z = n.animate === !0 || !!n.animation || e.includes("animation");
531
+ let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = k[n.arrowTypeStart] || 0, c = k[n.arrowTypeEnd] || 0;
532
+ if (n.look === "neo" && !Z) {
533
+ let e = `stroke-dasharray: ${n.pattern === "dotted" || n.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
534
+ W.attr("style", e + W.attr("style"));
514
535
  }
515
536
  }
516
- H.attr("data-edge", !0), H.attr("data-et", "edge"), H.attr("data-id", r.id), H.attr("data-points", P), H.attr("data-look", ee(r.look)), r.showPoints && F.forEach((e) => {
517
- n.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
537
+ W.attr("data-edge", !0), W.attr("data-et", "edge"), W.attr("data-id", n.id), W.attr("data-points", ie), W.attr("data-look", p(n.look)), n.showPoints && L.forEach((e) => {
538
+ t.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
518
539
  });
519
- let Z = "";
520
- (i().flowchart.arrowMarkerAbsolute || i().state.arrowMarkerAbsolute) && (Z = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Z = Z.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), e.info("arrowTypeStart", r.arrowTypeStart), e.info("arrowTypeEnd", r.arrowTypeEnd);
521
- let Q = !Y && r?.look === "neo";
522
- re(H, r, Z, w, b, Q, K);
523
- let ce = Math.floor(k.length / 2), le = k[ce];
524
- m.isLabelCoordinateInPath(le, H.attr("d")) || (A = !0);
540
+ let Q = "";
541
+ (e().flowchart.arrowMarkerAbsolute || e().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), i.info("arrowTypeStart", n.arrowTypeStart), i.info("arrowTypeEnd", n.arrowTypeEnd);
542
+ let le = !Z && n?.look === "neo";
543
+ ne(W, n, Q, T, x, le, J);
544
+ let ue = Math.floor(M.length / 2), de = M[ue];
545
+ f.isLabelCoordinateInPath(de, W.attr("d")) || (N = !0);
525
546
  let $ = {};
526
- return A && ($.updatedPath = k), $.originalPath = r.points, $;
547
+ return N && ($.updatedPath = M), $.originalPath = n.points, $;
527
548
  }, "insertEdge");
528
- function J(e, t) {
549
+ function X(e, t) {
529
550
  if (e.length < 2) return "";
530
551
  let n = "", r = e.length, i = 1e-5;
531
552
  for (let a = 0; a < r; a++) {
@@ -543,14 +564,14 @@ function J(e, t) {
543
564
  n += `L${o.x},${o.y}`;
544
565
  continue;
545
566
  }
546
- let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), ee = o.x - f * v, y = o.y - p * v, b = o.x + m * v, x = o.y + h * v;
547
- n += `L${ee},${y}`, n += `Q${o.x},${o.y} ${b},${x}`;
567
+ let v = Math.min(t / Math.sin(_ / 2), u / 2, d / 2), y = o.x - f * v, b = o.y - p * v, x = o.x + m * v, S = o.y + h * v;
568
+ n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
548
569
  }
549
570
  }
550
571
  return n;
551
572
  }
552
- a(J, "generateRoundedPath");
553
- function Y(e, t) {
573
+ r(X, "generateRoundedPath");
574
+ function Z(e, t) {
554
575
  if (!e || !t) return {
555
576
  angle: 0,
556
577
  deltaX: 0,
@@ -563,110 +584,113 @@ function Y(e, t) {
563
584
  deltaY: r
564
585
  };
565
586
  }
566
- a(Y, "calculateDeltaAndAngle");
567
- function X(e, t) {
587
+ r(Z, "calculateDeltaAndAngle");
588
+ function ce(e, t) {
568
589
  let n = e.map((e) => ({ ...e }));
569
- if (e.length >= 2 && D[t.arrowTypeStart]) {
570
- let r = D[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = Y(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
590
+ if (e.length >= 2 && O[t.arrowTypeStart]) {
591
+ let r = O[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = Z(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
571
592
  n[0].x = i.x + s, n[0].y = i.y + c;
572
593
  }
573
594
  let r = e.length;
574
- if (r >= 2 && D[t.arrowTypeEnd]) {
575
- let i = D[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = Y(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
595
+ if (r >= 2 && O[t.arrowTypeEnd]) {
596
+ let i = O[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = Z(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
576
597
  n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
577
598
  }
578
599
  return n;
579
600
  }
580
- a(X, "applyMarkerOffsetsToPoints");
581
- var Z = /* @__PURE__ */ a((e, t, n, r) => {
601
+ r(ce, "applyMarkerOffsetsToPoints");
602
+ var Q = /* @__PURE__ */ r((e, t, n, r) => {
582
603
  t.forEach((t) => {
583
- Q[t](e, n, r);
604
+ le[t](e, n, r);
584
605
  });
585
- }, "insertMarkers"), Q = {
586
- extension: /* @__PURE__ */ a((t, n, r) => {
587
- e.trace("Making markers for ", r), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionStart").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd").attr("class", "marker extension " + n).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), t.append("marker").attr("id", r + "_" + n + "-extensionStart-margin").attr("class", "marker extension " + n).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), t.append("defs").append("marker").attr("id", r + "_" + n + "-extensionEnd-margin").attr("class", "marker extension " + n).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
606
+ }, "insertMarkers"), le = {
607
+ extension: /* @__PURE__ */ r((e, t, n) => {
608
+ i.trace("Making markers for ", n), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), e.append("marker").attr("id", n + "_" + t + "-extensionStart-margin").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd-margin").attr("class", "marker extension " + t).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
588
609
  }, "extension"),
589
- composition: /* @__PURE__ */ a((e, t, n) => {
610
+ composition: /* @__PURE__ */ r((e, t, n) => {
590
611
  e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart").attr("class", "marker composition " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd").attr("class", "marker composition " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionStart-margin").attr("class", "marker composition " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("viewBox", "0 0 15 15").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-compositionEnd-margin").attr("class", "marker composition " + t).attr("refX", 3.5).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
591
612
  }, "composition"),
592
- aggregation: /* @__PURE__ */ a((e, t, n) => {
613
+ aggregation: /* @__PURE__ */ r((e, t, n) => {
593
614
  e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart").attr("class", "marker aggregation " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationStart-margin").attr("class", "marker aggregation " + t).attr("refX", 15).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-aggregationEnd-margin").attr("class", "marker aggregation " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 2).attr("d", "M 18,7 L9,13 L1,7 L9,1 Z");
594
615
  }, "aggregation"),
595
- dependency: /* @__PURE__ */ a((e, t, n) => {
616
+ dependency: /* @__PURE__ */ r((e, t, n) => {
596
617
  e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart").attr("class", "marker dependency " + t).attr("refX", 6).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd").attr("class", "marker dependency " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyStart-margin").attr("class", "marker dependency " + t).attr("refX", 4).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 5,7 L9,13 L1,7 L9,1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-dependencyEnd-margin").attr("class", "marker dependency " + t).attr("refX", 16).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").style("stroke-width", 0).attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
597
618
  }, "dependency"),
598
- lollipop: /* @__PURE__ */ a((e, t, n) => {
619
+ lollipop: /* @__PURE__ */ r((e, t, n) => {
599
620
  e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopStart-margin").attr("class", "marker lollipop " + t).attr("refX", 13).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2), e.append("defs").append("marker").attr("id", n + "_" + t + "-lollipopEnd-margin").attr("class", "marker lollipop " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("circle").attr("fill", "transparent").attr("cx", 7).attr("cy", 7).attr("r", 6).attr("stroke-width", 2);
600
621
  }, "lollipop"),
601
- point: /* @__PURE__ */ a((e, t, n) => {
622
+ point: /* @__PURE__ */ r((e, t, n) => {
602
623
  e.append("marker").attr("id", n + "_" + t + "-pointEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 4.5).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 8).attr("markerHeight", 8).attr("orient", "auto").append("path").attr("d", "M 0 5 L 10 10 L 10 0 z").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 11.5).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 10.5).attr("markerHeight", 14).attr("orient", "auto").append("path").attr("d", "M 0 0 L 11.5 7 L 0 14 z").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-pointStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 11.5 14").attr("refX", 1).attr("refY", 7).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11.5).attr("markerHeight", 14).attr("orient", "auto").append("polygon").attr("points", "0,7 11.5,14 11.5,0").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
603
624
  }, "point"),
604
- circle: /* @__PURE__ */ a((e, t, n) => {
625
+ circle: /* @__PURE__ */ r((e, t, n) => {
605
626
  e.append("marker").attr("id", n + "_" + t + "-circleEnd").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", 11).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleEnd-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refY", 5).attr("refX", 12.25).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-circleStart-margin").attr("class", "marker " + t).attr("viewBox", "0 0 10 10").attr("refX", -2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 14).attr("markerHeight", 14).attr("orient", "auto").append("circle").attr("cx", "5").attr("cy", "5").attr("r", "5").attr("class", "arrowMarkerPath").style("stroke-width", 0).style("stroke-dasharray", "1,0");
606
627
  }, "circle"),
607
- cross: /* @__PURE__ */ a((e, t, n) => {
628
+ cross: /* @__PURE__ */ r((e, t, n) => {
608
629
  e.append("marker").attr("id", n + "_" + t + "-crossEnd").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", 12).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossStart").attr("class", "marker cross " + t).attr("viewBox", "0 0 11 11").attr("refX", -1).attr("refY", 5.2).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 11).attr("markerHeight", 11).attr("orient", "auto").append("path").attr("d", "M 1,1 l 9,9 M 10,1 l -9,9").attr("class", "arrowMarkerPath").style("stroke-width", 2).style("stroke-dasharray", "1,0"), e.append("marker").attr("id", n + "_" + t + "-crossEnd-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", 17.7).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5), e.append("marker").attr("id", n + "_" + t + "-crossStart-margin").attr("class", "marker cross " + t).attr("viewBox", "0 0 15 15").attr("refX", -3.5).attr("refY", 7.5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 1,1 L 14,14 M 1,14 L 14,1").attr("class", "arrowMarkerPath").style("stroke-width", 2.5).style("stroke-dasharray", "1,0");
609
630
  }, "cross"),
610
- barb: /* @__PURE__ */ a((e, t, n) => {
631
+ barb: /* @__PURE__ */ r((e, t, n) => {
611
632
  e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
612
633
  }, "barb"),
613
- barbNeo: /* @__PURE__ */ a((e, t, n) => {
614
- let { themeVariables: i } = r(), { transitionColor: a } = i;
615
- e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
634
+ barbNeo: /* @__PURE__ */ r((e, t, r) => {
635
+ let { themeVariables: i } = n(), { transitionColor: a } = i;
636
+ e.append("defs").append("marker").attr("id", r + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", r + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
616
637
  }, "barbNeo"),
617
- only_one: /* @__PURE__ */ a((e, t, n) => {
638
+ hierarchy: /* @__PURE__ */ r((e, t, n) => {
639
+ e.append("marker").attr("id", n + "_" + t + "-hierarchyEnd").attr("class", "marker hierarchy " + t).attr("viewBox", "0 0 12 10").attr("refX", 10).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 10).attr("orient", "auto").append("path").attr("d", "M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0").style("fill", "none"), e.append("marker").attr("id", n + "_" + t + "-hierarchyStart").attr("class", "marker hierarchy " + t).attr("viewBox", "0 0 12 10").attr("refX", 2).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 10).attr("orient", "auto").append("path").attr("d", "M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class", "arrowMarkerPath").style("stroke-width", 1).style("stroke-dasharray", "1,0").style("fill", "none");
640
+ }, "hierarchy"),
641
+ only_one: /* @__PURE__ */ r((e, t, n) => {
618
642
  e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18"), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18");
619
643
  }, "only_one"),
620
- zero_or_one: /* @__PURE__ */ a((e, t, n) => {
644
+ zero_or_one: /* @__PURE__ */ r((e, t, n) => {
621
645
  let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
622
646
  r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
623
647
  let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto");
624
648
  i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
625
649
  }, "zero_or_one"),
626
- one_or_more: /* @__PURE__ */ a((e, t, n) => {
650
+ one_or_more: /* @__PURE__ */ r((e, t, n) => {
627
651
  e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18");
628
652
  }, "one_or_more"),
629
- zero_or_more: /* @__PURE__ */ a((e, t, n) => {
653
+ zero_or_more: /* @__PURE__ */ r((e, t, n) => {
630
654
  let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
631
655
  r.append("circle").attr("fill", "white").attr("cx", 48).attr("cy", 18).attr("r", 6), r.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18");
632
656
  let i = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto");
633
657
  i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 18).attr("r", 6), i.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18");
634
658
  }, "zero_or_more"),
635
- only_one_neo: /* @__PURE__ */ a((e, t, n) => {
636
- let { themeVariables: i } = r(), { strokeWidth: a } = i;
637
- e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
659
+ only_one_neo: /* @__PURE__ */ r((e, t, r) => {
660
+ let { themeVariables: i } = n(), { strokeWidth: a } = i;
661
+ e.append("defs").append("marker").attr("id", r + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", r + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
638
662
  }, "only_one_neo"),
639
- zero_or_one_neo: /* @__PURE__ */ a((e, t, n) => {
640
- let { themeVariables: i } = r(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
663
+ zero_or_one_neo: /* @__PURE__ */ r((e, t, r) => {
664
+ let { themeVariables: i } = n(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
641
665
  s.append("circle").attr("fill", o ?? "white").attr("cx", 21).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), s.append("path").attr("d", "M9,0 L9,18").attr("stroke-width", `${a}`);
642
- let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
666
+ let c = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
643
667
  c.append("circle").attr("fill", o ?? "white").attr("cx", 9).attr("cy", 9).attr("stroke-width", `${a}`).attr("r", 6), c.append("path").attr("d", "M21,0 L21,18").attr("stroke-width", `${a}`);
644
668
  }, "zero_or_one_neo"),
645
- one_or_more_neo: /* @__PURE__ */ a((e, t, n) => {
646
- let { themeVariables: i } = r(), { strokeWidth: a } = i;
647
- e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", n + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
669
+ one_or_more_neo: /* @__PURE__ */ r((e, t, r) => {
670
+ let { themeVariables: i } = n(), { strokeWidth: a } = i;
671
+ e.append("defs").append("marker").attr("id", r + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", r + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
648
672
  }, "one_or_more_neo"),
649
- zero_or_more_neo: /* @__PURE__ */ a((e, t, n) => {
650
- let { themeVariables: i } = r(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
673
+ zero_or_more_neo: /* @__PURE__ */ r((e, t, r) => {
674
+ let { themeVariables: i } = n(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
651
675
  s.append("circle").attr("fill", o ?? "white").attr("cx", 45.5).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), s.append("path").attr("d", "M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width", `${a}`);
652
- let c = e.append("defs").append("marker").attr("id", n + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
676
+ let c = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
653
677
  c.append("circle").attr("fill", o ?? "white").attr("cx", 11).attr("cy", 18).attr("r", 6).attr("stroke-width", `${a}`), c.append("path").attr("d", "M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width", `${a}`);
654
678
  }, "zero_or_more_neo"),
655
- requirement_arrow: /* @__PURE__ */ a((e, t, n) => {
679
+ requirement_arrow: /* @__PURE__ */ r((e, t, n) => {
656
680
  e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20");
657
681
  }, "requirement_arrow"),
658
- requirement_contains: /* @__PURE__ */ a((e, t, n) => {
682
+ requirement_contains: /* @__PURE__ */ r((e, t, n) => {
659
683
  let r = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").append("g");
660
684
  r.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), r.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), r.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10);
661
685
  }, "requirement_contains"),
662
- requirement_arrow_neo: /* @__PURE__ */ a((e, t, n) => {
663
- let { themeVariables: i } = r(), { strokeWidth: a } = i;
664
- e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
686
+ requirement_arrow_neo: /* @__PURE__ */ r((e, t, r) => {
687
+ let { themeVariables: i } = n(), { strokeWidth: a } = i;
688
+ e.append("defs").append("marker").attr("id", r + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
665
689
  }, "requirement_arrow_neo"),
666
- requirement_contains_neo: /* @__PURE__ */ a((e, t, n) => {
667
- let { themeVariables: i } = r(), { strokeWidth: a } = i, o = e.append("defs").append("marker").attr("id", n + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
690
+ requirement_contains_neo: /* @__PURE__ */ r((e, t, r) => {
691
+ let { themeVariables: i } = n(), { strokeWidth: a } = i, o = e.append("defs").append("marker").attr("id", r + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
668
692
  o.append("circle").attr("cx", 10).attr("cy", 10).attr("r", 9).attr("fill", "none"), o.append("line").attr("x1", 1).attr("x2", 19).attr("y1", 10).attr("y2", 10), o.append("line").attr("y1", 1).attr("y2", 19).attr("x1", 10).attr("x2", 10), o.selectAll("*").attr("stroke-width", `${a}`);
669
693
  }, "requirement_contains_neo")
670
- }, ce = Z;
694
+ }, ue = Q;
671
695
  //#endregion
672
- export { z as a, V as c, q as i, F as l, P as n, D as o, L as r, ce as s, I as t };
696
+ export { z as a, ue as c, I as d, Y as i, U as l, F as n, O as o, L as r, k as s, ie as t, H as u };