@sme.up/ketchup2 2.7.0 → 2.8.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 (344) hide show
  1. package/dist/abnfDiagram-VCTEODGH-C9blQ78p.cjs +1 -0
  2. package/dist/abnfDiagram-VCTEODGH-DZIaCwNE.js +89 -0
  3. package/dist/{arc-CVbkjF8U.js → arc-7ZXqzxve.js} +1 -1
  4. package/dist/{arc-w3BipdfE.cjs → arc-DBilzVYt.cjs} +1 -1
  5. package/dist/architecture-7GRP2DOG-DYFsLst2.js +3 -0
  6. package/dist/architecture-7GRP2DOG-DdhuGtEz.cjs +1 -0
  7. package/dist/architectureDiagram-5GKGNRK7-B080D0D_.cjs +36 -0
  8. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-BJvIxhbL.js} +338 -251
  9. package/dist/assets/svg/functions.svg +1 -0
  10. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  11. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  12. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  13. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  14. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  15. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  16. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  17. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  18. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  19. package/dist/basic-components/chips/chips-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips/chips.d.ts.map +1 -1
  21. package/dist/basic-components/chips-input/chips-input-types.d.ts +5 -0
  22. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  23. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  25. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts.map +1 -1
  26. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete.d.ts.map +1 -1
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts +5 -0
  28. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  29. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-C5aW9ypR.js +1919 -0
  31. package/dist/blockDiagram-I7D4REHJ-fT7Of27R.cjs +129 -0
  32. package/dist/c4Diagram-7LVT6UL2-B1n5PnN5.cjs +38 -0
  33. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-JxFfT5VH.js} +808 -789
  34. package/dist/channel-BvUly9jN.cjs +1 -0
  35. package/dist/{channel-C-LAmObA.js → channel-D6agWknC.js} +1 -1
  36. package/dist/chunk-2E4U76K2-BiZwNOhf.cjs +1 -0
  37. package/dist/chunk-2E4U76K2-C8vehurw.js +346 -0
  38. package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +1 -0
  39. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  40. package/dist/chunk-4HAMMTFA-Db_fcZEn.cjs +62 -0
  41. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-MZIwowe1.js} +1665 -1143
  42. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  43. package/dist/{chunk-FMBD7UC4-BIKI8zae.cjs → chunk-5VM5RSS4-CwDmQ9T_.cjs} +1 -1
  44. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-BwUD389x.js} +56 -55
  45. package/dist/chunk-75Z2AOVW-RbCLc-XL.cjs +2 -0
  46. package/dist/chunk-CLGD4ZFX-DKRy6g5T.js +10 -0
  47. package/dist/chunk-CLGD4ZFX-Dvn-kRD7.cjs +1 -0
  48. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-CNSdkWoH.js} +997 -764
  49. package/dist/chunk-DU6HZSFF-mznJTFyO.cjs +127 -0
  50. package/dist/chunk-F27PBJKO-C5NrgqMI.cjs +1 -0
  51. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-DKsmevT5.js} +18 -17
  52. package/dist/chunk-FOHPRMQF-BYsnEQU5.cjs +161 -0
  53. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-C49KxWOg.js} +5156 -4419
  54. package/dist/chunk-GMAD6QVW-BVSRANO9.cjs +72 -0
  55. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-DKxKOKLF.js} +459 -503
  56. package/dist/chunk-GVQU2GXP-BiuaO1L5.cjs +1 -0
  57. package/dist/chunk-GVQU2GXP-w4KY-she.js +37 -0
  58. package/dist/chunk-IMKFNOWR-CusIwu2H.cjs +231 -0
  59. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-DHxMOe_C.js} +313 -291
  60. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  61. package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +1 -0
  62. package/dist/chunk-L3NEJ4N5-B8UQMgqc.cjs +1 -0
  63. package/dist/chunk-L3NEJ4N5-CvNbHpcd.js +245 -0
  64. package/dist/chunk-LNGE3PJU-CiGrDO_F.js +1513 -0
  65. package/dist/chunk-LNGE3PJU-TgsSSByc.cjs +34 -0
  66. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-BmtDbEvT.js} +304 -195
  67. package/dist/chunk-OSK3NFVY-DE9_ERt9.cjs +10 -0
  68. package/dist/chunk-P2QGCYS3-DRvvOWJ2.js +67 -0
  69. package/dist/chunk-P2QGCYS3-DqT85Q-S.cjs +1 -0
  70. package/dist/chunk-POPQ4Y6H-CaEkosGL.js +26 -0
  71. package/dist/chunk-POPQ4Y6H-QqO5seyb.cjs +1 -0
  72. package/dist/chunk-PWAF6VOD-CbmhQpgH.js +277 -0
  73. package/dist/chunk-PWAF6VOD-CjrO-QHU.cjs +1 -0
  74. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-DJgD-hyF.js} +566 -522
  75. package/dist/chunk-SHT3W25Y-DuMn9iH6.cjs +168 -0
  76. package/dist/chunk-SVP7TREG-BNwvtyzm.js +490 -0
  77. package/dist/chunk-SVP7TREG-CiwWyOxx.cjs +88 -0
  78. package/dist/{chunk-727SXJPM-Dj8nsm0O.cjs → chunk-TICWLB2K-1u0p_luB.cjs} +7 -7
  79. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-DqSHwYf9.js} +183 -177
  80. package/dist/chunk-TLUHSLCS-ZDzqyqeY.cjs +1 -0
  81. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-opHh7fd-.js} +35 -25
  82. package/dist/chunk-XXDRQBXY-BF71LTT1.cjs +1 -0
  83. package/dist/chunk-XXDRQBXY-BZK6GgVm.js +9 -0
  84. package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +1 -0
  85. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  86. package/dist/classDiagram-ZZMXUADV-BTRkvFx4.js +30 -0
  87. package/dist/classDiagram-ZZMXUADV-CwAl_N60.cjs +1 -0
  88. package/dist/classDiagram-v2-VYDZK3BY-CFutvfy-.js +30 -0
  89. package/dist/classDiagram-v2-VYDZK3BY-CwAl_N60.cjs +1 -0
  90. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  91. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  92. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  93. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  94. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  95. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  96. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  97. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  98. package/dist/components/data-table/data-table-types.d.ts +52 -1
  99. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  100. package/dist/components/data-table/data-table.d.ts.map +1 -1
  101. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  102. package/dist/components/data-table/header/header-types.d.ts +7 -1
  103. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  104. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  105. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  106. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  107. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  108. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  109. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  110. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  111. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  112. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  113. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  114. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  115. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  116. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  117. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-CE0T5PqO.js} +25 -24
  118. package/dist/cose-bilkent-JH36ORCC-D6t9R42P.cjs +1 -0
  119. package/dist/cynefin-OW5HDTMX-CsZ3W32G.cjs +1 -0
  120. package/dist/cynefin-OW5HDTMX-DlKRHClQ.js +3 -0
  121. package/dist/cynefinDiagram-5FMLGOSQ-D5vkxB9p.js +349 -0
  122. package/dist/cynefinDiagram-5FMLGOSQ-D95Uad6U.cjs +62 -0
  123. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-BQqfb1oS.js} +2260 -2206
  124. package/dist/cytoscape.esm-TdwWzXkE.cjs +321 -0
  125. package/dist/dagre-GXQ25YYZ-CFXgAmuL.js +423 -0
  126. package/dist/dagre-GXQ25YYZ-NS5a_ezX.cjs +4 -0
  127. package/dist/{dagre-B2BBwKNb.cjs → dagre-nX1Mh32P.cjs} +1 -1
  128. package/dist/{dagre-3-RnF0EK.js → dagre-qXSFUdzO.js} +131 -131
  129. package/dist/diagram-S7CK7UJ4-CTj-4VAh.cjs +30 -0
  130. package/dist/diagram-S7CK7UJ4-DrGNegqs.js +301 -0
  131. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-LU56O9S9.js} +82 -81
  132. package/dist/diagram-UQ7AKVKN-eskbTWOc.cjs +41 -0
  133. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CaQnupEx.js} +66 -65
  134. package/dist/diagram-VSXAHHWV-DzHhzg5V.cjs +3 -0
  135. package/dist/diagram-VX7I27RA-D7Ibz__z.cjs +24 -0
  136. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-DH-s9daK.js} +105 -104
  137. package/dist/diagram-Z3DM3KII-BpFP72Tr.cjs +24 -0
  138. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-DWhRX2l9.js} +21 -20
  139. package/dist/{dist-Btd8EZyy.js → dist-C7OpkiTz.js} +2 -3
  140. package/dist/dist-DrOEvFlx.cjs +1 -0
  141. package/dist/ebnfDiagram-PWID7BFC-CtT2erlt.js +100 -0
  142. package/dist/ebnfDiagram-PWID7BFC-DXCy8fra.cjs +1 -0
  143. package/dist/erDiagram-RLTQ6QDP-B-cUtqmN.cjs +99 -0
  144. package/dist/erDiagram-RLTQ6QDP-CxxAoCSs.js +1966 -0
  145. package/dist/eventmodeling-NTZA5JFV-5J5w1INt.js +3 -0
  146. package/dist/eventmodeling-NTZA5JFV-DcUTtbEf.cjs +1 -0
  147. package/dist/flowDiagram-HODETNUW-B6sXxv0S.cjs +1 -0
  148. package/dist/flowDiagram-HODETNUW-BUvMJJnE.js +17 -0
  149. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  150. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  151. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  152. package/dist/functional-components/row/row-types.d.ts +5 -0
  153. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  154. package/dist/functional-components/row/row.d.ts.map +1 -1
  155. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  156. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  157. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  158. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  159. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  160. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  161. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  162. package/dist/ganttDiagram-EL5Y4UJY-Bee0Pd-N.cjs +292 -0
  163. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-C04RZW4s.js} +675 -671
  164. package/dist/gitGraph-4MIJSDKK-BCt5iiZ5.js +3 -0
  165. package/dist/gitGraph-4MIJSDKK-BeFVwcRC.cjs +1 -0
  166. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-BTcuEGsY.js} +146 -145
  167. package/dist/gitGraphDiagram-WWUBYQGX-DA026nbS.cjs +106 -0
  168. package/dist/index.d.ts +4 -1
  169. package/dist/index.d.ts.map +1 -1
  170. package/dist/info-A6RAGUB7-C0KA0jej.cjs +1 -0
  171. package/dist/info-A6RAGUB7-DYBvudiC.js +3 -0
  172. package/dist/infoDiagram-27XIBGKW-B5nTXQEj.cjs +2 -0
  173. package/dist/infoDiagram-27XIBGKW-BoUOV42E.js +20 -0
  174. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-D15Hi9wp.js} +134 -133
  175. package/dist/{ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs → ishikawaDiagram-5VMMS53U-ptk0d5z2.cjs} +6 -6
  176. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-BUb4frTN.js} +181 -180
  177. package/dist/{journeyDiagram-JHISSGLW-DfnmJPLn.cjs → journeyDiagram-3NMN7TZE-CxVpPKa-.cjs} +8 -8
  178. package/dist/kanban-definition-UXKFOSKX-Cd_nphr7.cjs +89 -0
  179. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-DkgBC20j.js} +141 -138
  180. package/dist/katex-DUe6VLjC.cjs +257 -0
  181. package/dist/{katex-D-2KeLwt.js → katex-Dyoqg6Cv.js} +1562 -1600
  182. package/dist/ketchup2.cjs.js +156 -154
  183. package/dist/ketchup2.css +1 -1
  184. package/dist/ketchup2.es.js +31759 -29656
  185. package/dist/{line-DIhSUgmA.js → line-BEo8vh4N.js} +1 -1
  186. package/dist/{line-CzwncDY3.cjs → line-wiGgVVGi.cjs} +1 -1
  187. package/dist/{linear-DUAteVwl.js → linear-BNesvT28.js} +1 -1
  188. package/dist/{linear-1lpO_WlJ.cjs → linear-YA14Lx5Z.cjs} +1 -1
  189. package/dist/locale/en/translation.json.d.ts +16 -0
  190. package/dist/locale/it/translation.json.d.ts +16 -0
  191. package/dist/mermaid-parser.core-CqChDTj1.cjs +6 -0
  192. package/dist/mermaid-parser.core-oFB-qEU8.js +638 -0
  193. package/dist/{mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs → mindmap-definition-YA3MSWOX-0PG4raFG.cjs} +11 -11
  194. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-Cjs12XgD.js} +156 -154
  195. package/dist/packet-AYTQ26CC-BEwXWBE0.js +3 -0
  196. package/dist/packet-AYTQ26CC-DfXUrk97.cjs +1 -0
  197. package/dist/pegDiagram-XKGWAZYB-BuyVzOiH.js +94 -0
  198. package/dist/pegDiagram-XKGWAZYB-J7VwZsJf.cjs +1 -0
  199. package/dist/pie-WAS4IAKB-4NfHFfJd.cjs +1 -0
  200. package/dist/pie-WAS4IAKB-BOR5Wwai.js +3 -0
  201. package/dist/pieDiagram-E7YTZNPT-B-rPB0ZO.cjs +39 -0
  202. package/dist/pieDiagram-E7YTZNPT-D4bB4TDP.js +205 -0
  203. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-B6Q9biU9.js} +293 -293
  204. package/dist/quadrantDiagram-AXDQQJYC-C5sdY1DW.cjs +7 -0
  205. package/dist/radar-RG4KPBEZ-BwLQFFzF.js +3 -0
  206. package/dist/radar-RG4KPBEZ-_epvvHKu.cjs +1 -0
  207. package/dist/railroad-74A4TZTK-CaWzRQE0.js +3 -0
  208. package/dist/railroad-74A4TZTK-D2qbdjOh.cjs +1 -0
  209. package/dist/railroad-abnf-HS5TGJTU-D2tm1mra.js +3 -0
  210. package/dist/railroad-abnf-HS5TGJTU-_ThxftPt.cjs +1 -0
  211. package/dist/railroad-ebnf-LZEXJU2U-CKpMMgXK.cjs +1 -0
  212. package/dist/railroad-ebnf-LZEXJU2U-KAuGgmQe.js +3 -0
  213. package/dist/railroad-peg-WCYAUIDC-B8bfIIor.cjs +1 -0
  214. package/dist/railroad-peg-WCYAUIDC-XB38GivH.js +3 -0
  215. package/dist/railroadDiagram-O6MQD6OU-C7LfgSGm.cjs +1 -0
  216. package/dist/railroadDiagram-O6MQD6OU-DFR4_PxB.js +76 -0
  217. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-BfWCCTu8.js} +169 -166
  218. package/dist/requirementDiagram-BXWQKSXE-y2O3wvFe.cjs +84 -0
  219. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-B_3NESVW.js} +109 -108
  220. package/dist/sankeyDiagram-P5KCCOFB-z8VLw23o.cjs +40 -0
  221. package/dist/sequenceDiagram-WJ2MYXX4-3cWo24Xv.cjs +162 -0
  222. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-B8W9PUBb.js} +692 -688
  223. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  224. package/dist/sizeCapture-INFHLROL-bJ2ZX4Du.cjs +1 -0
  225. package/dist/src-B16ML7oM.cjs +1 -0
  226. package/dist/{src-DjDATEq3.js → src-D-6ZfKf9.js} +500 -507
  227. package/dist/stateDiagram-D77RDMKH-DghYG1f5.cjs +1 -0
  228. package/dist/stateDiagram-D77RDMKH-IwptGFzp.js +220 -0
  229. package/dist/stateDiagram-v2-MP3YSRHH-0rNAzd4v.cjs +1 -0
  230. package/dist/stateDiagram-v2-MP3YSRHH-NATCGJSV.js +30 -0
  231. package/dist/swimlanes-42K2YHIH-jhIjSCsq.js +4976 -0
  232. package/dist/swimlanes-42K2YHIH-svHo0tVy.cjs +1 -0
  233. package/dist/swimlanesDiagram-VR7AAH4N-DKxpX9Hj.js +31 -0
  234. package/dist/swimlanesDiagram-VR7AAH4N-DcDLe-u-.cjs +8 -0
  235. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-C6u6A92C.js} +212 -211
  236. package/dist/timeline-definition-24CTP7MA-CA62jwSB.cjs +120 -0
  237. package/dist/treeView-Q6P3EWNA-CkgGYPwy.js +3 -0
  238. package/dist/treeView-Q6P3EWNA-zIJfTe51.cjs +1 -0
  239. package/dist/treemap-WGGIJYW6-CooEnQQp.cjs +1 -0
  240. package/dist/treemap-WGGIJYW6-D4tTzsvR.js +3 -0
  241. package/dist/types/translation.d.ts +17 -1
  242. package/dist/types/translation.d.ts.map +1 -1
  243. package/dist/utils/data-structures.d.ts +2 -1
  244. package/dist/utils/data-structures.d.ts.map +1 -1
  245. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-Bt9cyeRX.js} +324 -302
  246. package/dist/vennDiagram-4TSXK5OY-YKU1Lb_h.cjs +34 -0
  247. package/dist/wardley-WFR3VGLG-Cp2KFpcw.cjs +1 -0
  248. package/dist/wardley-WFR3VGLG-D1o3hFSK.js +3 -0
  249. package/dist/wardleyDiagram-VM6X3IG4-BvyabMK8.cjs +78 -0
  250. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-QkNx10Ny.js} +144 -143
  251. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BSwoR01A.js} +729 -559
  252. package/dist/xychartDiagram-S5SC5T6Z-BtNTzcXw.cjs +7 -0
  253. package/package.json +5 -2
  254. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  255. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  256. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  257. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  258. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  259. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  260. package/dist/channel-DJpMBAs-.cjs +0 -1
  261. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  262. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  263. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  264. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  265. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  266. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  267. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  268. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  269. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  270. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  271. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  272. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  273. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  274. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  275. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  276. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  277. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  278. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  279. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  280. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  281. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  282. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  283. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  284. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  285. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  286. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  287. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  288. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  289. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  290. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  291. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  292. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  293. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  294. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  295. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  296. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  297. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  298. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  299. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  300. package/dist/dist-D8RD2QWc.cjs +0 -1
  301. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  302. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  303. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  304. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  305. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  306. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  307. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  308. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  309. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  310. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  311. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  312. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  313. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  314. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  315. package/dist/katex-CkiTumqg.cjs +0 -257
  316. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  317. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  318. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  319. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  320. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  321. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  322. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  323. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  324. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  325. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  326. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  327. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  328. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  329. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  330. package/dist/src-DEmZ9bFr.cjs +0 -1
  331. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  332. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  333. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  334. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  335. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  336. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  337. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  338. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  339. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  340. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  341. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  342. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  343. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  344. package/dist/xychartDiagram-2RQKCTM6-DA3O42Dk.cjs +0 -7
@@ -1,17 +1,94 @@
1
- import { g as e, h as t, p as n } from "./src-DjDATEq3.js";
2
- import { T as r, b as i, x as a } from "./chunk-CSCIHK7Q-BEk3YcEH.js";
3
- 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 y } from "./chunk-5ZQYHXKU-B_nOC8-n.js";
4
- import { t as b } from "./line-DIhSUgmA.js";
5
- import { i as x, n as S, r as C, t as w } from "./chunk-BSJP7CBP-YsQACkyC.js";
6
- import { n as T } from "./chunk-L5ZTLDWV-BQCNoMVG.js";
7
- import { i as E, n as ee } from "./chunk-NZK2D7GU-CPxdSJTy.js";
8
- import { n as D } from "./chunk-O5CBEL6O-DbWeP4Au.js";
1
+ import { m as e, p as t } from "./src-D-6ZfKf9.js";
2
+ import { T as n, b as r, x as i } from "./chunk-DU6HZSFF-CNSdkWoH.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-BwUD389x.js";
5
+ import { t as y } from "./line-BEo8vh4N.js";
6
+ import { i as b, n as x } from "./chunk-P2QGCYS3-DRvvOWJ2.js";
7
+ import { n as S, r as C } from "./chunk-GMAD6QVW-DKxKOKLF.js";
9
8
  import { t as te } from "./rough.esm-rcMoXTJj.js";
10
- import { r as O } from "./chunk-3OPIFGDE-Bs2mXISw.js";
11
- //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-KSCS5N6A.mjs
12
- var k = /* @__PURE__ */ t((e, t, n, r, i, a = !1, o) => {
13
- t.arrowTypeStart && M(e, "start", t.arrowTypeStart, n, r, i, a, o), t.arrowTypeEnd && M(e, "end", t.arrowTypeEnd, n, r, i, a, o);
14
- }, "addEdgeMarkers"), A = {
9
+ import { t as w } from "./chunk-4HAMMTFA-MZIwowe1.js";
10
+ import { n as T } from "./chunk-GVQU2GXP-w4KY-she.js";
11
+ //#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-OSK3NFVY.mjs
12
+ var E = /* @__PURE__ */ a((e, t) => {
13
+ if (t) return "translate(" + -e.width / 2 + ", " + -e.height / 2 + ")";
14
+ let n = e.x ?? 0, r = e.y ?? 0;
15
+ return "translate(" + -(n + e.width / 2) + ", " + -(r + e.height / 2) + ")";
16
+ }, "computeLabelTransform"), D = {
17
+ aggregation: 17.25,
18
+ extension: 17.25,
19
+ composition: 17.25,
20
+ dependency: 6,
21
+ lollipop: 13.5,
22
+ arrow_point: 4,
23
+ arrow_barb: 0,
24
+ arrow_barb_neo: 5.5
25
+ }, O = {
26
+ arrow_point: 4,
27
+ arrow_cross: 12.5,
28
+ arrow_circle: 12.5
29
+ };
30
+ function k(e, t) {
31
+ if (e === void 0 || t === void 0) return {
32
+ angle: 0,
33
+ deltaX: 0,
34
+ deltaY: 0
35
+ };
36
+ e = A(e), t = A(t);
37
+ let [n, r] = [e.x, e.y], [i, a] = [t.x, t.y], o = i - n, s = a - r;
38
+ return {
39
+ angle: Math.atan(s / o),
40
+ deltaX: o,
41
+ deltaY: s
42
+ };
43
+ }
44
+ a(k, "calculateDeltaAndAngle");
45
+ var A = /* @__PURE__ */ a((e) => Array.isArray(e) ? {
46
+ x: e[0],
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);
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];
59
+ if (o < d && o > 0 && s < d) {
60
+ let e = d + 1 - o;
61
+ e *= a === "right" ? -1 : 1, i -= e;
62
+ }
63
+ if (c < u && c > 0 && l < u) {
64
+ let e = u + 1 - c;
65
+ e *= a === "right" ? -1 : 1, i += e;
66
+ }
67
+ return A(t).x + i;
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);
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];
79
+ if (o < d && o > 0 && s < d) {
80
+ let e = d + 1 - o;
81
+ e *= a === "up" ? -1 : 1, i -= e;
82
+ }
83
+ if (c < u && c > 0 && l < u) {
84
+ let e = u + 1 - c;
85
+ e *= a === "up" ? -1 : 1, i += e;
86
+ }
87
+ return A(t).y + i;
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 = {
15
92
  arrow_cross: {
16
93
  type: "cross",
17
94
  fill: !1
@@ -76,7 +153,7 @@ var k = /* @__PURE__ */ t((e, t, n, r, i, a = !1, o) => {
76
153
  type: "requirement_contains",
77
154
  fill: !1
78
155
  }
79
- }, j = [
156
+ }, M = [
80
157
  "cross",
81
158
  "point",
82
159
  "circle",
@@ -86,8 +163,9 @@ var k = /* @__PURE__ */ t((e, t, n, r, i, a = !1, o) => {
86
163
  "composition",
87
164
  "dependency",
88
165
  "barb"
89
- ], M = /* @__PURE__ */ t((t, n, r, i, a, o, s = !1, c) => {
90
- let l = A[r], u = l && j.includes(l.type);
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);
91
169
  if (!l) {
92
170
  e.warn(`Unknown arrow type: ${r}`);
93
171
  return;
@@ -106,89 +184,91 @@ var k = /* @__PURE__ */ t((e, t, n, r, i, a = !1, o) => {
106
184
  }
107
185
  t.attr(`marker-${n}`, `url(${i}#${e})`);
108
186
  } else t.attr(`marker-${n}`, `url(${i}#${d})`);
109
- }, "addEdgeMarker"), ne = /* @__PURE__ */ t((e) => typeof e == "string" ? e : a()?.flowchart?.curve, "resolveEdgeCurveType"), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ t(() => {
110
- N.clear(), P.clear();
111
- }, "clear"), I = /* @__PURE__ */ t((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), L = /* @__PURE__ */ t(async (t, i) => {
112
- let o = a(), s = r(o), { labelStyles: c } = E(i);
113
- i.labelStyle = c;
114
- let l = t.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await D(t, i.label, {
115
- style: I(i.labelStyle),
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),
116
194
  useHtmlLabels: s,
117
195
  addSvgBackground: !0,
118
196
  isNode: !1,
119
197
  markdown: d,
120
198
  width: void 0
121
199
  }, o);
122
- u.node().appendChild(f), e.info("abc82", i, i.labelType);
123
- let p = f.getBBox(), m = p;
200
+ u.node().appendChild(f), e.info("abc82", a, a.labelType);
201
+ let p, m;
124
202
  if (s) {
125
- let e = f.children[0], t = n(f);
126
- p = e.getBoundingClientRect(), m = p, t.attr("width", p.width), t.attr("height", p.height);
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);
127
205
  } else {
128
- let e = n(f).select("text").node();
129
- e && typeof e.getBBox == "function" && (m = e.getBBox());
206
+ let e = t(f).select("text").node();
207
+ await C.measure(() => {
208
+ p = f.getBBox(), m = e && typeof e.getBBox == "function" ? e.getBBox() : p;
209
+ });
130
210
  }
131
- u.attr("transform", w(m, s)), N.set(i.id, l), i.width = p.width, i.height = p.height;
211
+ u.attr("transform", E(m, s)), P.set(a.id, l), a.width = p.width, a.height = p.height;
132
212
  let h;
133
- if (i.startLabelLeft) {
134
- let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(r, i.startLabelLeft, I(i.labelStyle) || "", !1, !1);
135
- h = a;
136
- let o = a.getBBox();
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);
215
+ h = i;
216
+ let o = i.getBBox();
137
217
  if (s) {
138
- let e = a.children[0], t = n(a);
139
- o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
218
+ let e = i.children[0], n = t(i);
219
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
140
220
  }
141
- r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startLeft = e, R(h, i.startLabelLeft);
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);
142
222
  }
143
- if (i.startLabelRight) {
144
- let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(r, i.startLabelRight, I(i.labelStyle) || "", !1, !1);
145
- h = a;
146
- let o = a.getBBox();
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);
225
+ h = i;
226
+ let o = i.getBBox();
147
227
  if (s) {
148
- let e = a.children[0], t = n(a);
149
- o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
228
+ let e = i.children[0], n = t(i);
229
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
150
230
  }
151
- r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startRight = e, R(h, i.startLabelRight);
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);
152
232
  }
153
- if (i.endLabelLeft) {
154
- let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(e, i.endLabelLeft, I(i.labelStyle) || "", !1, !1);
155
- h = a;
156
- let o = a.getBBox();
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);
235
+ h = i;
236
+ let o = i.getBBox();
157
237
  if (s) {
158
- let e = a.children[0], t = n(a);
159
- o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
238
+ let e = i.children[0], n = t(i);
239
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
160
240
  }
161
- r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endLeft = e, R(h, i.endLabelLeft);
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);
162
242
  }
163
- if (i.endLabelRight) {
164
- let e = t.insert("g").attr("class", "edgeTerminals"), r = e.insert("g").attr("class", "inner"), a = await O(e, i.endLabelRight, I(i.labelStyle) || "", !1, !1);
165
- h = a;
166
- let o = a.getBBox();
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);
245
+ h = i;
246
+ let o = i.getBBox();
167
247
  if (s) {
168
- let e = a.children[0], t = n(a);
169
- o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
248
+ let e = i.children[0], n = t(i);
249
+ o = e.getBoundingClientRect(), n.attr("width", o.width), n.attr("height", o.height);
170
250
  }
171
- r.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endRight = e, R(h, i.endLabelRight);
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);
172
252
  }
173
253
  return f;
174
254
  }, "insertEdgeLabel");
175
- function R(e, t) {
176
- r(a()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
255
+ function B(e, t) {
256
+ n(i()) && e && (e.style.width = t.length * 9 + "px", e.style.height = "12px");
177
257
  }
178
- t(R, "setTerminalWidth");
179
- var z = /* @__PURE__ */ t((t, n) => {
180
- e.debug("Moving label abc88 ", t.id, t.label, N.get(t.id), n);
181
- let r = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: i } = T(a());
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, { subGraphTitleTotalMargin: a } = T(i());
182
262
  if (t.label) {
183
- let a = N.get(t.id), o = t.x, s = t.y;
263
+ let i = P.get(t.id), o = t.x, s = t.y;
184
264
  if (r) {
185
265
  let i = m.calcLabelPosition(r);
186
266
  e.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (o = i.x, s = i.y);
187
267
  }
188
- a.attr("transform", `translate(${o}, ${s + i / 2})`);
268
+ i.attr("transform", `translate(${o}, ${s + a / 2})`);
189
269
  }
190
270
  if (t.startLabelLeft) {
191
- let e = P.get(t.id).startLeft, n = t.x, i = t.y;
271
+ let e = F.get(t.id).startLeft, n = t.x, i = t.y;
192
272
  if (r) {
193
273
  let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", r);
194
274
  n = e.x, i = e.y;
@@ -196,7 +276,7 @@ var z = /* @__PURE__ */ t((t, n) => {
196
276
  e.attr("transform", `translate(${n}, ${i})`);
197
277
  }
198
278
  if (t.startLabelRight) {
199
- let e = P.get(t.id).startRight, n = t.x, i = t.y;
279
+ let e = F.get(t.id).startRight, n = t.x, i = t.y;
200
280
  if (r) {
201
281
  let e = m.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", r);
202
282
  n = e.x, i = e.y;
@@ -204,7 +284,7 @@ var z = /* @__PURE__ */ t((t, n) => {
204
284
  e.attr("transform", `translate(${n}, ${i})`);
205
285
  }
206
286
  if (t.endLabelLeft) {
207
- let e = P.get(t.id).endLeft, n = t.x, i = t.y;
287
+ let e = F.get(t.id).endLeft, n = t.x, i = t.y;
208
288
  if (r) {
209
289
  let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", r);
210
290
  n = e.x, i = e.y;
@@ -212,17 +292,35 @@ var z = /* @__PURE__ */ t((t, n) => {
212
292
  e.attr("transform", `translate(${n}, ${i})`);
213
293
  }
214
294
  if (t.endLabelRight) {
215
- let e = P.get(t.id).endRight, n = t.x, i = t.y;
295
+ let e = F.get(t.id).endRight, n = t.x, i = t.y;
216
296
  if (r) {
217
297
  let e = m.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", r);
218
298
  n = e.x, i = e.y;
219
299
  }
220
300
  e.attr("transform", `translate(${n}, ${i})`);
221
301
  }
222
- }, "positionEdgeLabel"), B = /* @__PURE__ */ t((e, t) => {
302
+ }, "positionEdgeLabel"), ae = /* @__PURE__ */ a((e, t) => {
303
+ if (!e?.isLabelEdge || !e?.id?.endsWith("-to-label") || !Array.isArray(t) || t.length !== 2) return t;
304
+ let [n, r] = t, i = Math.abs(r.x - n.x), a = Math.abs(r.y - n.y);
305
+ return i < .001 || a < .001 ? t : a >= i ? [
306
+ n,
307
+ {
308
+ x: n.x,
309
+ y: r.y
310
+ },
311
+ r
312
+ ] : [
313
+ n,
314
+ {
315
+ x: r.x,
316
+ y: n.y
317
+ },
318
+ r
319
+ ];
320
+ }, "orthogonalizeToLabelClippedPoints"), H = /* @__PURE__ */ a((e, t) => {
223
321
  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;
224
322
  return i >= o || a >= s;
225
- }, "outsideNode"), V = /* @__PURE__ */ t((t, n, r) => {
323
+ }, "outsideNode"), U = /* @__PURE__ */ a((t, n, r) => {
226
324
  e.debug(`intersection calc abc89:
227
325
  outsidePoint: ${JSON.stringify(n)}
228
326
  insidePoint : ${JSON.stringify(r)}
@@ -247,12 +345,12 @@ var z = /* @__PURE__ */ t((t, n) => {
247
345
  y: o
248
346
  };
249
347
  }
250
- }, "intersection"), H = /* @__PURE__ */ t((t, n) => {
348
+ }, "intersection"), W = /* @__PURE__ */ a((t, n) => {
251
349
  e.warn("abc88 cutPathAtIntersect", t, n);
252
350
  let r = [], i = t[0], a = !1;
253
351
  return t.forEach((t) => {
254
- if (e.info("abc88 checking point", t, n), !B(n, t) && !a) {
255
- let o = V(n, i, t);
352
+ if (e.info("abc88 checking point", t, n), !H(n, t) && !a) {
353
+ let o = U(n, i, t);
256
354
  e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
257
355
  let s = !1;
258
356
  r.forEach((e) => {
@@ -261,7 +359,7 @@ var z = /* @__PURE__ */ t((t, n) => {
261
359
  } else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
262
360
  }), e.debug("returning points", r), r;
263
361
  }, "cutPathAtIntersect");
264
- function U(e) {
362
+ function G(e) {
265
363
  let t = [], n = [];
266
364
  for (let r = 1; r < e.length - 1; r++) {
267
365
  let i = e[r - 1], a = e[r], o = e[r + 1];
@@ -272,17 +370,17 @@ function U(e) {
272
370
  cornerPointPositions: n
273
371
  };
274
372
  }
275
- t(U, "extractCornerPoints");
276
- var W = /* @__PURE__ */ t(function(e, t, n) {
373
+ a(G, "extractCornerPoints");
374
+ var K = /* @__PURE__ */ a(function(e, t, n) {
277
375
  let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
278
376
  return {
279
377
  x: t.x - a * r,
280
378
  y: t.y - a * i
281
379
  };
282
- }, "findAdjacentPoint"), re = /* @__PURE__ */ t(function(t) {
283
- let { cornerPointPositions: n } = U(t), r = [];
380
+ }, "findAdjacentPoint"), oe = /* @__PURE__ */ a(function(t) {
381
+ let { cornerPointPositions: n } = G(t), r = [];
284
382
  for (let i = 0; i < t.length; i++) if (n.includes(i)) {
285
- let n = t[i - 1], a = t[i + 1], o = t[i], s = W(n, o, 5), c = W(a, o, 5), l = c.x - s.x, u = c.y - s.y;
383
+ 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;
286
384
  r.push(s);
287
385
  let d = Math.sqrt(2) * 2, f = {
288
386
  x: o.x,
@@ -297,123 +395,134 @@ var W = /* @__PURE__ */ t(function(e, t, n) {
297
395
  }) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
298
396
  } else r.push(t[i]);
299
397
  return r;
300
- }, "fixCorners"), ie = /* @__PURE__ */ t((e, t, n) => {
398
+ }, "fixCorners"), se = /* @__PURE__ */ a((e, t, n) => {
301
399
  let r = e - t - n, i = Math.floor(r / 4);
302
- return `0 ${t} ${Array(i).fill("2 2").join(" ")} ${n}`;
303
- }, "generateDashArray"), G = /* @__PURE__ */ t(function(t, r, i, C, w, T, E, D = !1) {
304
- if (!E) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
305
- let { handDrawnSeed: O } = a(), A = r.points, j = !1, M = w;
306
- var N = T;
307
- let P = [];
308
- for (let e in r.cssCompiledStyles) ee(e) || P.push(r.cssCompiledStyles[e]);
309
- e.debug("UIO intersect check", r.points, N.x, M.x), N.intersect && M.intersect && !D && (A = A.slice(1, r.points.length - 1), A.unshift(M.intersect(A[0])), e.debug("Last point UIO", r.start, "-->", r.end, A[A.length - 1], N, N.intersect(A[A.length - 1])), A.push(N.intersect(A[A.length - 1])));
310
- let F = btoa(JSON.stringify(A));
311
- r.toCluster && (e.info("to cluster abc88", i.get(r.toCluster)), A = H(r.points, i.get(r.toCluster).node), j = !0), r.fromCluster && (e.debug("from cluster abc88", i.get(r.fromCluster), JSON.stringify(A, null, 2)), A = H(A.reverse(), i.get(r.fromCluster).node).reverse(), j = !0);
312
- let I = A.filter((e) => !Number.isNaN(e.y)), L = ne(r.curve);
313
- L !== "rounded" && (I = re(I));
314
- let R = _;
315
- switch (L) {
400
+ return `0 ${t} ${Array(Number.isFinite(i) ? Math.max(0, i) : 0).fill("2 2").join(" ")} ${n}`;
401
+ }, "generateDashArray"), q = /* @__PURE__ */ a(function(n, r, a, b, S, C, w, T = !1) {
402
+ if (!w) throw Error(`insertEdge: missing diagramId for edge "${r.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
403
+ let { handDrawnSeed: E, layout: D } = i(), k = r.points, A = !1, j = S;
404
+ var M = C;
405
+ let N = [];
406
+ for (let e in r.cssCompiledStyles) x(e) || N.push(r.cssCompiledStyles[e]);
407
+ if (D === "swimlane") {
408
+ if (M.intersect && j.intersect && Array.isArray(k) && k.length >= 2) if (k.length === 2) k = [j.intersect(k[0]), M.intersect(k[1])];
409
+ else {
410
+ 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];
411
+ k = [
412
+ ...c,
413
+ ...e,
414
+ ...l
415
+ ];
416
+ }
417
+ k = ae(r, k);
418
+ } 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])));
419
+ let P = btoa(JSON.stringify(k));
420
+ 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);
421
+ let F = k.filter((e) => !Number.isNaN(e.y)), I = ie(r.curve);
422
+ I !== "rounded" && (F = oe(F));
423
+ let L = _;
424
+ switch (I) {
316
425
  case "linear":
317
- R = _;
426
+ L = _;
318
427
  break;
319
428
  case "basis":
320
- R = p;
429
+ L = p;
321
430
  break;
322
431
  case "cardinal":
323
- R = o;
432
+ L = o;
324
433
  break;
325
434
  case "bumpX":
326
- R = v;
435
+ L = v;
327
436
  break;
328
437
  case "bumpY":
329
- R = h;
438
+ L = h;
330
439
  break;
331
440
  case "catmullRom":
332
- R = l;
441
+ L = l;
333
442
  break;
334
443
  case "monotoneX":
335
- R = u;
444
+ L = u;
336
445
  break;
337
446
  case "monotoneY":
338
- R = f;
447
+ L = f;
339
448
  break;
340
449
  case "natural":
341
- R = d;
450
+ L = d;
342
451
  break;
343
452
  case "step":
344
- R = s;
453
+ L = s;
345
454
  break;
346
455
  case "stepAfter":
347
- R = c;
456
+ L = c;
348
457
  break;
349
458
  case "stepBefore":
350
- R = g;
459
+ L = g;
351
460
  break;
352
461
  case "rounded":
353
- R = _;
462
+ L = _;
354
463
  break;
355
- default: R = p;
464
+ default: L = p;
356
465
  }
357
- let { x: z, y: B } = S(r), V = b().x(z).y(B).curve(R), U;
466
+ let { x: R, y: z } = ne(r), B = y().x(R).y(z).curve(L), V;
358
467
  switch (r.thickness) {
359
468
  case "normal":
360
- U = "edge-thickness-normal";
469
+ V = "edge-thickness-normal";
361
470
  break;
362
471
  case "thick":
363
- U = "edge-thickness-thick";
472
+ V = "edge-thickness-thick";
364
473
  break;
365
474
  case "invisible":
366
- U = "edge-thickness-invisible";
475
+ V = "edge-thickness-invisible";
367
476
  break;
368
- default: U = "edge-thickness-normal";
477
+ default: V = "edge-thickness-normal";
369
478
  }
370
479
  switch (r.pattern) {
371
480
  case "solid":
372
- U += " edge-pattern-solid";
481
+ V += " edge-pattern-solid";
373
482
  break;
374
483
  case "dotted":
375
- U += " edge-pattern-dotted";
484
+ V += " edge-pattern-dotted";
376
485
  break;
377
486
  case "dashed":
378
- U += " edge-pattern-dashed";
487
+ V += " edge-pattern-dashed";
379
488
  break;
380
- default: U += " edge-pattern-solid";
489
+ default: V += " edge-pattern-solid";
381
490
  }
382
- let W, G = L === "rounded" ? K(J(I, r), 5) : V(I), q = Array.isArray(r.style) ? r.style : [r.style], Y = q.find((e) => e?.startsWith("stroke:")), X = "";
383
- r.animate && (X = "edge-animation-fast"), r.animation && (X = "edge-animation-" + r.animation);
384
- let Z = !1;
491
+ 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 = "";
492
+ r.animate && (q = "edge-animation-fast"), r.animation && (q = "edge-animation-" + r.animation);
493
+ let Y = !1;
385
494
  if (r.look === "handDrawn") {
386
- let e = te.svg(t);
387
- Object.assign([], I);
388
- let i = e.path(G, {
495
+ let e = te.svg(n);
496
+ Object.assign([], F);
497
+ let i = e.path(U, {
389
498
  roughness: .3,
390
- seed: O
499
+ seed: E
391
500
  });
392
- U += " transition", W = n(i).select("path").attr("id", `${E}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", q ? q.reduce((e, t) => e + ";" + t, "") : "");
393
- let a = W.attr("d");
394
- W.attr("d", a), t.node().appendChild(W.node());
501
+ 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, "") : "");
502
+ let a = H.attr("d");
503
+ H.attr("d", a), n.node().appendChild(H.node());
395
504
  } else {
396
- let e = P.join(";"), n = q ? q.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + n + ";" : n) + ";" + (q ? q.reduce((e, t) => e + ";" + t, "") : "");
397
- W = t.append("path").attr("d", G).attr("id", `${E}-${r.id}`).attr("class", " " + U + (r.classes ? " " + r.classes : "") + (X ? " " + X : "")).attr("style", i), Y = i.match(/stroke:([^;]+)/)?.[1], Z = r.animate === !0 || !!r.animation || e.includes("animation");
398
- let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = x[r.arrowTypeStart] || 0, c = x[r.arrowTypeEnd] || 0;
399
- if (r.look === "neo" && !Z) {
400
- let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? ie(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
401
- W.attr("style", e + W.attr("style"));
505
+ let e = N.join(";"), t = G ? G.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + t + ";" : t) + ";" + (G ? G.reduce((e, t) => e + ";" + t, "") : "");
506
+ 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");
507
+ let a = H.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = O[r.arrowTypeStart] || 0, c = O[r.arrowTypeEnd] || 0;
508
+ if (r.look === "neo" && !Y) {
509
+ let e = `stroke-dasharray: ${r.pattern === "dotted" || r.pattern === "dashed" ? se(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
510
+ H.attr("style", e + H.attr("style"));
402
511
  }
403
512
  }
404
- W.attr("data-edge", !0), W.attr("data-et", "edge"), W.attr("data-id", r.id), W.attr("data-points", F), W.attr("data-look", y(r.look)), r.showPoints && I.forEach((e) => {
405
- t.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
513
+ 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) => {
514
+ n.append("circle").style("stroke", "red").style("fill", "red").attr("r", 1).attr("cx", e.x).attr("cy", e.y);
406
515
  });
407
- let Q = "";
408
- (a().flowchart.arrowMarkerAbsolute || a().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), e.info("arrowTypeStart", r.arrowTypeStart), e.info("arrowTypeEnd", r.arrowTypeEnd);
409
- let ae = !Z && r?.look === "neo";
410
- k(W, r, Q, E, C, ae, Y);
411
- let oe = Math.floor(A.length / 2), se = A[oe];
412
- m.isLabelCoordinateInPath(se, W.attr("d")) || (j = !0);
516
+ let Z = "";
517
+ (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);
518
+ let Q = !Y && r?.look === "neo";
519
+ re(H, r, Z, w, b, Q, K);
520
+ let ce = Math.floor(k.length / 2), le = k[ce];
521
+ m.isLabelCoordinateInPath(le, H.attr("d")) || (A = !0);
413
522
  let $ = {};
414
- return j && ($.updatedPath = A), $.originalPath = r.points, $;
523
+ return A && ($.updatedPath = k), $.originalPath = r.points, $;
415
524
  }, "insertEdge");
416
- function K(e, t) {
525
+ function J(e, t) {
417
526
  if (e.length < 2) return "";
418
527
  let n = "", r = e.length, i = 1e-5;
419
528
  for (let a = 0; a < r; a++) {
@@ -431,14 +540,14 @@ function K(e, t) {
431
540
  n += `L${o.x},${o.y}`;
432
541
  continue;
433
542
  }
434
- 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;
435
- n += `L${y},${b}`, n += `Q${o.x},${o.y} ${x},${S}`;
543
+ 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;
544
+ n += `L${ee},${y}`, n += `Q${o.x},${o.y} ${b},${x}`;
436
545
  }
437
546
  }
438
547
  return n;
439
548
  }
440
- t(K, "generateRoundedPath");
441
- function q(e, t) {
549
+ a(J, "generateRoundedPath");
550
+ function Y(e, t) {
442
551
  if (!e || !t) return {
443
552
  angle: 0,
444
553
  deltaX: 0,
@@ -451,110 +560,110 @@ function q(e, t) {
451
560
  deltaY: r
452
561
  };
453
562
  }
454
- t(q, "calculateDeltaAndAngle");
455
- function J(e, t) {
563
+ a(Y, "calculateDeltaAndAngle");
564
+ function X(e, t) {
456
565
  let n = e.map((e) => ({ ...e }));
457
- if (e.length >= 2 && C[t.arrowTypeStart]) {
458
- let r = C[t.arrowTypeStart], i = e[0], a = e[1], { angle: o } = q(i, a), s = r * Math.cos(o), c = r * Math.sin(o);
566
+ if (e.length >= 2 && D[t.arrowTypeStart]) {
567
+ 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);
459
568
  n[0].x = i.x + s, n[0].y = i.y + c;
460
569
  }
461
570
  let r = e.length;
462
- if (r >= 2 && C[t.arrowTypeEnd]) {
463
- let i = C[t.arrowTypeEnd], a = e[r - 1], o = e[r - 2], { angle: s } = q(o, a), c = i * Math.cos(s), l = i * Math.sin(s);
571
+ if (r >= 2 && D[t.arrowTypeEnd]) {
572
+ 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);
464
573
  n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
465
574
  }
466
575
  return n;
467
576
  }
468
- t(J, "applyMarkerOffsetsToPoints");
469
- var Y = /* @__PURE__ */ t((e, t, n, r) => {
577
+ a(X, "applyMarkerOffsetsToPoints");
578
+ var Z = /* @__PURE__ */ a((e, t, n, r) => {
470
579
  t.forEach((t) => {
471
- X[t](e, n, r);
580
+ Q[t](e, n, r);
472
581
  });
473
- }, "insertMarkers"), X = {
474
- extension: /* @__PURE__ */ t((t, n, r) => {
475
- 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").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");
582
+ }, "insertMarkers"), Q = {
583
+ extension: /* @__PURE__ */ a((t, n, r) => {
584
+ 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");
476
585
  }, "extension"),
477
- composition: /* @__PURE__ */ t((e, t, n) => {
478
- 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").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").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");
586
+ composition: /* @__PURE__ */ a((e, t, n) => {
587
+ 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");
479
588
  }, "composition"),
480
- aggregation: /* @__PURE__ */ t((e, t, n) => {
481
- 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").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").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");
589
+ aggregation: /* @__PURE__ */ a((e, t, n) => {
590
+ 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");
482
591
  }, "aggregation"),
483
- dependency: /* @__PURE__ */ t((e, t, n) => {
484
- 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").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").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");
592
+ dependency: /* @__PURE__ */ a((e, t, n) => {
593
+ 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");
485
594
  }, "dependency"),
486
- lollipop: /* @__PURE__ */ t((e, t, n) => {
487
- 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").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").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);
595
+ lollipop: /* @__PURE__ */ a((e, t, n) => {
596
+ 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);
488
597
  }, "lollipop"),
489
- point: /* @__PURE__ */ t((e, t, n) => {
598
+ point: /* @__PURE__ */ a((e, t, n) => {
490
599
  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");
491
600
  }, "point"),
492
- circle: /* @__PURE__ */ t((e, t, n) => {
601
+ circle: /* @__PURE__ */ a((e, t, n) => {
493
602
  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");
494
603
  }, "circle"),
495
- cross: /* @__PURE__ */ t((e, t, n) => {
604
+ cross: /* @__PURE__ */ a((e, t, n) => {
496
605
  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");
497
606
  }, "cross"),
498
- barb: /* @__PURE__ */ t((e, t, n) => {
607
+ barb: /* @__PURE__ */ a((e, t, n) => {
499
608
  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");
500
609
  }, "barb"),
501
- barbNeo: /* @__PURE__ */ t((e, t, n) => {
502
- let { themeVariables: r } = i(), { transitionColor: a } = r;
610
+ barbNeo: /* @__PURE__ */ a((e, t, n) => {
611
+ let { themeVariables: i } = r(), { transitionColor: a } = i;
503
612
  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}`);
504
613
  }, "barbNeo"),
505
- only_one: /* @__PURE__ */ t((e, t, n) => {
614
+ only_one: /* @__PURE__ */ a((e, t, n) => {
506
615
  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");
507
616
  }, "only_one"),
508
- zero_or_one: /* @__PURE__ */ t((e, t, n) => {
617
+ zero_or_one: /* @__PURE__ */ a((e, t, n) => {
509
618
  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");
510
619
  r.append("circle").attr("fill", "white").attr("cx", 21).attr("cy", 9).attr("r", 6), r.append("path").attr("d", "M9,0 L9,18");
511
620
  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");
512
621
  i.append("circle").attr("fill", "white").attr("cx", 9).attr("cy", 9).attr("r", 6), i.append("path").attr("d", "M21,0 L21,18");
513
622
  }, "zero_or_one"),
514
- one_or_more: /* @__PURE__ */ t((e, t, n) => {
623
+ one_or_more: /* @__PURE__ */ a((e, t, n) => {
515
624
  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");
516
625
  }, "one_or_more"),
517
- zero_or_more: /* @__PURE__ */ t((e, t, n) => {
626
+ zero_or_more: /* @__PURE__ */ a((e, t, n) => {
518
627
  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");
519
628
  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");
520
629
  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");
521
630
  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");
522
631
  }, "zero_or_more"),
523
- only_one_neo: /* @__PURE__ */ t((e, t, n) => {
524
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
632
+ only_one_neo: /* @__PURE__ */ a((e, t, n) => {
633
+ let { themeVariables: i } = r(), { strokeWidth: a } = i;
525
634
  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}`);
526
635
  }, "only_one_neo"),
527
- zero_or_one_neo: /* @__PURE__ */ t((e, t, n) => {
528
- let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, 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");
636
+ zero_or_one_neo: /* @__PURE__ */ a((e, t, n) => {
637
+ 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");
529
638
  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}`);
530
639
  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");
531
640
  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}`);
532
641
  }, "zero_or_one_neo"),
533
- one_or_more_neo: /* @__PURE__ */ t((e, t, n) => {
534
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
642
+ one_or_more_neo: /* @__PURE__ */ a((e, t, n) => {
643
+ let { themeVariables: i } = r(), { strokeWidth: a } = i;
535
644
  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}`);
536
645
  }, "one_or_more_neo"),
537
- zero_or_more_neo: /* @__PURE__ */ t((e, t, n) => {
538
- let { themeVariables: r } = i(), { strokeWidth: a, mainBkg: o } = r, 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");
646
+ zero_or_more_neo: /* @__PURE__ */ a((e, t, n) => {
647
+ 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");
539
648
  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}`);
540
649
  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");
541
650
  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}`);
542
651
  }, "zero_or_more_neo"),
543
- requirement_arrow: /* @__PURE__ */ t((e, t, n) => {
652
+ requirement_arrow: /* @__PURE__ */ a((e, t, n) => {
544
653
  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");
545
654
  }, "requirement_arrow"),
546
- requirement_contains: /* @__PURE__ */ t((e, t, n) => {
655
+ requirement_contains: /* @__PURE__ */ a((e, t, n) => {
547
656
  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");
548
657
  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);
549
658
  }, "requirement_contains"),
550
- requirement_arrow_neo: /* @__PURE__ */ t((e, t, n) => {
551
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
659
+ requirement_arrow_neo: /* @__PURE__ */ a((e, t, n) => {
660
+ let { themeVariables: i } = r(), { strokeWidth: a } = i;
552
661
  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");
553
662
  }, "requirement_arrow_neo"),
554
- requirement_contains_neo: /* @__PURE__ */ t((e, t, n) => {
555
- let { themeVariables: r } = i(), { strokeWidth: a } = r, 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");
663
+ requirement_contains_neo: /* @__PURE__ */ a((e, t, n) => {
664
+ 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");
556
665
  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}`);
557
666
  }, "requirement_contains_neo")
558
- }, Z = Y;
667
+ }, ce = Z;
559
668
  //#endregion
560
- export { z as a, Z as i, G as n, L as r, F as t };
669
+ 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 };