@sme.up/ketchup2 2.7.0 → 2.8.1

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 (288) hide show
  1. package/dist/abnfDiagram-VCTEODGH-DwAVRNNu.js +89 -0
  2. package/dist/{arc-CVbkjF8U.js → arc-DXfwi1YX.js} +8 -6
  3. package/dist/architecture-7GRP2DOG-BsytjMto.js +3 -0
  4. package/dist/{architectureDiagram-3BPJPVTR-B6VZAtZU.js → architectureDiagram-5GKGNRK7-N1aPr2hw.js} +636 -540
  5. package/dist/assets/svg/functions.svg +1 -0
  6. package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
  7. package/dist/basic-components/button-list/button-list-types.d.ts +2 -1
  8. package/dist/basic-components/button-list/button-list-types.d.ts.map +1 -1
  9. package/dist/basic-components/button-list/button-list.d.ts.map +1 -1
  10. package/dist/basic-components/cell/cell-types.d.ts +5 -0
  11. package/dist/basic-components/cell/cell-types.d.ts.map +1 -1
  12. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  13. package/dist/basic-components/checkbox/checkbox-types.d.ts +5 -0
  14. package/dist/basic-components/checkbox/checkbox-types.d.ts.map +1 -1
  15. package/dist/basic-components/chips/chips-types.d.ts +15 -1
  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/chips-input/chips-input-types.d.ts +5 -0
  19. package/dist/basic-components/chips-input/chips-input-types.d.ts.map +1 -1
  20. package/dist/basic-components/chips-input/chips-input.d.ts.map +1 -1
  21. package/dist/basic-components/file-upload/file-upload-hook.d.ts.map +1 -1
  22. package/dist/basic-components/list/list.d.ts.map +1 -1
  23. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.d.ts +5 -0
  24. package/dist/basic-components/multiple-autocomplete/multiple-autocomplete-types.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-types.d.ts +5 -0
  27. package/dist/basic-components/multiple-select/multiple-select-types.d.ts.map +1 -1
  28. package/dist/basic-components/multiple-select/multiple-select.d.ts.map +1 -1
  29. package/dist/basic-components/select/select.d.ts.map +1 -1
  30. package/dist/blockDiagram-I7D4REHJ-Cu18ws5-.js +1922 -0
  31. package/dist/{c4Diagram-AAUBKEIU-CdT8VCbo.js → c4Diagram-7LVT6UL2-B-uBy_NE.js} +899 -850
  32. package/dist/{channel-C-LAmObA.js → channel-CuEby436.js} +1 -1
  33. package/dist/chunk-2E4U76K2-ComA5SPA.js +348 -0
  34. package/dist/{chunk-QZHKN3VN-lYfzaOt9.js → chunk-2Q5K7J3B-kzxEEeTu.js} +2 -2
  35. package/dist/{chunk-3OPIFGDE-Bs2mXISw.js → chunk-4HAMMTFA-CZgIgrp_.js} +1667 -1145
  36. package/dist/{chunk-FMBD7UC4-BURT0llY.js → chunk-5VM5RSS4-Cr17nBXp.js} +2 -2
  37. package/dist/{chunk-5ZQYHXKU-B_nOC8-n.js → chunk-75Z2AOVW-Drsj7a97.js} +106 -136
  38. package/dist/chunk-CLGD4ZFX-CLGio9rD.js +14 -0
  39. package/dist/{chunk-CSCIHK7Q-BEk3YcEH.js → chunk-DU6HZSFF-waeanndy.js} +1005 -768
  40. package/dist/{chunk-ND2GUHAM-Ca12h-m9.js → chunk-F27PBJKO-jIrOJO87.js} +18 -17
  41. package/dist/{chunk-NNHCCRGN-BB1q5NkR.js → chunk-FOHPRMQF-LRqOLsSw.js} +5518 -4708
  42. package/dist/{chunk-O5CBEL6O-DbWeP4Au.js → chunk-GMAD6QVW-D80II4AD.js} +486 -520
  43. package/dist/chunk-GVQU2GXP-DP3t_9Rl.js +37 -0
  44. package/dist/{chunk-AQP2D5EJ-vJ_pitKp.js → chunk-IMKFNOWR-8ItzAAcf.js} +336 -318
  45. package/dist/{chunk-4BX2VUAB-zglw1T4d.js → chunk-JWPE2WC7-Ccb0QaC8.js} +2 -2
  46. package/dist/chunk-L3NEJ4N5-qPot4t6M.js +245 -0
  47. package/dist/chunk-LNGE3PJU-CtYcu9x8.js +1521 -0
  48. package/dist/{chunk-KSCS5N6A-BemQomLE.js → chunk-OSK3NFVY-CQhPF3Mc.js} +310 -198
  49. package/dist/chunk-P2QGCYS3-BUeNZ170.js +67 -0
  50. package/dist/chunk-POPQ4Y6H-CU9oz17Z.js +26 -0
  51. package/dist/chunk-PWAF6VOD-D37VoZ8H.js +275 -0
  52. package/dist/{flowDiagram-I6XJVG4X-DnsxKD0w.js → chunk-SHT3W25Y-Cri27Jke.js} +581 -543
  53. package/dist/chunk-SVP7TREG-CyJlOPau.js +490 -0
  54. package/dist/{chunk-727SXJPM-CDeV7mmg.js → chunk-TICWLB2K-Cw2iT_VD.js} +191 -185
  55. package/dist/{chunk-LZXEDZCA-J9irjuVP.js → chunk-TLUHSLCS-BdsLNXjt.js} +35 -25
  56. package/dist/chunk-XXDRQBXY-C1ZEFXGu.js +9 -0
  57. package/dist/chunk-Y2CYZVJY-i11wjrBe.js +12 -0
  58. package/dist/classDiagram-ZZMXUADV-L32jCfMj.js +30 -0
  59. package/dist/classDiagram-v2-VYDZK3BY-BsnrDCgX.js +30 -0
  60. package/dist/components/activity-timeline/activity-timeline-types.d.ts +46 -0
  61. package/dist/components/activity-timeline/activity-timeline-types.d.ts.map +1 -0
  62. package/dist/components/activity-timeline/activity-timeline.d.ts +4 -0
  63. package/dist/components/activity-timeline/activity-timeline.d.ts.map +1 -0
  64. package/dist/components/app-bar/app-bar.d.ts.map +1 -1
  65. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -1
  66. package/dist/components/chat/chat.d.ts.map +1 -1
  67. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts +12 -0
  68. package/dist/components/data-table/assets/data-table-row-actions-collapsed.d.ts.map +1 -0
  69. package/dist/components/data-table/assets/data-table-row-actions.d.ts +11 -0
  70. package/dist/components/data-table/assets/data-table-row-actions.d.ts.map +1 -0
  71. package/dist/components/data-table/data-table-types.d.ts +52 -1
  72. package/dist/components/data-table/data-table-types.d.ts.map +1 -1
  73. package/dist/components/data-table/data-table.d.ts.map +1 -1
  74. package/dist/components/data-table/header/Header.d.ts.map +1 -1
  75. package/dist/components/data-table/header/header-types.d.ts +7 -1
  76. package/dist/components/data-table/header/header-types.d.ts.map +1 -1
  77. package/dist/components/echarts/echarts-graph.d.ts.map +1 -1
  78. package/dist/components/scaffold/context/scaffold-provider.d.ts.map +1 -1
  79. package/dist/components/tab-bar/tab-bar-assets.d.ts +1 -0
  80. package/dist/components/tab-bar/tab-bar-assets.d.ts.map +1 -1
  81. package/dist/components/tab-bar/tab-bar.d.ts.map +1 -1
  82. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  83. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts +14 -0
  84. package/dist/components/workflow-designer/workflow-designer-metadata-panel.d.ts.map +1 -0
  85. package/dist/components/workflow-designer/workflow-designer-types.d.ts +40 -7
  86. package/dist/components/workflow-designer/workflow-designer-types.d.ts.map +1 -1
  87. package/dist/components/workflow-designer/workflow-designer-utils.d.ts +80 -1
  88. package/dist/components/workflow-designer/workflow-designer-utils.d.ts.map +1 -1
  89. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts +2 -0
  90. package/dist/components/workflow-designer/workflow-designer-utils.test.d.ts.map +1 -0
  91. package/dist/components/workflow-designer/workflow-designer.d.ts +4 -3
  92. package/dist/components/workflow-designer/workflow-designer.d.ts.map +1 -1
  93. package/dist/{cose-bilkent-S5V4N54A-BhA3VnPW.js → cose-bilkent-JH36ORCC-Qs_Z6zBZ.js} +87 -83
  94. package/dist/cynefin-OW5HDTMX-BJXlKro0.js +3 -0
  95. package/dist/cynefinDiagram-5FMLGOSQ-3Ha1hdlV.js +355 -0
  96. package/dist/{cytoscape.esm-BU21wl3m.js → cytoscape.esm-C5TvPYYm.js} +2749 -2701
  97. package/dist/{dagre-3-RnF0EK.js → dagre-D5csT9sx.js} +144 -146
  98. package/dist/dagre-GXQ25YYZ-Bg7xf6xn.js +425 -0
  99. package/dist/{defaultLocale-DnzPsei5.js → defaultLocale-N-0uLSyg.js} +1 -4
  100. package/dist/diagram-S7CK7UJ4-BuDHTdHA.js +301 -0
  101. package/dist/{diagram-2AECGRRQ-23vM90dy.js → diagram-UQ7AKVKN-uvzJGj43.js} +82 -81
  102. package/dist/{diagram-KO2AKTUF-BEnEQF6b.js → diagram-VSXAHHWV-CrQQCs-B.js} +66 -65
  103. package/dist/{diagram-OG6HWLK6-Cfbv6mIH.js → diagram-VX7I27RA-BNmG1sig.js} +92 -89
  104. package/dist/{diagram-LMA3HP47-OWxAHrmz.js → diagram-Z3DM3KII-B6BrLhP0.js} +21 -20
  105. package/dist/{dist-Btd8EZyy.js → dist-CsrMlyO_.js} +2 -3
  106. package/dist/ebnfDiagram-PWID7BFC-DMx8xAFO.js +100 -0
  107. package/dist/erDiagram-RLTQ6QDP-bkJ9nzVK.js +1966 -0
  108. package/dist/eventmodeling-NTZA5JFV-Cj-VH7yh.js +3 -0
  109. package/dist/flowDiagram-HODETNUW-BIvD7-ts.js +17 -0
  110. package/dist/functional-components/multiple-field/multiple-field-types.d.ts +2 -0
  111. package/dist/functional-components/multiple-field/multiple-field-types.d.ts.map +1 -1
  112. package/dist/functional-components/multiple-field/multiple-field.d.ts.map +1 -1
  113. package/dist/functional-components/row/row-types.d.ts +5 -0
  114. package/dist/functional-components/row/row-types.d.ts.map +1 -1
  115. package/dist/functional-components/row/row.d.ts.map +1 -1
  116. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +3 -1
  117. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  118. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  119. package/dist/functional-components/tree-picker/tree-picker-types.d.ts +42 -0
  120. package/dist/functional-components/tree-picker/tree-picker-types.d.ts.map +1 -0
  121. package/dist/functional-components/tree-picker/tree-picker.d.ts +3 -0
  122. package/dist/functional-components/tree-picker/tree-picker.d.ts.map +1 -0
  123. package/dist/{ganttDiagram-6RSMTGT7-CwbJqdwB.js → ganttDiagram-EL5Y4UJY-CL-ywzz_.js} +703 -710
  124. package/dist/gitGraph-4MIJSDKK-C9JGDovl.js +3 -0
  125. package/dist/{gitGraphDiagram-PVQCEYII-mL2WiT98.js → gitGraphDiagram-WWUBYQGX-aXhNDG6P.js} +156 -151
  126. package/dist/{graphlib-VMWSbyYi.js → graphlib-XW-Jr8pF.js} +5 -5
  127. package/dist/index.d.ts +4 -1
  128. package/dist/index.d.ts.map +1 -1
  129. package/dist/info-A6RAGUB7-CmZJKEaW.js +3 -0
  130. package/dist/infoDiagram-27XIBGKW-Je4heBlk.js +20 -0
  131. package/dist/{init-MwSGRDIl.js → init-CsQUQz36.js} +1 -3
  132. package/dist/{ishikawaDiagram-YF4QCWOH-DGOgWzve.js → ishikawaDiagram-5VMMS53U-DK7HlH95.js} +142 -141
  133. package/dist/{journeyDiagram-JHISSGLW-CHVTMdrq.js → journeyDiagram-3NMN7TZE-CpuYEKcB.js} +192 -191
  134. package/dist/{kanban-definition-UN3LZRKU-upKA3b5x.js → kanban-definition-UXKFOSKX-aK8uKmyY.js} +149 -146
  135. package/dist/{katex-D-2KeLwt.js → katex-CT2p8LXT.js} +1627 -1650
  136. package/dist/ketchup2.css +1 -1
  137. package/dist/ketchup2.es.js +34744 -32755
  138. package/dist/{line-DIhSUgmA.js → line-DTqYMLoX.js} +2 -2
  139. package/dist/{linear-DUAteVwl.js → linear-CXc5xaa6.js} +8 -9
  140. package/dist/locale/en/translation.json.d.ts +16 -0
  141. package/dist/locale/it/translation.json.d.ts +16 -0
  142. package/dist/mermaid-parser.core-BwVmI_Rq.js +638 -0
  143. package/dist/{mindmap-definition-RKZ34NQL-C3YkCJDi.js → mindmap-definition-YA3MSWOX-ZMYcmi9J.js} +170 -170
  144. package/dist/{ordinal-D_ZgubzR.js → ordinal-BubEveRk.js} +1 -1
  145. package/dist/packet-AYTQ26CC-B3tgRshR.js +3 -0
  146. package/dist/{path-DGNPZRdx.js → path-CnWkkRiY.js} +10 -11
  147. package/dist/pegDiagram-XKGWAZYB-DsfILwZN.js +94 -0
  148. package/dist/pie-WAS4IAKB-BRiI8kbI.js +3 -0
  149. package/dist/pieDiagram-E7YTZNPT-DcSLcLdd.js +203 -0
  150. package/dist/{quadrantDiagram-W4KKPZXB-C2oA-eGZ.js → quadrantDiagram-AXDQQJYC-DSx3teop.js} +300 -300
  151. package/dist/radar-RG4KPBEZ-ASOMQXFw.js +3 -0
  152. package/dist/railroad-74A4TZTK-oS840SLr.js +3 -0
  153. package/dist/railroad-abnf-HS5TGJTU-nnQAkZY2.js +3 -0
  154. package/dist/railroad-ebnf-LZEXJU2U-DBQIOba3.js +3 -0
  155. package/dist/railroad-peg-WCYAUIDC-fBPN2TVb.js +3 -0
  156. package/dist/railroadDiagram-O6MQD6OU-jOZRtNDi.js +76 -0
  157. package/dist/{requirementDiagram-4Y6WPE33-BEGryahw.js → requirementDiagram-BXWQKSXE-D14hkkez.js} +176 -173
  158. package/dist/{rough.esm-rcMoXTJj.js → rough.esm-DXYGHN3m.js} +60 -51
  159. package/dist/{sankeyDiagram-5OEKKPKP-VPzKV4zM.js → sankeyDiagram-P5KCCOFB-C0jmknYo.js} +123 -120
  160. package/dist/{sequenceDiagram-3UESZ5HK-Bc30_Cm2.js → sequenceDiagram-WJ2MYXX4-C00egnMz.js} +714 -722
  161. package/dist/sizeCapture-INFHLROL-CHXIsPO_.js +46 -0
  162. package/dist/{src-DjDATEq3.js → src-DQoflmwT.js} +499 -509
  163. package/dist/stateDiagram-D77RDMKH-YfzmviNY.js +220 -0
  164. package/dist/stateDiagram-v2-MP3YSRHH-B6Hzx8T0.js +30 -0
  165. package/dist/swimlanes-42K2YHIH-CJcMmxXf.js +4979 -0
  166. package/dist/swimlanesDiagram-VR7AAH4N-DirvhGBA.js +31 -0
  167. package/dist/{timeline-definition-PNZ67QCA-1z911Ume.js → timeline-definition-24CTP7MA-D2xfYuSV.js} +220 -219
  168. package/dist/treeView-Q6P3EWNA-BmvB2b-_.js +3 -0
  169. package/dist/treemap-WGGIJYW6-Cjjk75wA.js +3 -0
  170. package/dist/types/translation.d.ts +17 -1
  171. package/dist/types/translation.d.ts.map +1 -1
  172. package/dist/utils/data-structures.d.ts +2 -1
  173. package/dist/utils/data-structures.d.ts.map +1 -1
  174. package/dist/{v4-BK7K-jy_.js → v4-DIjJgmR0.js} +1 -1
  175. package/dist/{vennDiagram-CIIHVFJN-BiLcQ0SR.js → vennDiagram-4TSXK5OY-C4XLgus_.js} +332 -310
  176. package/dist/wardley-WFR3VGLG-BamDiE0x.js +3 -0
  177. package/dist/{wardleyDiagram-YWT4CUSO-Bq-BejOl.js → wardleyDiagram-VM6X3IG4-DFoKuS9s.js} +156 -155
  178. package/dist/{xychartDiagram-2RQKCTM6-B13zquXC.js → xychartDiagram-S5SC5T6Z-BzKKgVBe.js} +740 -574
  179. package/package.json +41 -38
  180. package/dist/arc-w3BipdfE.cjs +0 -1
  181. package/dist/architecture-7EHR7CIX-Bzeobe9Y.cjs +0 -1
  182. package/dist/architecture-7EHR7CIX-C8NPmR2w.js +0 -3
  183. package/dist/architectureDiagram-3BPJPVTR-DlnXl9d5.cjs +0 -36
  184. package/dist/array-DZSRzHA_.cjs +0 -1
  185. package/dist/blockDiagram-GPEHLZMM-BohmRoCC.js +0 -3157
  186. package/dist/blockDiagram-GPEHLZMM-rfyR2Ffl.cjs +0 -132
  187. package/dist/c4Diagram-AAUBKEIU-Du1vqJYZ.cjs +0 -10
  188. package/dist/channel-DJpMBAs-.cjs +0 -1
  189. package/dist/chunk-2J33WTMH-BMqA-riF.js +0 -25
  190. package/dist/chunk-2J33WTMH-BQs9SXq8.cjs +0 -1
  191. package/dist/chunk-3OPIFGDE-Bk_ByTBh.cjs +0 -62
  192. package/dist/chunk-4BX2VUAB-C8VW0QW0.cjs +0 -1
  193. package/dist/chunk-55IACEB6-CNxnI3nm.cjs +0 -1
  194. package/dist/chunk-55IACEB6-CmKDx-YO.js +0 -8
  195. package/dist/chunk-5ZQYHXKU-DMrStm4M.cjs +0 -2
  196. package/dist/chunk-727SXJPM-Dj8nsm0O.cjs +0 -206
  197. package/dist/chunk-AQP2D5EJ-CYuEYK6i.cjs +0 -231
  198. package/dist/chunk-BSJP7CBP-CSCICPww.cjs +0 -1
  199. package/dist/chunk-BSJP7CBP-YsQACkyC.js +0 -82
  200. package/dist/chunk-CSCIHK7Q-BAdl6GW-.cjs +0 -124
  201. package/dist/chunk-FMBD7UC4-BIKI8zae.cjs +0 -15
  202. package/dist/chunk-KSCS5N6A-DsN7gJEf.cjs +0 -10
  203. package/dist/chunk-L5ZTLDWV-BQCNoMVG.js +0 -32
  204. package/dist/chunk-L5ZTLDWV-BbLRyKcx.cjs +0 -1
  205. package/dist/chunk-LZXEDZCA-rjLYyX5U.cjs +0 -1
  206. package/dist/chunk-ND2GUHAM-1o9Sjy2_.cjs +0 -1
  207. package/dist/chunk-NNHCCRGN-qV8bfiMQ.cjs +0 -159
  208. package/dist/chunk-NZK2D7GU-CPxdSJTy.js +0 -67
  209. package/dist/chunk-NZK2D7GU-CRneGIrP.cjs +0 -1
  210. package/dist/chunk-O5CBEL6O-Cd4Z5Dy9.cjs +0 -70
  211. package/dist/chunk-QZHKN3VN-ZJ4hLUIw.cjs +0 -1
  212. package/dist/chunk-WU5MYG2G-DuCEb9G-.js +0 -9
  213. package/dist/chunk-WU5MYG2G-ExiaHFbF.cjs +0 -1
  214. package/dist/chunk-XPW4576I-BybfDrup.cjs +0 -32
  215. package/dist/chunk-XPW4576I-D3DQ47oC.js +0 -1146
  216. package/dist/classDiagram-4FO5ZUOK-CRX1QumH.js +0 -29
  217. package/dist/classDiagram-4FO5ZUOK-yTAlLFG2.cjs +0 -1
  218. package/dist/classDiagram-v2-Q7XG4LA2-oM01mYfB.js +0 -29
  219. package/dist/classDiagram-v2-Q7XG4LA2-yTAlLFG2.cjs +0 -1
  220. package/dist/cose-bilkent-S5V4N54A-D7fhWOP4.cjs +0 -1
  221. package/dist/cytoscape.esm-CElDUMAx.cjs +0 -321
  222. package/dist/dagre-B2BBwKNb.cjs +0 -1
  223. package/dist/dagre-BM42HDAG-DfpR5Mml.js +0 -297
  224. package/dist/dagre-BM42HDAG-kORxgFz_.cjs +0 -4
  225. package/dist/defaultLocale-u9yUoUmE.cjs +0 -1
  226. package/dist/diagram-2AECGRRQ-B0IEGKjr.cjs +0 -43
  227. package/dist/diagram-5GNKFQAL-BEY9x4us.js +0 -101
  228. package/dist/diagram-5GNKFQAL-vb6e35PR.cjs +0 -10
  229. package/dist/diagram-KO2AKTUF-9V_zu-2x.cjs +0 -3
  230. package/dist/diagram-LMA3HP47-BN_geiB9.cjs +0 -24
  231. package/dist/diagram-OG6HWLK6-6OnEK9-6.cjs +0 -24
  232. package/dist/dist-D8RD2QWc.cjs +0 -1
  233. package/dist/erDiagram-TEJ5UH35-6OEXIM6m.js +0 -1700
  234. package/dist/erDiagram-TEJ5UH35-CzsOt0l4.cjs +0 -85
  235. package/dist/eventmodeling-FCH6USID-Cued7Lz2.cjs +0 -1
  236. package/dist/eventmodeling-FCH6USID-mCB8hc7X.js +0 -3
  237. package/dist/flowDiagram-I6XJVG4X-DR1CMtZZ.cjs +0 -162
  238. package/dist/ganttDiagram-6RSMTGT7-C5t5_mjf.cjs +0 -292
  239. package/dist/gitGraph-WXDBUCRP-B23gOjfP.js +0 -3
  240. package/dist/gitGraph-WXDBUCRP-Bi-Y5dA7.cjs +0 -1
  241. package/dist/gitGraphDiagram-PVQCEYII-CLdgm7yJ.cjs +0 -106
  242. package/dist/graphlib-CkkG5MuS.cjs +0 -1
  243. package/dist/info-J43DQDTF-DC3N8SoX.js +0 -3
  244. package/dist/info-J43DQDTF-jRjlWVKj.cjs +0 -1
  245. package/dist/infoDiagram-5YYISTIA-BIM8xaiE.js +0 -19
  246. package/dist/infoDiagram-5YYISTIA-CbnHgs-I.cjs +0 -2
  247. package/dist/init-07zIhv_j.cjs +0 -1
  248. package/dist/ishikawaDiagram-YF4QCWOH-DAWMXD1l.cjs +0 -70
  249. package/dist/journeyDiagram-JHISSGLW-DfnmJPLn.cjs +0 -139
  250. package/dist/kanban-definition-UN3LZRKU-CbeoJJE7.cjs +0 -89
  251. package/dist/katex-CkiTumqg.cjs +0 -257
  252. package/dist/ketchup2.cjs.js +0 -485
  253. package/dist/line-CzwncDY3.cjs +0 -1
  254. package/dist/linear-1lpO_WlJ.cjs +0 -1
  255. package/dist/mermaid-parser.core-ADyJ_PY4.cjs +0 -3
  256. package/dist/mermaid-parser.core-D6xVjl2t.js +0 -373
  257. package/dist/mindmap-definition-RKZ34NQL-C8cZ7xN-.cjs +0 -96
  258. package/dist/ordinal-CUPR-p0T.cjs +0 -1
  259. package/dist/packet-YPE3B663-CGZxZ1Z0.cjs +0 -1
  260. package/dist/packet-YPE3B663-D2JW2EUF.js +0 -3
  261. package/dist/path-Kklx0M1v.cjs +0 -1
  262. package/dist/pie-LRSECV5Y-BHyd33ZA.js +0 -3
  263. package/dist/pie-LRSECV5Y-Ca_qbHEv.cjs +0 -1
  264. package/dist/pieDiagram-4H26LBE5-BvhguaHn.js +0 -165
  265. package/dist/pieDiagram-4H26LBE5-DpDrJBQK.cjs +0 -30
  266. package/dist/quadrantDiagram-W4KKPZXB-hWSN7YfD.cjs +0 -7
  267. package/dist/radar-GUYGQ44K-BpJWFTCm.js +0 -3
  268. package/dist/radar-GUYGQ44K-CYqWSxO_.cjs +0 -1
  269. package/dist/requirementDiagram-4Y6WPE33-GmjmsbiY.cjs +0 -84
  270. package/dist/rough.esm-r0QOSzHM.cjs +0 -1
  271. package/dist/sankeyDiagram-5OEKKPKP-DbGAx-Bm.cjs +0 -40
  272. package/dist/sequenceDiagram-3UESZ5HK-D85rpewi.cjs +0 -162
  273. package/dist/src-DEmZ9bFr.cjs +0 -1
  274. package/dist/stateDiagram-AJRCARHV-Bg4Y3HPa.cjs +0 -1
  275. package/dist/stateDiagram-AJRCARHV-wqjltbKb.js +0 -217
  276. package/dist/stateDiagram-v2-BHNVJYJU-Cgrf5tQC.js +0 -27
  277. package/dist/stateDiagram-v2-BHNVJYJU-D_Tzn4WM.cjs +0 -1
  278. package/dist/timeline-definition-PNZ67QCA-Dpu3hfhP.cjs +0 -120
  279. package/dist/treeView-BLDUP644-C9tQMbiq.js +0 -3
  280. package/dist/treeView-BLDUP644-DKh9BcaT.cjs +0 -1
  281. package/dist/treemap-LRROVOQU-2aferAph.cjs +0 -1
  282. package/dist/treemap-LRROVOQU-CBv3oGC3.js +0 -3
  283. package/dist/v4-Dyp-SQ1c.cjs +0 -1
  284. package/dist/vennDiagram-CIIHVFJN-BLBDqWTG.cjs +0 -34
  285. package/dist/wardley-L42UT6IY-CIM0_V5T.js +0 -3
  286. package/dist/wardley-L42UT6IY-DjjjOB8T.cjs +0 -1
  287. package/dist/wardleyDiagram-YWT4CUSO-dzyAWKiV.cjs +0 -78
  288. 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";
9
- 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 = {
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) => {
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, a = i(), { subGraphTitleTotalMargin: o } = T(a);
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), a = t.x, s = t.y;
184
264
  if (r) {
185
265
  let i = m.calcLabelPosition(r);
186
- e.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (o = i.x, s = i.y);
266
+ e.debug("Moving label " + t.label + " from (", a, ",", s, ") to (", i.x, ",", i.y, ") abc88"), n.updatedPath && (a = i.x, s = i.y);
187
267
  }
188
- a.attr("transform", `translate(${o}, ${s + i / 2})`);
268
+ i.attr("transform", `translate(${a}, ${s + o / 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)}
@@ -236,7 +334,8 @@ var z = /* @__PURE__ */ t((t, n) => {
236
334
  y: r.y < n.y ? r.y + u - t : r.y - u + t
237
335
  };
238
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;
239
- } else {
337
+ }
338
+ {
240
339
  c = r.x < n.x ? n.x - s - i : i - s - n.x;
241
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;
242
341
  return e.debug(`sides calc abc89, Q ${u}, q ${t}, R ${d}, r ${c}`, {
@@ -247,12 +346,12 @@ var z = /* @__PURE__ */ t((t, n) => {
247
346
  y: o
248
347
  };
249
348
  }
250
- }, "intersection"), H = /* @__PURE__ */ t((t, n) => {
349
+ }, "intersection"), W = /* @__PURE__ */ a((t, n) => {
251
350
  e.warn("abc88 cutPathAtIntersect", t, n);
252
351
  let r = [], i = t[0], a = !1;
253
352
  return t.forEach((t) => {
254
- if (e.info("abc88 checking point", t, n), !B(n, t) && !a) {
255
- let o = V(n, i, t);
353
+ if (e.info("abc88 checking point", t, n), !H(n, t) && !a) {
354
+ let o = U(n, i, t);
256
355
  e.debug("abc88 inside", t, i, o), e.debug("abc88 intersection", o, n);
257
356
  let s = !1;
258
357
  r.forEach((e) => {
@@ -261,7 +360,7 @@ var z = /* @__PURE__ */ t((t, n) => {
261
360
  } else e.warn("abc88 outside", t, i), i = t, a || r.push(t);
262
361
  }), e.debug("returning points", r), r;
263
362
  }, "cutPathAtIntersect");
264
- function U(e) {
363
+ function G(e) {
265
364
  let t = [], n = [];
266
365
  for (let r = 1; r < e.length - 1; r++) {
267
366
  let i = e[r - 1], a = e[r], o = e[r + 1];
@@ -272,17 +371,17 @@ function U(e) {
272
371
  cornerPointPositions: n
273
372
  };
274
373
  }
275
- t(U, "extractCornerPoints");
276
- var W = /* @__PURE__ */ t(function(e, t, n) {
374
+ a(G, "extractCornerPoints");
375
+ var K = /* @__PURE__ */ a(function(e, t, n) {
277
376
  let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
278
377
  return {
279
378
  x: t.x - a * r,
280
379
  y: t.y - a * i
281
380
  };
282
- }, "findAdjacentPoint"), re = /* @__PURE__ */ t(function(t) {
283
- let { cornerPointPositions: n } = U(t), r = [];
381
+ }, "findAdjacentPoint"), oe = /* @__PURE__ */ a(function(t) {
382
+ let { cornerPointPositions: n } = G(t), r = [];
284
383
  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;
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;
286
385
  r.push(s);
287
386
  let d = Math.sqrt(2) * 2, f = {
288
387
  x: o.x,
@@ -297,123 +396,136 @@ var W = /* @__PURE__ */ t(function(e, t, n) {
297
396
  }) : e.debug("Corner point skipping fixing", Math.abs(a.x - n.x), Math.abs(a.y - n.y)), r.push(f, c);
298
397
  } else r.push(t[i]);
299
398
  return r;
300
- }, "fixCorners"), ie = /* @__PURE__ */ t((e, t, n) => {
399
+ }, "fixCorners"), se = /* @__PURE__ */ a((e, t, n) => {
301
400
  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) {
401
+ 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])];
411
+ 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 = [
414
+ ...c,
415
+ ...e,
416
+ ...l
417
+ ];
418
+ }
419
+ }
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) {
316
428
  case "linear":
317
- R = _;
429
+ L = _;
318
430
  break;
319
431
  case "basis":
320
- R = p;
432
+ L = p;
321
433
  break;
322
434
  case "cardinal":
323
- R = o;
435
+ L = o;
324
436
  break;
325
437
  case "bumpX":
326
- R = v;
438
+ L = v;
327
439
  break;
328
440
  case "bumpY":
329
- R = h;
441
+ L = h;
330
442
  break;
331
443
  case "catmullRom":
332
- R = l;
444
+ L = l;
333
445
  break;
334
446
  case "monotoneX":
335
- R = u;
447
+ L = u;
336
448
  break;
337
449
  case "monotoneY":
338
- R = f;
450
+ L = f;
339
451
  break;
340
452
  case "natural":
341
- R = d;
453
+ L = d;
342
454
  break;
343
455
  case "step":
344
- R = s;
456
+ L = s;
345
457
  break;
346
458
  case "stepAfter":
347
- R = c;
459
+ L = c;
348
460
  break;
349
461
  case "stepBefore":
350
- R = g;
462
+ L = g;
351
463
  break;
352
464
  case "rounded":
353
- R = _;
465
+ L = _;
354
466
  break;
355
- default: R = p;
467
+ default: L = p;
356
468
  }
357
- let { x: z, y: B } = S(r), V = b().x(z).y(B).curve(R), U;
469
+ let { x: R, y: z } = ne(r), B = y().x(R).y(z).curve(L), V;
358
470
  switch (r.thickness) {
359
471
  case "normal":
360
- U = "edge-thickness-normal";
472
+ V = "edge-thickness-normal";
361
473
  break;
362
474
  case "thick":
363
- U = "edge-thickness-thick";
475
+ V = "edge-thickness-thick";
364
476
  break;
365
477
  case "invisible":
366
- U = "edge-thickness-invisible";
478
+ V = "edge-thickness-invisible";
367
479
  break;
368
- default: U = "edge-thickness-normal";
480
+ default: V = "edge-thickness-normal";
369
481
  }
370
482
  switch (r.pattern) {
371
483
  case "solid":
372
- U += " edge-pattern-solid";
484
+ V += " edge-pattern-solid";
373
485
  break;
374
486
  case "dotted":
375
- U += " edge-pattern-dotted";
487
+ V += " edge-pattern-dotted";
376
488
  break;
377
489
  case "dashed":
378
- U += " edge-pattern-dashed";
490
+ V += " edge-pattern-dashed";
379
491
  break;
380
- default: U += " edge-pattern-solid";
492
+ default: V += " edge-pattern-solid";
381
493
  }
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;
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;
385
497
  if (r.look === "handDrawn") {
386
- let e = te.svg(t);
387
- Object.assign([], I);
388
- let i = e.path(G, {
498
+ let e = te.svg(n);
499
+ Object.assign([], F);
500
+ let i = e.path(U, {
389
501
  roughness: .3,
390
- seed: O
502
+ seed: E
391
503
  });
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());
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());
395
507
  } 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"));
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"));
402
514
  }
403
515
  }
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);
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);
406
518
  });
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);
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);
413
525
  let $ = {};
414
- return j && ($.updatedPath = A), $.originalPath = r.points, $;
526
+ return A && ($.updatedPath = k), $.originalPath = r.points, $;
415
527
  }, "insertEdge");
416
- function K(e, t) {
528
+ function J(e, t) {
417
529
  if (e.length < 2) return "";
418
530
  let n = "", r = e.length, i = 1e-5;
419
531
  for (let a = 0; a < r; a++) {
@@ -431,14 +543,14 @@ function K(e, t) {
431
543
  n += `L${o.x},${o.y}`;
432
544
  continue;
433
545
  }
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}`;
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}`;
436
548
  }
437
549
  }
438
550
  return n;
439
551
  }
440
- t(K, "generateRoundedPath");
441
- function q(e, t) {
552
+ a(J, "generateRoundedPath");
553
+ function Y(e, t) {
442
554
  if (!e || !t) return {
443
555
  angle: 0,
444
556
  deltaX: 0,
@@ -451,110 +563,110 @@ function q(e, t) {
451
563
  deltaY: r
452
564
  };
453
565
  }
454
- t(q, "calculateDeltaAndAngle");
455
- function J(e, t) {
566
+ a(Y, "calculateDeltaAndAngle");
567
+ function X(e, t) {
456
568
  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);
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);
459
571
  n[0].x = i.x + s, n[0].y = i.y + c;
460
572
  }
461
573
  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);
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);
464
576
  n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
465
577
  }
466
578
  return n;
467
579
  }
468
- t(J, "applyMarkerOffsetsToPoints");
469
- var Y = /* @__PURE__ */ t((e, t, n, r) => {
580
+ a(X, "applyMarkerOffsetsToPoints");
581
+ var Z = /* @__PURE__ */ a((e, t, n, r) => {
470
582
  t.forEach((t) => {
471
- X[t](e, n, r);
583
+ Q[t](e, n, r);
472
584
  });
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");
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");
476
588
  }, "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");
589
+ composition: /* @__PURE__ */ a((e, t, n) => {
590
+ 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
591
  }, "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");
592
+ aggregation: /* @__PURE__ */ a((e, t, n) => {
593
+ 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
594
  }, "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");
595
+ dependency: /* @__PURE__ */ a((e, t, n) => {
596
+ 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
597
  }, "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);
598
+ lollipop: /* @__PURE__ */ a((e, t, n) => {
599
+ 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
600
  }, "lollipop"),
489
- point: /* @__PURE__ */ t((e, t, n) => {
601
+ point: /* @__PURE__ */ a((e, t, n) => {
490
602
  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
603
  }, "point"),
492
- circle: /* @__PURE__ */ t((e, t, n) => {
604
+ circle: /* @__PURE__ */ a((e, t, n) => {
493
605
  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
606
  }, "circle"),
495
- cross: /* @__PURE__ */ t((e, t, n) => {
607
+ cross: /* @__PURE__ */ a((e, t, n) => {
496
608
  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
609
  }, "cross"),
498
- barb: /* @__PURE__ */ t((e, t, n) => {
610
+ barb: /* @__PURE__ */ a((e, t, n) => {
499
611
  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
612
  }, "barb"),
501
- barbNeo: /* @__PURE__ */ t((e, t, n) => {
502
- let { themeVariables: r } = i(), { transitionColor: a } = r;
613
+ barbNeo: /* @__PURE__ */ a((e, t, n) => {
614
+ let { themeVariables: i } = r(), { transitionColor: a } = i;
503
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}`);
504
616
  }, "barbNeo"),
505
- only_one: /* @__PURE__ */ t((e, t, n) => {
617
+ only_one: /* @__PURE__ */ a((e, t, n) => {
506
618
  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
619
  }, "only_one"),
508
- zero_or_one: /* @__PURE__ */ t((e, t, n) => {
620
+ zero_or_one: /* @__PURE__ */ a((e, t, n) => {
509
621
  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
622
  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
623
  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
624
  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
625
  }, "zero_or_one"),
514
- one_or_more: /* @__PURE__ */ t((e, t, n) => {
626
+ one_or_more: /* @__PURE__ */ a((e, t, n) => {
515
627
  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
628
  }, "one_or_more"),
517
- zero_or_more: /* @__PURE__ */ t((e, t, n) => {
629
+ zero_or_more: /* @__PURE__ */ a((e, t, n) => {
518
630
  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
631
  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
632
  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
633
  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
634
  }, "zero_or_more"),
523
- only_one_neo: /* @__PURE__ */ t((e, t, n) => {
524
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
635
+ only_one_neo: /* @__PURE__ */ a((e, t, n) => {
636
+ let { themeVariables: i } = r(), { strokeWidth: a } = i;
525
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}`);
526
638
  }, "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");
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");
529
641
  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
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");
531
643
  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
644
  }, "zero_or_one_neo"),
533
- one_or_more_neo: /* @__PURE__ */ t((e, t, n) => {
534
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
645
+ one_or_more_neo: /* @__PURE__ */ a((e, t, n) => {
646
+ let { themeVariables: i } = r(), { strokeWidth: a } = i;
535
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}`);
536
648
  }, "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");
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");
539
651
  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
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");
541
653
  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
654
  }, "zero_or_more_neo"),
543
- requirement_arrow: /* @__PURE__ */ t((e, t, n) => {
655
+ requirement_arrow: /* @__PURE__ */ a((e, t, n) => {
544
656
  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
657
  }, "requirement_arrow"),
546
- requirement_contains: /* @__PURE__ */ t((e, t, n) => {
658
+ requirement_contains: /* @__PURE__ */ a((e, t, n) => {
547
659
  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
660
  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
661
  }, "requirement_contains"),
550
- requirement_arrow_neo: /* @__PURE__ */ t((e, t, n) => {
551
- let { themeVariables: r } = i(), { strokeWidth: a } = r;
662
+ requirement_arrow_neo: /* @__PURE__ */ a((e, t, n) => {
663
+ let { themeVariables: i } = r(), { strokeWidth: a } = i;
552
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");
553
665
  }, "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");
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");
556
668
  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
669
  }, "requirement_contains_neo")
558
- }, Z = Y;
670
+ }, ce = Z;
559
671
  //#endregion
560
- export { z as a, Z as i, G as n, L as r, F as t };
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 };