@sme.up/ketchup2 2.2.0 → 2.3.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 (339) hide show
  1. package/dist/{arc-Klgb378K.js → arc-D80gVCcI.js} +2 -2
  2. package/dist/{arc-CqG9Hxdf.cjs → arc-MUYNnJxV.cjs} +1 -1
  3. package/dist/architecture-7EHR7CIX-Bnyu5zgG.js +3 -0
  4. package/dist/architecture-7EHR7CIX-CKF7-4kH.cjs +1 -0
  5. package/dist/architectureDiagram-3BPJPVTR-BrmPrClJ.cjs +36 -0
  6. package/dist/{architectureDiagram-Q4EWVU46-CnzjcVBn.js → architectureDiagram-3BPJPVTR-EFK4DMha.js} +167 -166
  7. package/dist/basic-components/cell/cell-utils.d.ts +2 -1
  8. package/dist/basic-components/cell/cell-utils.d.ts.map +1 -1
  9. package/dist/basic-components/cell/cell.d.ts.map +1 -1
  10. package/dist/basic-components/icon/icon.d.ts.map +1 -1
  11. package/dist/basic-components/input-number/input-number.d.ts.map +1 -1
  12. package/dist/basic-components/text-editor/text-editor-utils.d.ts +11 -0
  13. package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
  14. package/dist/basic-components/text-editor/text-editor.d.ts.map +1 -1
  15. package/dist/basic-components/textarea/textarea-types.d.ts +2 -2
  16. package/dist/basic-components/textarea/textarea-types.d.ts.map +1 -1
  17. package/dist/basic-components/textarea/textarea.d.ts.map +1 -1
  18. package/dist/basic-components/textfield/textfield.d.ts.map +1 -1
  19. package/dist/{blockDiagram-DXYQGD6D-B0NvV2Ph.js → blockDiagram-GPEHLZMM-C3UgY0Z5.js} +999 -877
  20. package/dist/blockDiagram-GPEHLZMM-CuzoKhJT.cjs +132 -0
  21. package/dist/{c4Diagram-AHTNJAMY-Dgwv-e5O.cjs → c4Diagram-AAUBKEIU-DU8uXbgK.cjs} +6 -6
  22. package/dist/{c4Diagram-AHTNJAMY-DPijI3_r.js → c4Diagram-AAUBKEIU-klnmEOUo.js} +279 -279
  23. package/dist/channel-BbRDdbmM.js +5 -0
  24. package/dist/channel-intTktDQ.cjs +1 -0
  25. package/dist/chunk-2J33WTMH-EmvF7iYC.js +25 -0
  26. package/dist/chunk-2J33WTMH-PlcpVW8G.cjs +1 -0
  27. package/dist/{chunk-5FUZZQ4R-D3C0F0Tr.js → chunk-3OPIFGDE-C7wE5oN7.js} +957 -929
  28. package/dist/chunk-3OPIFGDE-CT5oNC5X.cjs +62 -0
  29. package/dist/{chunk-4BX2VUAB-BW54-JWg.js → chunk-4BX2VUAB-BO1KRGb1.js} +1 -1
  30. package/dist/{chunk-4BX2VUAB-Qba52sxc.cjs → chunk-4BX2VUAB-CtDGlaPx.cjs} +1 -1
  31. package/dist/{chunk-7N4EOEYR-C-GuhRgW.js → chunk-4EGX6M5U-BMVrizoY.js} +12 -12
  32. package/dist/{chunk-7N4EOEYR-jNBQwvHx.cjs → chunk-4EGX6M5U-VENLmgBt.cjs} +1 -1
  33. package/dist/{chunk-55IACEB6-DPatBzu7.cjs → chunk-55IACEB6-VJP3Osm7.cjs} +1 -1
  34. package/dist/{chunk-55IACEB6-Bu3k0Yz5.js → chunk-55IACEB6-b_Ivgrk-.js} +1 -1
  35. package/dist/chunk-5DO6E6H7-Cx6Mfbjl.cjs +1 -0
  36. package/dist/chunk-5DO6E6H7-QuTLwcim.js +23 -0
  37. package/dist/chunk-5ZQYHXKU-BMnKD7Zq.cjs +2 -0
  38. package/dist/{chunk-5PVQY5BW-Dn8n6moB.js → chunk-5ZQYHXKU-C4uam08j.js} +527 -461
  39. package/dist/chunk-727SXJPM-DTmqhRKX.cjs +206 -0
  40. package/dist/{chunk-4TB4RGXK-D2LRzcEP.js → chunk-727SXJPM-Dof0vDVV.js} +650 -554
  41. package/dist/{chunk-OYMX7WX6-CrK-lehh.cjs → chunk-AQP2D5EJ-DdWeFQ4O.cjs} +5 -5
  42. package/dist/{chunk-OYMX7WX6-DJkGVCqi.js → chunk-AQP2D5EJ-N9ii4fwJ.js} +349 -339
  43. package/dist/{chunk-LIHQZDEY-59I4-LWb.js → chunk-BR22UD5L-CS6hURQQ.js} +15 -15
  44. package/dist/{chunk-LIHQZDEY-CrogR3nT.cjs → chunk-BR22UD5L-wI1vkyAT.cjs} +1 -1
  45. package/dist/{chunk-BSJP7CBP-oNTXVRA7.js → chunk-BSJP7CBP-Bx5APwBA.js} +1 -1
  46. package/dist/{chunk-BSJP7CBP-CFzYPvgr.cjs → chunk-BSJP7CBP-CaeBFqNU.cjs} +1 -1
  47. package/dist/{chunk-ICPOFSXX-fQJ5ufMR.js → chunk-CSCIHK7Q-9WKhcDqw.js} +132 -38
  48. package/dist/chunk-CSCIHK7Q-BPMuICCz.cjs +123 -0
  49. package/dist/chunk-FHYWG6QK-CfRqYwCI.js +23 -0
  50. package/dist/chunk-FHYWG6QK-DxmnARsZ.cjs +1 -0
  51. package/dist/{chunk-FMBD7UC4-RRSc9jqt.js → chunk-FMBD7UC4-BbggSGOg.js} +1 -1
  52. package/dist/{chunk-FMBD7UC4-CS9_r76V.cjs → chunk-FMBD7UC4-CiO_59ls.cjs} +1 -1
  53. package/dist/{chunk-ENJZ2VHE-CZ7BvL2h.js → chunk-KSCS5N6A-BY1s4eGg.js} +205 -205
  54. package/dist/chunk-KSCS5N6A-DO8jEi0y.cjs +10 -0
  55. package/dist/{chunk-ZZ45TVLE-BfSqZnT4.cjs → chunk-L5ZTLDWV-BE9udiOh.cjs} +1 -1
  56. package/dist/{chunk-ZZ45TVLE-X2jolXSO.js → chunk-L5ZTLDWV-D3UwMopa.js} +8 -8
  57. package/dist/{chunk-336JU56O-DQhIGd25.cjs → chunk-LZXEDZCA-Dpz_wx3M.cjs} +1 -1
  58. package/dist/{chunk-336JU56O-DkZvWJVe.js → chunk-LZXEDZCA-KzBFuWPU.js} +18 -18
  59. package/dist/chunk-MPE355IW-4bpROspE.js +23 -0
  60. package/dist/chunk-MPE355IW-CxPw_dPP.cjs +1 -0
  61. package/dist/chunk-MZUSXYTE-DA5mUG5B.js +30 -0
  62. package/dist/chunk-MZUSXYTE-DIg1BPts.cjs +1 -0
  63. package/dist/chunk-N66VUXT2-DSbygtq1.cjs +1 -0
  64. package/dist/chunk-N66VUXT2-pDZ1b-B3.js +54 -0
  65. package/dist/{chunk-YZCP3GAM-D6P3SWmL.js → chunk-ND2GUHAM-CHTke4K8.js} +17 -17
  66. package/dist/{chunk-YZCP3GAM-qxaNo0r8.cjs → chunk-ND2GUHAM-DdBSZTft.cjs} +1 -1
  67. package/dist/chunk-NNHCCRGN-D_orSz6n.js +20630 -0
  68. package/dist/chunk-NNHCCRGN-aKMHXBzL.cjs +159 -0
  69. package/dist/{chunk-X2U36JSP-VxRY65ea.js → chunk-NZK2D7GU-BVOINLmx.js} +13 -13
  70. package/dist/{chunk-X2U36JSP-CtXjVqek.cjs → chunk-NZK2D7GU-_twqedIe.cjs} +1 -1
  71. package/dist/{chunk-U2HBQHQK-CJ77uizk.cjs → chunk-O5CBEL6O-CDvi2oZo.cjs} +6 -6
  72. package/dist/{chunk-U2HBQHQK-Ceyeq0IV.js → chunk-O5CBEL6O-VsMF4aZB.js} +108 -108
  73. package/dist/chunk-PUPMXCY4-CKjhJQnN.js +23 -0
  74. package/dist/chunk-PUPMXCY4-DsS_t57r.cjs +1 -0
  75. package/dist/{chunk-QZHKN3VN-CSMKL2rB.cjs → chunk-QZHKN3VN-CHjRGMI2.cjs} +1 -1
  76. package/dist/{chunk-QZHKN3VN-Bx8I6l3c.js → chunk-QZHKN3VN-DCddt14Q.js} +1 -1
  77. package/dist/chunk-UIBZB4QT-BZf7vqd9.cjs +1 -0
  78. package/dist/chunk-UIBZB4QT-BvFllM0Q.js +23 -0
  79. package/dist/chunk-WCWK7LTN-D_C1as0Y.js +31 -0
  80. package/dist/chunk-WCWK7LTN-Dl2uC9ZD.cjs +1 -0
  81. package/dist/chunk-WU5MYG2G-DgyP9QDj.cjs +1 -0
  82. package/dist/chunk-WU5MYG2G-mQn7Wt-i.js +9 -0
  83. package/dist/{chunk-XPW4576I-BcWkx-AL.js → chunk-XPW4576I-BCowsgDU.js} +1 -1
  84. package/dist/{chunk-XPW4576I-D8Pp6a3j.cjs → chunk-XPW4576I-D_mwgMVU.cjs} +1 -1
  85. package/dist/classDiagram-4FO5ZUOK-5DyhpZRK.cjs +1 -0
  86. package/dist/classDiagram-4FO5ZUOK-BHGLQIkz.js +29 -0
  87. package/dist/classDiagram-v2-Q7XG4LA2-CCAbBo05.js +29 -0
  88. package/dist/classDiagram-v2-Q7XG4LA2-D4TX4CLT.cjs +1 -0
  89. package/dist/components/dash-list/assets/dash-list.data.d.ts +1 -0
  90. package/dist/components/dash-list/assets/dash-list.data.d.ts.map +1 -1
  91. package/dist/components/dash-list/dash-list-types.d.ts +1 -0
  92. package/dist/components/dash-list/dash-list-types.d.ts.map +1 -1
  93. package/dist/components/dash-list/dash-list.d.ts.map +1 -1
  94. package/dist/components/dash-list/dash-list.utils.d.ts +0 -3
  95. package/dist/components/dash-list/dash-list.utils.d.ts.map +1 -1
  96. package/dist/components/field/field.d.ts.map +1 -1
  97. package/dist/components/htm/htm-types.d.ts +4 -0
  98. package/dist/components/htm/htm-types.d.ts.map +1 -1
  99. package/dist/components/htm/htm.d.ts.map +1 -1
  100. package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
  101. package/dist/components/input-panel/input-panel-utils.d.ts.map +1 -1
  102. package/dist/components/pdf/pdf-types.d.ts +8 -0
  103. package/dist/components/pdf/pdf-types.d.ts.map +1 -1
  104. package/dist/components/pdf/pdf-utils.d.ts +1 -1
  105. package/dist/components/pdf/pdf-utils.d.ts.map +1 -1
  106. package/dist/components/pdf/pdf.d.ts.map +1 -1
  107. package/dist/components/planner/planner-assets.d.ts +2 -2
  108. package/dist/components/planner/planner-assets.d.ts.map +1 -1
  109. package/dist/components/planner/planner-utils.d.ts +1 -0
  110. package/dist/components/planner/planner-utils.d.ts.map +1 -1
  111. package/dist/components/planner/planner.d.ts.map +1 -1
  112. package/dist/components/timeline/timeline.d.ts.map +1 -1
  113. package/dist/components/tooltip/tooltip-assets.d.ts +1 -0
  114. package/dist/components/tooltip/tooltip-assets.d.ts.map +1 -1
  115. package/dist/components/tooltip/tooltip-types.d.ts +4 -16
  116. package/dist/components/tooltip/tooltip-types.d.ts.map +1 -1
  117. package/dist/components/tooltip/tooltip.d.ts.map +1 -1
  118. package/dist/{cose-bilkent-S5V4N54A-B30Rh9DR.js → cose-bilkent-S5V4N54A-Bfb7U01p.js} +26 -27
  119. package/dist/cose-bilkent-S5V4N54A-CE-7Sw0Y.cjs +1 -0
  120. package/dist/dagre-BM42HDAG-BhbA1R8l.cjs +4 -0
  121. package/dist/dagre-BM42HDAG-D87Rv2R4.js +297 -0
  122. package/dist/dagre-CC68z3y6.cjs +1 -0
  123. package/dist/dagre-Cg4CV48I.js +1936 -0
  124. package/dist/diagram-2AECGRRQ-C6vI3yau.cjs +43 -0
  125. package/dist/{diagram-MMDJMWI5-DUpEI5ug.js → diagram-2AECGRRQ-OSYCK0tv.js} +36 -36
  126. package/dist/diagram-5GNKFQAL-BS9rRMAe.cjs +10 -0
  127. package/dist/diagram-5GNKFQAL-DnquluB9.js +101 -0
  128. package/dist/diagram-KO2AKTUF-CFi6eQYd.js +431 -0
  129. package/dist/diagram-KO2AKTUF-CjA_KTJj.cjs +3 -0
  130. package/dist/{diagram-TYMM5635-DHHPZ5ZJ.js → diagram-LMA3HP47-Cwm5bzeM.js} +38 -38
  131. package/dist/diagram-LMA3HP47-DBwSTp2j.cjs +24 -0
  132. package/dist/diagram-OG6HWLK6-BdLnbUYy.cjs +24 -0
  133. package/dist/{diagram-G4DWMVQ6-iYV58Drq.js → diagram-OG6HWLK6-DvGk1j55.js} +93 -93
  134. package/dist/{dist-DL30VIBI.js → dist-9MKIBfY4.js} +1 -1
  135. package/dist/dist-DC1YYeHc.cjs +1 -0
  136. package/dist/{erDiagram-SMLLAGMA-C8FM7wbJ.js → erDiagram-TEJ5UH35-B17mqgD_.js} +164 -164
  137. package/dist/erDiagram-TEJ5UH35-NlRiP_bX.cjs +85 -0
  138. package/dist/eventmodeling-FCH6USID-BVaFiLQO.js +3 -0
  139. package/dist/eventmodeling-FCH6USID-leiC8dtX.cjs +1 -0
  140. package/dist/{flowDiagram-DWJPFMVM-BGtX2gw0.js → flowDiagram-I6XJVG4X-C2G6Tgw_.js} +444 -444
  141. package/dist/{flowDiagram-DWJPFMVM-DWuKiJeo.cjs → flowDiagram-I6XJVG4X-ChI_6giU.cjs} +9 -9
  142. package/dist/functional-components/timeline-engine/components/gantt/bar/gantt-bar.d.ts.map +1 -1
  143. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts +106 -0
  144. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.d.ts.map +1 -0
  145. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts +2 -0
  146. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow-utils.test.d.ts.map +1 -0
  147. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts +38 -0
  148. package/dist/functional-components/timeline-engine/components/gantt/farrow/gantt-farrow.d.ts.map +1 -0
  149. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts +23 -20
  150. package/dist/functional-components/timeline-engine/components/gantt/gantt-assets.d.ts.map +1 -1
  151. package/dist/functional-components/timeline-engine/components/gantt/gantt.d.ts.map +1 -1
  152. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts +13 -2
  153. package/dist/functional-components/timeline-engine/components/gantt/types/gantt-types.d.ts.map +1 -1
  154. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts +4 -0
  155. package/dist/functional-components/timeline-engine/timeline-engine-types.d.ts.map +1 -1
  156. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts +24 -0
  157. package/dist/functional-components/timeline-engine/timeline-engine-utils.d.ts.map +1 -1
  158. package/dist/functional-components/timeline-engine/timeline-engine.d.ts.map +1 -1
  159. package/dist/ganttDiagram-6RSMTGT7-B0DHqd7u.cjs +292 -0
  160. package/dist/{ganttDiagram-T4ZO3ILL-PY1BUp5b.js → ganttDiagram-6RSMTGT7-Bb6bqcaS.js} +278 -276
  161. package/dist/gitGraph-WXDBUCRP-BFFuTWG4.cjs +1 -0
  162. package/dist/gitGraph-WXDBUCRP-Fz2kRwJ-.js +3 -0
  163. package/dist/gitGraphDiagram-PVQCEYII-BzbgPrwe.cjs +106 -0
  164. package/dist/{gitGraphDiagram-UUTBAWPF-CDIW9-sX.js → gitGraphDiagram-PVQCEYII-DiJUr7lO.js} +255 -255
  165. package/dist/graphlib-B1zohIOM.js +1266 -0
  166. package/dist/graphlib-B5AXIZA4.cjs +1 -0
  167. package/dist/hooks/useFloating.d.ts.map +1 -1
  168. package/dist/info-J43DQDTF-CLRXRK49.js +3 -0
  169. package/dist/info-J43DQDTF-CmpcAuH-.cjs +1 -0
  170. package/dist/infoDiagram-5YYISTIA-C8P9DHlE.js +19 -0
  171. package/dist/infoDiagram-5YYISTIA-fhwEAAjF.cjs +2 -0
  172. package/dist/{ishikawaDiagram-UXIWVN3A-BfkF39Xv.cjs → ishikawaDiagram-YF4QCWOH-j6IZz59g.cjs} +6 -6
  173. package/dist/{ishikawaDiagram-UXIWVN3A-BblrAmns.js → ishikawaDiagram-YF4QCWOH-rqNbTKZp.js} +134 -134
  174. package/dist/{journeyDiagram-VCZTEJTY-UwcVOFtb.cjs → journeyDiagram-JHISSGLW-BhHdd4y3.cjs} +6 -6
  175. package/dist/{journeyDiagram-VCZTEJTY-CCOZ1XFK.js → journeyDiagram-JHISSGLW-peUJlm3L.js} +180 -180
  176. package/dist/{kanban-definition-6JOO6SKY-BWwfbdd6.js → kanban-definition-UN3LZRKU-DLxDqiQn.js} +151 -151
  177. package/dist/{kanban-definition-6JOO6SKY-Coxpi43B.cjs → kanban-definition-UN3LZRKU-TUg1x5yJ.cjs} +8 -8
  178. package/dist/{katex-SAH56fvc.cjs → katex-HkVgAsLB.cjs} +1 -1
  179. package/dist/ketchup2.cjs.js +107 -110
  180. package/dist/ketchup2.css +1 -1
  181. package/dist/ketchup2.es.js +63778 -65955
  182. package/dist/{line-CrxZdHmO.js → line-BhAnxCE8.js} +3 -3
  183. package/dist/line-CpcTW4h-.cjs +1 -0
  184. package/dist/{linear-CxHa1DsM.cjs → linear-D0eFmsG1.cjs} +1 -1
  185. package/dist/{linear-BsPvNLJv.js → linear-lSeWuvgy.js} +3 -3
  186. package/dist/{mermaid-parser.core-CERDf-UG.js → mermaid-parser.core-Dz33ts1l.js} +24 -19
  187. package/dist/mermaid-parser.core-HQxPJrkY.cjs +3 -0
  188. package/dist/{mindmap-definition-QFDTVHPH--xULjpFZ.cjs → mindmap-definition-RKZ34NQL-D9BOsg5W.cjs} +29 -29
  189. package/dist/{mindmap-definition-QFDTVHPH-dYQoMeA6.js → mindmap-definition-RKZ34NQL-DHkmUkxh.js} +148 -148
  190. package/dist/{ordinal-Civr0hZL.cjs → ordinal-BnUYNBtU.cjs} +1 -1
  191. package/dist/{ordinal-C-VoL0XF.js → ordinal-MD9_ORcM.js} +1 -1
  192. package/dist/packet-YPE3B663-BwjweAZY.cjs +1 -0
  193. package/dist/packet-YPE3B663-D1Hr9AQm.js +3 -0
  194. package/dist/pie-LRSECV5Y-CpDfN1P0.js +3 -0
  195. package/dist/pie-LRSECV5Y-I1-OkIXi.cjs +1 -0
  196. package/dist/{pieDiagram-DEJITSTG-Dj5pX4fC.js → pieDiagram-4H26LBE5-ByA7ytZx.js} +40 -40
  197. package/dist/pieDiagram-4H26LBE5-CrLJh4L9.cjs +30 -0
  198. package/dist/{quadrantDiagram-34T5L4WZ-BKNOJBiR.js → quadrantDiagram-W4KKPZXB-CHHpmu1l.js} +547 -520
  199. package/dist/quadrantDiagram-W4KKPZXB-CalC_db_.cjs +7 -0
  200. package/dist/radar-GUYGQ44K-BXt3oO8c.cjs +1 -0
  201. package/dist/radar-GUYGQ44K-ByzrmbOz.js +3 -0
  202. package/dist/{requirementDiagram-MS252O5E-r3eZu57d.js → requirementDiagram-4Y6WPE33-BVcDFSx8.js} +165 -165
  203. package/dist/requirementDiagram-4Y6WPE33-SsePLT8d.cjs +84 -0
  204. package/dist/sankeyDiagram-5OEKKPKP-BgvTZ7jd.cjs +40 -0
  205. package/dist/{sankeyDiagram-XADWPNL6-ErTVVewH.js → sankeyDiagram-5OEKKPKP-C-ODz9lV.js} +202 -153
  206. package/dist/{sequenceDiagram-FGHM5R23-BmqbzzHY.js → sequenceDiagram-3UESZ5HK-Cnc0aDO4.js} +786 -779
  207. package/dist/sequenceDiagram-3UESZ5HK-DEVLteqD.cjs +162 -0
  208. package/dist/src-BgvDIw01.cjs +1 -0
  209. package/dist/{src-BQiFKP24.js → src-v9RrE_4h.js} +578 -563
  210. package/dist/stateDiagram-AJRCARHV-CuHe6Iji.js +217 -0
  211. package/dist/stateDiagram-AJRCARHV-D_yPvIRw.cjs +1 -0
  212. package/dist/stateDiagram-v2-BHNVJYJU-CTnE6fOT.cjs +1 -0
  213. package/dist/stateDiagram-v2-BHNVJYJU-DqstYMSl.js +27 -0
  214. package/dist/{timeline-definition-GMOUNBTQ-DgcI7XnE.js → timeline-definition-PNZ67QCA-Bj1BItRB.js} +324 -324
  215. package/dist/{timeline-definition-GMOUNBTQ-BeTHmikc.cjs → timeline-definition-PNZ67QCA-Cynbc96w.cjs} +48 -48
  216. package/dist/treeView-BLDUP644-CxLhpd93.js +3 -0
  217. package/dist/treeView-BLDUP644-DMwVx0AR.cjs +1 -0
  218. package/dist/treemap-LRROVOQU-BqmiLdFI.js +3 -0
  219. package/dist/treemap-LRROVOQU-XhaFZdvI.cjs +1 -0
  220. package/dist/v4-BpDBEhLK.js +30 -0
  221. package/dist/v4-CA8ev9YY.cjs +1 -0
  222. package/dist/{vennDiagram-DHZGUBPP-7tx3VVDU.js → vennDiagram-CIIHVFJN-CdmcxixA.js} +192 -192
  223. package/dist/vennDiagram-CIIHVFJN-Dm4D6omA.cjs +34 -0
  224. package/dist/wardley-L42UT6IY-C7UjBmVh.js +3 -0
  225. package/dist/wardley-L42UT6IY-DFAYOpjD.cjs +1 -0
  226. package/dist/{wardleyDiagram-NUSXRM2D-DY51LHBa.cjs → wardleyDiagram-YWT4CUSO-C-DdutxP.cjs} +61 -3
  227. package/dist/{wardleyDiagram-NUSXRM2D-DGKU7A2U.js → wardleyDiagram-YWT4CUSO-D1o116Wi.js} +272 -206
  228. package/dist/{xychartDiagram-5P7HB3ND--7RYyckP.js → xychartDiagram-2RQKCTM6-Byw7djcg.js} +213 -213
  229. package/dist/{xychartDiagram-5P7HB3ND-Cj0HUNew.cjs → xychartDiagram-2RQKCTM6-D0D4PIQS.cjs} +6 -6
  230. package/package.json +1 -1
  231. package/dist/architecture-YZFGNWBL-BRqToLcm.js +0 -3
  232. package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +0 -1
  233. package/dist/architectureDiagram-Q4EWVU46-CX_6DnSJ.cjs +0 -36
  234. package/dist/blockDiagram-DXYQGD6D-D6DypQdM.cjs +0 -132
  235. package/dist/channel-CRWct3-i.js +0 -5
  236. package/dist/channel-DkTvdPpU.cjs +0 -1
  237. package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +0 -23
  238. package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +0 -1
  239. package/dist/chunk-426QAEUC-CDXJVpQr.js +0 -9
  240. package/dist/chunk-426QAEUC-CqN26l3E.cjs +0 -1
  241. package/dist/chunk-4TB4RGXK-B0SIkKDf.cjs +0 -206
  242. package/dist/chunk-5FUZZQ4R-Cj5KbGC7.cjs +0 -62
  243. package/dist/chunk-5PVQY5BW-DEPZKGvb.cjs +0 -2
  244. package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +0 -1
  245. package/dist/chunk-67CJDMHE-YMBkJcAO.js +0 -23
  246. package/dist/chunk-AA7GKIK3-B_ZB6dou.js +0 -30
  247. package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +0 -1
  248. package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +0 -1
  249. package/dist/chunk-CIAEETIT-XlxsAz-4.js +0 -23
  250. package/dist/chunk-D-IZpNpi.cjs +0 -1
  251. package/dist/chunk-EDXVE4YY-1dwNWzc7.cjs +0 -1
  252. package/dist/chunk-EDXVE4YY-CGNVB686.js +0 -25
  253. package/dist/chunk-ENJZ2VHE-BAWfx0nA.cjs +0 -10
  254. package/dist/chunk-FOC6F5B3-DcZs851j.cjs +0 -1
  255. package/dist/chunk-FOC6F5B3-E9n6-juB.js +0 -23
  256. package/dist/chunk-ICPOFSXX-hY6BIZ4Y.cjs +0 -122
  257. package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +0 -94
  258. package/dist/chunk-K5T4RW27-DY7TOEqa.js +0 -16070
  259. package/dist/chunk-KGLVRYIC-5OJpfQCj.js +0 -23
  260. package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +0 -1
  261. package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +0 -1
  262. package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +0 -31
  263. package/dist/chunk-WQLz0Won.js +0 -20
  264. package/dist/classDiagram-6PBFFD2Q-BT4_JTnP.cjs +0 -1
  265. package/dist/classDiagram-6PBFFD2Q-Dgaxt4wI.js +0 -29
  266. package/dist/classDiagram-v2-HSJHXN6E-CWhiK6nm.js +0 -29
  267. package/dist/classDiagram-v2-HSJHXN6E-DkBLzgTv.cjs +0 -1
  268. package/dist/clone-CQQwPjME.cjs +0 -1
  269. package/dist/clone-Dwbh_blD.js +0 -8
  270. package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +0 -1
  271. package/dist/dagre-BcwvU6ZF.cjs +0 -1
  272. package/dist/dagre-D17h-Z-U.js +0 -1606
  273. package/dist/dagre-KV5264BT-BnEKAAAn.js +0 -293
  274. package/dist/dagre-KV5264BT-DRbiLA37.cjs +0 -4
  275. package/dist/diagram-5BDNPKRD-B_Fa4dpl.js +0 -101
  276. package/dist/diagram-5BDNPKRD-CPN8m2Hl.cjs +0 -10
  277. package/dist/diagram-G4DWMVQ6-VpXkNb67.cjs +0 -24
  278. package/dist/diagram-MMDJMWI5-DGk_PUo9.cjs +0 -43
  279. package/dist/diagram-TYMM5635-BH_-vSv9.cjs +0 -24
  280. package/dist/dist-BgvMZbfo.cjs +0 -1
  281. package/dist/erDiagram-SMLLAGMA-vuYEmfFA.cjs +0 -85
  282. package/dist/flatten-BE1bWL-7.js +0 -40
  283. package/dist/flatten-DxvYSoR8.cjs +0 -1
  284. package/dist/ganttDiagram-T4ZO3ILL-C25CnBTv.cjs +0 -292
  285. package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +0 -1
  286. package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +0 -3
  287. package/dist/gitGraphDiagram-UUTBAWPF-0lCBo9nK.cjs +0 -106
  288. package/dist/graphlib-CdgJ32J_.cjs +0 -1
  289. package/dist/graphlib-DbQkSsC8.js +0 -373
  290. package/dist/identity-KQSjemTb.cjs +0 -1
  291. package/dist/identity-g0dsMjx7.js +0 -393
  292. package/dist/info-OMHHGYJF-Bk0VWVNW.js +0 -3
  293. package/dist/info-OMHHGYJF-C8QtwF0k.cjs +0 -1
  294. package/dist/infoDiagram-42DDH7IO-CQLxpytS.js +0 -19
  295. package/dist/infoDiagram-42DDH7IO-Da__a_a_.cjs +0 -2
  296. package/dist/isEmpty-CA3kJuev.cjs +0 -1
  297. package/dist/isEmpty-RwX-oIQS.js +0 -35
  298. package/dist/line-C7oijaT4.cjs +0 -1
  299. package/dist/mermaid-parser.core-DHpvGOZR.cjs +0 -3
  300. package/dist/packet-4T2RLAQJ-X0BMsNFj.js +0 -3
  301. package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +0 -1
  302. package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +0 -3
  303. package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +0 -1
  304. package/dist/pieDiagram-DEJITSTG-7we8s9eC.cjs +0 -30
  305. package/dist/quadrantDiagram-34T5L4WZ-B3BFuPYQ.cjs +0 -7
  306. package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +0 -1
  307. package/dist/radar-PYXPWWZC-DgZIW9Ah.js +0 -3
  308. package/dist/reduce-B7WW9rkU.cjs +0 -1
  309. package/dist/reduce-DNnkcf3M.js +0 -532
  310. package/dist/requirementDiagram-MS252O5E-BemsEy3Y.cjs +0 -84
  311. package/dist/sankeyDiagram-XADWPNL6-B9YCkPHh.cjs +0 -10
  312. package/dist/sequenceDiagram-FGHM5R23-CBpQL6X2.cjs +0 -157
  313. package/dist/src-DFxq-N5I.cjs +0 -1
  314. package/dist/stateDiagram-FHFEXIEX-CL9LE-W1.js +0 -217
  315. package/dist/stateDiagram-FHFEXIEX-Cju5Z2VS.cjs +0 -1
  316. package/dist/stateDiagram-v2-QKLJ7IA2-BHoytfGp.js +0 -27
  317. package/dist/stateDiagram-v2-QKLJ7IA2-DO1H6Vqa.cjs +0 -1
  318. package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +0 -1
  319. package/dist/treeView-SZITEDCU-Df3xzFtO.js +0 -3
  320. package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +0 -1
  321. package/dist/treemap-W4RFUUIX-ClUtdSdn.js +0 -3
  322. package/dist/v4-6yr83DbP.cjs +0 -1
  323. package/dist/v4-BR71w5_q.js +0 -33
  324. package/dist/vennDiagram-DHZGUBPP-C16dnMoe.cjs +0 -34
  325. package/dist/wardley-RL74JXVD-BtHQbnUy.js +0 -3
  326. package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +0 -1
  327. /package/dist/{array-D8NZ46Ht.js → array-CBdkHBGa.js} +0 -0
  328. /package/dist/{array-Dxz0O8Q3.cjs → array-Cx1JwiGD.cjs} +0 -0
  329. /package/dist/{cytoscape.esm-CrBwLFXE.cjs → cytoscape.esm-BzblyxzZ.cjs} +0 -0
  330. /package/dist/{cytoscape.esm-CPjF_mSK.js → cytoscape.esm-VShrX2U1.js} +0 -0
  331. /package/dist/{defaultLocale-DtzyZW63.cjs → defaultLocale-Bj_Ndo9V.cjs} +0 -0
  332. /package/dist/{defaultLocale-Dcyuaxxg.js → defaultLocale-dGy1YRID.js} +0 -0
  333. /package/dist/{init-BO60vQHJ.js → init-B7h4SEX5.js} +0 -0
  334. /package/dist/{init-B2MubQrj.cjs → init-CEL65JUo.cjs} +0 -0
  335. /package/dist/{katex-Du5WiYIy.js → katex-DWDh1q_h.js} +0 -0
  336. /package/dist/{path-CvfwEr8y.js → path-CAXMhBzK.js} +0 -0
  337. /package/dist/{path-Civic7PQ.cjs → path-CRahBUHI.cjs} +0 -0
  338. /package/dist/{rough.esm-BLKo1fIQ.cjs → rough.esm-BEA_SCZB.cjs} +0 -0
  339. /package/dist/{rough.esm-1mqTSjCt.js → rough.esm-TWNWL4Us.js} +0 -0
@@ -1,14 +1,13 @@
1
- import { o as e, t } from "./chunk-WQLz0Won.js";
2
- import { B as n, C as r, K as i, L as a, V as o, W as s, _ as c, a as l, b as u, d, v as f, y as p } from "./chunk-ICPOFSXX-fQJ5ufMR.js";
3
- import { g as m, h, p as g } from "./src-BQiFKP24.js";
4
- import { r as _, s as v } from "./chunk-5PVQY5BW-Dn8n6moB.js";
5
- import { t as y } from "./chunk-426QAEUC-CDXJVpQr.js";
6
- import { a as b, i as x, n as S, r as C } from "./chunk-U2HBQHQK-Ceyeq0IV.js";
7
- import { t as w } from "./chunk-4BX2VUAB-BW54-JWg.js";
8
- import { t as T } from "./mermaid-parser.core-CERDf-UG.js";
9
- import { t as E } from "./cytoscape.esm-CPjF_mSK.js";
1
+ import { g as e, h as t, p as n, x as r, y as i } from "./src-v9RrE_4h.js";
2
+ import { H as a, J as o, K as s, U as c, a as l, b as u, f as d, v as f, w as p, x as m, y as h, z as g } from "./chunk-CSCIHK7Q-9WKhcDqw.js";
3
+ import { c as _, i as v } from "./chunk-5ZQYHXKU-C4uam08j.js";
4
+ import { t as y } from "./chunk-WU5MYG2G-mQn7Wt-i.js";
5
+ import { a as b, i as x, n as S, r as C } from "./chunk-O5CBEL6O-VsMF4aZB.js";
6
+ import { t as w } from "./chunk-4BX2VUAB-BO1KRGb1.js";
7
+ import { t as T } from "./mermaid-parser.core-Dz33ts1l.js";
8
+ import { t as E } from "./cytoscape.esm-VShrX2U1.js";
10
9
  //#region node_modules/cytoscape-fcose/node_modules/layout-base/layout-base.js
11
- var D = /* @__PURE__ */ t(((e, t) => {
10
+ var D = /* @__PURE__ */ i(((e, t) => {
12
11
  (function(n, r) {
13
12
  typeof e == "object" && typeof t == "object" ? t.exports = r() : typeof define == "function" && define.amd ? define([], r) : typeof e == "object" ? e.layoutBase = r() : n.layoutBase = r();
14
13
  })(e, function() {
@@ -1639,7 +1638,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
1639
1638
  })
1640
1639
  ]);
1641
1640
  });
1642
- })), O = /* @__PURE__ */ t(((e, t) => {
1641
+ })), O = /* @__PURE__ */ i(((e, t) => {
1643
1642
  (function(n, r) {
1644
1643
  typeof e == "object" && typeof t == "object" ? t.exports = r(D()) : typeof define == "function" && define.amd ? define(["layout-base"], r) : typeof e == "object" ? e.coseBase = r(D()) : n.coseBase = r(n.layoutBase);
1645
1644
  })(e, function(e) {
@@ -2774,7 +2773,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
2774
2773
  return r(45);
2775
2774
  })();
2776
2775
  });
2777
- })), k = /* @__PURE__ */ e((/* @__PURE__ */ t(((e, t) => {
2776
+ })), k = /* @__PURE__ */ r((/* @__PURE__ */ i(((e, t) => {
2778
2777
  (function(n, r) {
2779
2778
  typeof e == "object" && typeof t == "object" ? t.exports = r(O()) : typeof define == "function" && define.amd ? define(["cose-base"], r) : typeof e == "object" ? e.cytoscapeFcose = r(O()) : n.cytoscapeFcose = r(n.coseBase);
2780
2779
  })(e, function(e) {
@@ -3379,54 +3378,54 @@ var D = /* @__PURE__ */ t(((e, t) => {
3379
3378
  T: "top",
3380
3379
  B: "bottom"
3381
3380
  }, j = {
3382
- L: /* @__PURE__ */ h((e) => `${e},${e / 2} 0,${e} 0,0`, "L"),
3383
- R: /* @__PURE__ */ h((e) => `0,${e / 2} ${e},0 ${e},${e}`, "R"),
3384
- T: /* @__PURE__ */ h((e) => `0,0 ${e},0 ${e / 2},${e}`, "T"),
3385
- B: /* @__PURE__ */ h((e) => `${e / 2},0 ${e},${e} 0,${e}`, "B")
3381
+ L: /* @__PURE__ */ t((e) => `${e},${e / 2} 0,${e} 0,0`, "L"),
3382
+ R: /* @__PURE__ */ t((e) => `0,${e / 2} ${e},0 ${e},${e}`, "R"),
3383
+ T: /* @__PURE__ */ t((e) => `0,0 ${e},0 ${e / 2},${e}`, "T"),
3384
+ B: /* @__PURE__ */ t((e) => `${e / 2},0 ${e},${e} 0,${e}`, "B")
3386
3385
  }, M = {
3387
- L: /* @__PURE__ */ h((e, t) => e - t + 2, "L"),
3388
- R: /* @__PURE__ */ h((e, t) => e - 2, "R"),
3389
- T: /* @__PURE__ */ h((e, t) => e - t + 2, "T"),
3390
- B: /* @__PURE__ */ h((e, t) => e - 2, "B")
3391
- }, N = /* @__PURE__ */ h(function(e) {
3386
+ L: /* @__PURE__ */ t((e, t) => e - t + 2, "L"),
3387
+ R: /* @__PURE__ */ t((e, t) => e - 2, "R"),
3388
+ T: /* @__PURE__ */ t((e, t) => e - t + 2, "T"),
3389
+ B: /* @__PURE__ */ t((e, t) => e - 2, "B")
3390
+ }, N = /* @__PURE__ */ t(function(e) {
3392
3391
  return F(e) ? e === "L" ? "R" : "L" : e === "T" ? "B" : "T";
3393
- }, "getOppositeArchitectureDirection"), P = /* @__PURE__ */ h(function(e) {
3392
+ }, "getOppositeArchitectureDirection"), P = /* @__PURE__ */ t(function(e) {
3394
3393
  let t = e;
3395
3394
  return t === "L" || t === "R" || t === "T" || t === "B";
3396
- }, "isArchitectureDirection"), F = /* @__PURE__ */ h(function(e) {
3395
+ }, "isArchitectureDirection"), F = /* @__PURE__ */ t(function(e) {
3397
3396
  let t = e;
3398
3397
  return t === "L" || t === "R";
3399
- }, "isArchitectureDirectionX"), I = /* @__PURE__ */ h(function(e) {
3398
+ }, "isArchitectureDirectionX"), I = /* @__PURE__ */ t(function(e) {
3400
3399
  let t = e;
3401
3400
  return t === "T" || t === "B";
3402
- }, "isArchitectureDirectionY"), L = /* @__PURE__ */ h(function(e, t) {
3401
+ }, "isArchitectureDirectionY"), L = /* @__PURE__ */ t(function(e, t) {
3403
3402
  let n = F(e) && I(t), r = I(e) && F(t);
3404
3403
  return n || r;
3405
- }, "isArchitectureDirectionXY"), R = /* @__PURE__ */ h(function(e) {
3404
+ }, "isArchitectureDirectionXY"), R = /* @__PURE__ */ t(function(e) {
3406
3405
  let t = e[0], n = e[1], r = F(t) && I(n), i = I(t) && F(n);
3407
3406
  return r || i;
3408
- }, "isArchitecturePairXY"), z = /* @__PURE__ */ h(function(e) {
3407
+ }, "isArchitecturePairXY"), z = /* @__PURE__ */ t(function(e) {
3409
3408
  return e !== "LL" && e !== "RR" && e !== "TT" && e !== "BB";
3410
- }, "isValidArchitectureDirectionPair"), B = /* @__PURE__ */ h(function(e, t) {
3409
+ }, "isValidArchitectureDirectionPair"), B = /* @__PURE__ */ t(function(e, t) {
3411
3410
  let n = `${e}${t}`;
3412
3411
  return z(n) ? n : void 0;
3413
- }, "getArchitectureDirectionPair"), V = /* @__PURE__ */ h(function([e, t], n) {
3412
+ }, "getArchitectureDirectionPair"), V = /* @__PURE__ */ t(function([e, t], n) {
3414
3413
  let r = n[0], i = n[1];
3415
3414
  return F(r) ? I(i) ? [e + (r === "L" ? -1 : 1), t + (i === "T" ? 1 : -1)] : [e + (r === "L" ? -1 : 1), t] : F(i) ? [e + (i === "L" ? 1 : -1), t + (r === "T" ? 1 : -1)] : [e, t + (r === "T" ? 1 : -1)];
3416
- }, "shiftPositionByArchitectureDirectionPair"), ee = /* @__PURE__ */ h(function(e) {
3415
+ }, "shiftPositionByArchitectureDirectionPair"), ee = /* @__PURE__ */ t(function(e) {
3417
3416
  return e === "LT" || e === "TL" ? [1, 1] : e === "BL" || e === "LB" ? [1, -1] : e === "BR" || e === "RB" ? [-1, -1] : [-1, 1];
3418
- }, "getArchitectureDirectionXYFactors"), te = /* @__PURE__ */ h(function(e, t) {
3417
+ }, "getArchitectureDirectionXYFactors"), te = /* @__PURE__ */ t(function(e, t) {
3419
3418
  return L(e, t) ? "bend" : F(e) ? "horizontal" : "vertical";
3420
- }, "getArchitectureDirectionAlignment"), H = /* @__PURE__ */ h(function(e) {
3419
+ }, "getArchitectureDirectionAlignment"), H = /* @__PURE__ */ t(function(e) {
3421
3420
  return e.type === "service";
3422
- }, "isArchitectureService"), ne = /* @__PURE__ */ h(function(e) {
3421
+ }, "isArchitectureService"), ne = /* @__PURE__ */ t(function(e) {
3423
3422
  return e.type === "junction";
3424
- }, "isArchitectureJunction"), re = /* @__PURE__ */ h((e) => e.data(), "edgeData"), U = /* @__PURE__ */ h((e) => e.data(), "nodeData"), W = d.architecture, G = class {
3423
+ }, "isArchitectureJunction"), re = /* @__PURE__ */ t((e) => e.data(), "edgeData"), U = /* @__PURE__ */ t((e) => e.data(), "nodeData"), W = d.architecture, G = class {
3425
3424
  constructor() {
3426
- this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.elements = {}, this.diagramId = "", this.setAccTitle = o, this.getAccTitle = f, this.setDiagramTitle = s, this.getDiagramTitle = r, this.getAccDescription = c, this.setAccDescription = n, this.clear();
3425
+ this.nodes = {}, this.groups = {}, this.edges = [], this.registeredIds = {}, this.elements = {}, this.diagramId = "", this.setAccTitle = c, this.getAccTitle = h, this.setDiagramTitle = s, this.getDiagramTitle = p, this.getAccDescription = f, this.setAccDescription = a, this.clear();
3427
3426
  }
3428
3427
  static {
3429
- h(this, "ArchitectureDB");
3428
+ t(this, "ArchitectureDB");
3430
3429
  }
3431
3430
  setDiagramId(e) {
3432
3431
  this.diagramId = e;
@@ -3523,7 +3522,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
3523
3522
  }
3524
3523
  getDataStructures() {
3525
3524
  if (this.dataStructures === void 0) {
3526
- let e = {}, t = Object.entries(this.nodes).reduce((t, [n, r]) => (t[n] = r.edges.reduce((t, r) => {
3525
+ let e = {}, n = Object.entries(this.nodes).reduce((t, [n, r]) => (t[n] = r.edges.reduce((t, r) => {
3527
3526
  let i = this.getNode(r.lhsId)?.in, a = this.getNode(r.rhsId)?.in;
3528
3527
  if (i && a && i !== a) {
3529
3528
  let t = te(r.lhsDir, r.rhsDir);
@@ -3537,27 +3536,27 @@ var D = /* @__PURE__ */ t(((e, t) => {
3537
3536
  e && (t[e] = r.lhsId);
3538
3537
  }
3539
3538
  return t;
3540
- }, {}), t), {}), n = Object.keys(t)[0], r = { [n]: 1 }, i = Object.keys(t).reduce((e, t) => t === n ? e : {
3539
+ }, {}), t), {}), r = Object.keys(n)[0], i = { [r]: 1 }, a = Object.keys(n).reduce((e, t) => t === r ? e : {
3541
3540
  ...e,
3542
3541
  [t]: 1
3543
- }, {}), a = /* @__PURE__ */ h((e) => {
3544
- let n = { [e]: [0, 0] }, a = [e];
3545
- for (; a.length > 0;) {
3546
- let e = a.shift();
3542
+ }, {}), o = /* @__PURE__ */ t((e) => {
3543
+ let t = { [e]: [0, 0] }, r = [e];
3544
+ for (; r.length > 0;) {
3545
+ let e = r.shift();
3547
3546
  if (e) {
3548
- r[e] = 1, delete i[e];
3549
- let o = t[e], [s, c] = n[e];
3550
- Object.entries(o).forEach(([e, t]) => {
3551
- r[t] || (n[t] = V([s, c], e), a.push(t));
3547
+ i[e] = 1, delete a[e];
3548
+ let o = n[e], [s, c] = t[e];
3549
+ Object.entries(o).forEach(([e, n]) => {
3550
+ i[n] || (t[n] = V([s, c], e), r.push(n));
3552
3551
  });
3553
3552
  }
3554
3553
  }
3555
- return n;
3556
- }, "BFS"), o = [a(n)];
3557
- for (; Object.keys(i).length > 0;) o.push(a(Object.keys(i)[0]));
3554
+ return t;
3555
+ }, "BFS"), s = [o(r)];
3556
+ for (; Object.keys(a).length > 0;) s.push(o(Object.keys(a)[0]));
3558
3557
  this.dataStructures = {
3559
- adjList: t,
3560
- spatialMaps: o,
3558
+ adjList: n,
3559
+ spatialMaps: s,
3561
3560
  groupAlignments: e
3562
3561
  };
3563
3562
  }
@@ -3570,15 +3569,15 @@ var D = /* @__PURE__ */ t(((e, t) => {
3570
3569
  return this.elements[e];
3571
3570
  }
3572
3571
  getConfig() {
3573
- return _({
3572
+ return v({
3574
3573
  ...W,
3575
- ...p().architecture
3574
+ ...u().architecture
3576
3575
  });
3577
3576
  }
3578
3577
  getConfigField(e) {
3579
3578
  return this.getConfig()[e];
3580
3579
  }
3581
- }, ie = /* @__PURE__ */ h((e, t) => {
3580
+ }, ie = /* @__PURE__ */ t((e, t) => {
3582
3581
  w(e, t), e.groups.map((e) => t.addGroup(e)), e.services.map((e) => t.addService({
3583
3582
  ...e,
3584
3583
  type: "service"
@@ -3588,14 +3587,14 @@ var D = /* @__PURE__ */ t(((e, t) => {
3588
3587
  })), e.edges.map((e) => t.addEdge(e));
3589
3588
  }, "populateDb"), K = {
3590
3589
  parser: { yy: void 0 },
3591
- parse: /* @__PURE__ */ h(async (e) => {
3592
- let t = await T("architecture", e);
3593
- m.debug(t);
3594
- let n = K.parser?.yy;
3595
- if (!(n instanceof G)) throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
3596
- ie(t, n);
3590
+ parse: /* @__PURE__ */ t(async (t) => {
3591
+ let n = await T("architecture", t);
3592
+ e.debug(n);
3593
+ let r = K.parser?.yy;
3594
+ if (!(r instanceof G)) throw Error("parser.parser?.yy was not a ArchitectureDB. This is due to a bug within Mermaid, please report this issue at https://github.com/mermaid-js/mermaid/issues.");
3595
+ ie(n, r);
3597
3596
  }, "parse")
3598
- }, q = /* @__PURE__ */ h((e) => `
3597
+ }, q = /* @__PURE__ */ t((e) => `
3599
3598
  .edge {
3600
3599
  stroke-width: ${e.archEdgeWidth};
3601
3600
  stroke: ${e.archEdgeColor};
@@ -3626,7 +3625,7 @@ var D = /* @__PURE__ */ t(((e, t) => {
3626
3625
  display: -webkit-box;
3627
3626
  -webkit-box-orient: vertical;
3628
3627
  }
3629
- `, "getStyles"), J = /* @__PURE__ */ h((e) => `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`, "wrapIcon"), Y = {
3628
+ `, "getStyles"), J = /* @__PURE__ */ t((e) => `<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/>${e}</g>`, "wrapIcon"), Y = {
3630
3629
  prefix: "mermaid-architecture",
3631
3630
  height: 80,
3632
3631
  width: 80,
@@ -3639,32 +3638,32 @@ var D = /* @__PURE__ */ t(((e, t) => {
3639
3638
  unknown: b,
3640
3639
  blank: { body: J("") }
3641
3640
  }
3642
- }, ae = /* @__PURE__ */ h(async function(e, t, n, r) {
3641
+ }, ae = /* @__PURE__ */ t(async function(e, t, n, r) {
3643
3642
  let i = n.getConfigField("padding"), a = n.getConfigField("iconSize"), o = a / 2, s = a / 6, c = s / 2;
3644
3643
  await Promise.all(t.edges().map(async (t) => {
3645
- let { source: a, sourceDir: l, sourceArrow: d, sourceGroup: f, target: p, targetDir: m, targetArrow: h, targetGroup: g, label: _ } = re(t), { x: y, y: b } = t[0].sourceEndpoint(), { x, y: C } = t[0].midpoint(), { x: w, y: T } = t[0].targetEndpoint(), E = i + 4;
3646
- if (f && (F(l) ? y += l === "L" ? -E : E : b += l === "T" ? -E : E + 18), g && (F(m) ? w += m === "L" ? -E : E : T += m === "T" ? -E : E + 18), !f && n.getNode(a)?.type === "junction" && (F(l) ? y += l === "L" ? o : -o : b += l === "T" ? o : -o), !g && n.getNode(p)?.type === "junction" && (F(m) ? w += m === "L" ? o : -o : T += m === "T" ? o : -o), t[0]._private.rscratch) {
3644
+ let { source: a, sourceDir: l, sourceArrow: u, sourceGroup: d, target: f, targetDir: p, targetArrow: h, targetGroup: g, label: v } = re(t), { x: y, y: b } = t[0].sourceEndpoint(), { x, y: C } = t[0].midpoint(), { x: w, y: T } = t[0].targetEndpoint(), E = i + 4;
3645
+ if (d && (F(l) ? y += l === "L" ? -E : E : b += l === "T" ? -E : E + 18), g && (F(p) ? w += p === "L" ? -E : E : T += p === "T" ? -E : E + 18), !d && n.getNode(a)?.type === "junction" && (F(l) ? y += l === "L" ? o : -o : b += l === "T" ? o : -o), !g && n.getNode(f)?.type === "junction" && (F(p) ? w += p === "L" ? o : -o : T += p === "T" ? o : -o), t[0]._private.rscratch) {
3647
3646
  let t = e.insert("g");
3648
- if (t.insert("path").attr("d", `M ${y},${b} L ${x},${C} L${w},${T} `).attr("class", "edge").attr("id", `${r}-${v(a, p, { prefix: "L" })}`), d) {
3647
+ if (t.insert("path").attr("d", `M ${y},${b} L ${x},${C} L${w},${T} `).attr("class", "edge").attr("id", `${r}-${_(a, f, { prefix: "L" })}`), u) {
3649
3648
  let e = F(l) ? M[l](y, s) : y - c, n = I(l) ? M[l](b, s) : b - c;
3650
3649
  t.insert("polygon").attr("points", j[l](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
3651
3650
  }
3652
3651
  if (h) {
3653
- let e = F(m) ? M[m](w, s) : w - c, n = I(m) ? M[m](T, s) : T - c;
3654
- t.insert("polygon").attr("points", j[m](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
3652
+ let e = F(p) ? M[p](w, s) : w - c, n = I(p) ? M[p](T, s) : T - c;
3653
+ t.insert("polygon").attr("points", j[p](s)).attr("transform", `translate(${e},${n})`).attr("class", "arrow");
3655
3654
  }
3656
- if (_) {
3657
- let e = L(l, m) ? "XY" : F(l) ? "X" : "Y", n = 0;
3655
+ if (v) {
3656
+ let e = L(l, p) ? "XY" : F(l) ? "X" : "Y", n = 0;
3658
3657
  n = e === "X" ? Math.abs(y - w) : e === "Y" ? Math.abs(b - T) / 1.5 : Math.abs(y - w) / 2;
3659
3658
  let r = t.append("g");
3660
- if (await S(r, _, {
3659
+ if (await S(r, v, {
3661
3660
  useHtmlLabels: !1,
3662
3661
  width: n,
3663
3662
  classes: "architecture-service-label"
3664
- }, u()), r.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e === "X") r.attr("transform", "translate(" + x + ", " + C + ")");
3663
+ }, m()), r.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e === "X") r.attr("transform", "translate(" + x + ", " + C + ")");
3665
3664
  else if (e === "Y") r.attr("transform", "translate(" + x + ", " + C + ") rotate(-90)");
3666
3665
  else if (e === "XY") {
3667
- let e = B(l, m);
3666
+ let e = B(l, p);
3668
3667
  if (e && R(e)) {
3669
3668
  let t = r.node().getBoundingClientRect(), [n, i] = ee(e);
3670
3669
  r.attr("dominant-baseline", "auto").attr("transform", `rotate(${-1 * n * i * 45})`);
@@ -3679,16 +3678,16 @@ var D = /* @__PURE__ */ t(((e, t) => {
3679
3678
  }
3680
3679
  }
3681
3680
  }));
3682
- }, "drawEdges"), X = /* @__PURE__ */ h(async function(e, t, n, r) {
3681
+ }, "drawEdges"), X = /* @__PURE__ */ t(async function(e, t, n, r) {
3683
3682
  let i = n.getConfigField("padding") * .75, a = n.getConfigField("fontSize"), o = n.getConfigField("iconSize") / 2;
3684
3683
  await Promise.all(t.nodes().map(async (t) => {
3685
3684
  let s = U(t);
3686
3685
  if (s.type === "group") {
3687
- let { h: c, w: l, x1: d, y1: f } = t.boundingBox(), p = e.append("rect");
3688
- p.attr("id", `${r}-group-${s.id}`).attr("x", d + o).attr("y", f + o).attr("width", l).attr("height", c).attr("class", "node-bkg");
3689
- let m = e.append("g"), h = d, g = f;
3686
+ let { h: c, w: l, x1: u, y1: d } = t.boundingBox(), f = e.append("rect");
3687
+ f.attr("id", `${r}-group-${s.id}`).attr("x", u + o).attr("y", d + o).attr("width", l).attr("height", c).attr("class", "node-bkg");
3688
+ let p = e.append("g"), h = u, g = d;
3690
3689
  if (s.icon) {
3691
- let e = m.append("g");
3690
+ let e = p.append("g");
3692
3691
  e.html(`<g>${await C(s.icon, {
3693
3692
  height: i,
3694
3693
  width: i,
@@ -3696,49 +3695,49 @@ var D = /* @__PURE__ */ t(((e, t) => {
3696
3695
  })}</g>`), e.attr("transform", "translate(" + (h + o + 1) + ", " + (g + o + 1) + ")"), h += i, g += a / 2 - 1 - 2;
3697
3696
  }
3698
3697
  if (s.label) {
3699
- let e = m.append("g");
3698
+ let e = p.append("g");
3700
3699
  await S(e, s.label, {
3701
3700
  useHtmlLabels: !1,
3702
3701
  width: l,
3703
3702
  classes: "architecture-service-label"
3704
- }, u()), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start"), e.attr("transform", "translate(" + (h + o + 4) + ", " + (g + o + 2) + ")");
3703
+ }, m()), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "start").attr("text-anchor", "start"), e.attr("transform", "translate(" + (h + o + 4) + ", " + (g + o + 2) + ")");
3705
3704
  }
3706
- n.setElementForId(s.id, p);
3705
+ n.setElementForId(s.id, f);
3707
3706
  }
3708
3707
  }));
3709
- }, "drawGroups"), oe = /* @__PURE__ */ h(async function(e, t, n, r) {
3710
- let i = u();
3711
- for (let o of n) {
3712
- let n = t.append("g"), s = e.getConfigField("iconSize");
3713
- if (o.title) {
3708
+ }, "drawGroups"), oe = /* @__PURE__ */ t(async function(e, t, n, r) {
3709
+ let i = m();
3710
+ for (let a of n) {
3711
+ let n = t.append("g"), o = e.getConfigField("iconSize");
3712
+ if (a.title) {
3714
3713
  let e = n.append("g");
3715
- await S(e, o.title, {
3714
+ await S(e, a.title, {
3716
3715
  useHtmlLabels: !1,
3717
- width: s * 1.5,
3716
+ width: o * 1.5,
3718
3717
  classes: "architecture-service-label"
3719
- }, i), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e.attr("transform", "translate(" + s / 2 + ", " + s + ")");
3718
+ }, i), e.attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle"), e.attr("transform", "translate(" + o / 2 + ", " + o + ")");
3720
3719
  }
3721
- let c = n.append("g");
3722
- if (o.icon) c.html(`<g>${await C(o.icon, {
3723
- height: s,
3724
- width: s,
3720
+ let s = n.append("g");
3721
+ if (a.icon) s.html(`<g>${await C(a.icon, {
3722
+ height: o,
3723
+ width: o,
3725
3724
  fallbackPrefix: Y.prefix
3726
3725
  })}</g>`);
3727
- else if (o.iconText) {
3728
- c.html(`<g>${await C("blank", {
3729
- height: s,
3730
- width: s,
3726
+ else if (a.iconText) {
3727
+ s.html(`<g>${await C("blank", {
3728
+ height: o,
3729
+ width: o,
3731
3730
  fallbackPrefix: Y.prefix
3732
3731
  })}</g>`);
3733
- let e = c.append("g").append("foreignObject").attr("width", s).attr("height", s).append("div").attr("class", "node-icon-text").attr("style", `height: ${s}px;`).append("div").html(a(o.iconText, i)), t = parseInt(window.getComputedStyle(e.node(), null).getPropertyValue("font-size").replace(/\D/g, "")) ?? 16;
3734
- e.attr("style", `-webkit-line-clamp: ${Math.floor((s - 2) / t)};`);
3735
- } else c.append("path").attr("class", "node-bkg").attr("id", `${r}-node-${o.id}`).attr("d", `M0,${s} V5 Q0,0 5,0 H${s - 5} Q${s},0 ${s},5 V${s} Z`);
3736
- n.attr("id", `${r}-service-${o.id}`).attr("class", "architecture-service");
3737
- let { width: l, height: u } = n.node().getBBox();
3738
- o.width = l, o.height = u, e.setElementForId(o.id, n);
3732
+ let e = s.append("g").append("foreignObject").attr("width", o).attr("height", o).append("div").attr("class", "node-icon-text").attr("style", `height: ${o}px;`).append("div").html(g(a.iconText, i)), t = parseInt(window.getComputedStyle(e.node(), null).getPropertyValue("font-size").replace(/\D/g, "")) ?? 16;
3733
+ e.attr("style", `-webkit-line-clamp: ${Math.floor((o - 2) / t)};`);
3734
+ } else s.append("path").attr("class", "node-bkg").attr("id", `${r}-node-${a.id}`).attr("d", `M0,${o} V5 Q0,0 5,0 H${o - 5} Q${o},0 ${o},5 V${o} Z`);
3735
+ n.attr("id", `${r}-service-${a.id}`).attr("class", "architecture-service");
3736
+ let { width: c, height: l } = n.node().getBBox();
3737
+ a.width = c, a.height = l, e.setElementForId(a.id, n);
3739
3738
  }
3740
3739
  return 0;
3741
- }, "drawServices"), Z = /* @__PURE__ */ h(function(e, t, n, r) {
3740
+ }, "drawServices"), Z = /* @__PURE__ */ t(function(e, t, n, r) {
3742
3741
  n.forEach((n) => {
3743
3742
  let i = t.append("g"), a = e.getConfigField("iconSize");
3744
3743
  i.append("g").append("rect").attr("id", `${r}-node-${n.id}`).attr("fill-opacity", "0").attr("width", a).attr("height", a), i.attr("class", "architecture-junction");
@@ -3767,7 +3766,7 @@ function se(e, t, n) {
3767
3766
  });
3768
3767
  });
3769
3768
  }
3770
- h(se, "addServices");
3769
+ t(se, "addServices");
3771
3770
  function ce(e, t, n) {
3772
3771
  e.forEach((e) => {
3773
3772
  t.add({
@@ -3783,14 +3782,14 @@ function ce(e, t, n) {
3783
3782
  });
3784
3783
  });
3785
3784
  }
3786
- h(ce, "addJunctions");
3785
+ t(ce, "addJunctions");
3787
3786
  function le(e, t) {
3788
3787
  t.nodes().map((t) => {
3789
3788
  let n = U(t);
3790
3789
  n.type !== "group" && (n.x = t.position().x, n.y = t.position().y, e.getElementById(n.id).attr("transform", "translate(" + (n.x || 0) + "," + (n.y || 0) + ")"));
3791
3790
  });
3792
3791
  }
3793
- h(le, "positionNodes");
3792
+ t(le, "positionNodes");
3794
3793
  function ue(e, t) {
3795
3794
  e.forEach((e) => {
3796
3795
  t.add({
@@ -3806,7 +3805,7 @@ function ue(e, t) {
3806
3805
  });
3807
3806
  });
3808
3807
  }
3809
- h(ue, "addGroups");
3808
+ t(ue, "addGroups");
3810
3809
  function de(e, t) {
3811
3810
  e.forEach((e) => {
3812
3811
  let { lhsId: n, rhsId: r, lhsInto: i, lhsGroup: a, rhsInto: o, lhsDir: s, rhsDir: c, rhsGroup: l, title: u } = e, d = L(e.lhsDir, e.rhsDir) ? "segments" : "straight", f = {
@@ -3830,51 +3829,51 @@ function de(e, t) {
3830
3829
  });
3831
3830
  });
3832
3831
  }
3833
- h(de, "addEdges");
3834
- function fe(e, t, n) {
3835
- let r = /* @__PURE__ */ h((e, t) => Object.entries(e).reduce((e, [r, i]) => {
3832
+ t(de, "addEdges");
3833
+ function fe(e, n, r) {
3834
+ let i = /* @__PURE__ */ t((e, t) => Object.entries(e).reduce((e, [n, i]) => {
3836
3835
  let a = 0, o = Object.entries(i);
3837
- if (o.length === 1) return e[r] = o[0][1], e;
3836
+ if (o.length === 1) return e[n] = o[0][1], e;
3838
3837
  for (let i = 0; i < o.length - 1; i++) for (let s = i + 1; s < o.length; s++) {
3839
3838
  let [c, l] = o[i], [u, d] = o[s];
3840
- if (n[c]?.[u] === t) e[r] ??= [], e[r] = [
3841
- ...e[r],
3839
+ if (r[c]?.[u] === t) e[n] ??= [], e[n] = [
3840
+ ...e[n],
3842
3841
  ...l,
3843
3842
  ...d
3844
3843
  ];
3845
- else if (c === "default" || u === "default") e[r] ??= [], e[r] = [
3846
- ...e[r],
3844
+ else if (c === "default" || u === "default") e[n] ??= [], e[n] = [
3845
+ ...e[n],
3847
3846
  ...l,
3848
3847
  ...d
3849
3848
  ];
3850
3849
  else {
3851
- let t = `${r}-${a++}`;
3850
+ let t = `${n}-${a++}`;
3852
3851
  e[t] = l;
3853
- let n = `${r}-${a++}`;
3854
- e[n] = d;
3852
+ let r = `${n}-${a++}`;
3853
+ e[r] = d;
3855
3854
  }
3856
3855
  }
3857
3856
  return e;
3858
- }, {}), "flattenAlignments"), [i, a] = t.map((t) => {
3859
- let n = {}, i = {};
3860
- return Object.entries(t).forEach(([t, [r, a]]) => {
3857
+ }, {}), "flattenAlignments"), [a, o] = n.map((t) => {
3858
+ let n = {}, r = {};
3859
+ return Object.entries(t).forEach(([t, [i, a]]) => {
3861
3860
  let o = e.getNode(t)?.in ?? "default";
3862
- n[a] ??= {}, n[a][o] ??= [], n[a][o].push(t), i[r] ??= {}, i[r][o] ??= [], i[r][o].push(t);
3861
+ n[a] ??= {}, n[a][o] ??= [], n[a][o].push(t), r[i] ??= {}, r[i][o] ??= [], r[i][o].push(t);
3863
3862
  }), {
3864
- horiz: Object.values(r(n, "horizontal")).filter((e) => e.length > 1),
3865
- vert: Object.values(r(i, "vertical")).filter((e) => e.length > 1)
3863
+ horiz: Object.values(i(n, "horizontal")).filter((e) => e.length > 1),
3864
+ vert: Object.values(i(r, "vertical")).filter((e) => e.length > 1)
3866
3865
  };
3867
3866
  }).reduce(([e, t], { horiz: n, vert: r }) => [[...e, ...n], [...t, ...r]], [[], []]);
3868
3867
  return {
3869
- horizontal: i,
3870
- vertical: a
3868
+ horizontal: a,
3869
+ vertical: o
3871
3870
  };
3872
3871
  }
3873
- h(fe, "getAlignments");
3874
- function pe(e, t) {
3875
- let n = [], r = /* @__PURE__ */ h((e) => `${e[0]},${e[1]}`, "posToStr"), i = /* @__PURE__ */ h((e) => e.split(",").map((e) => parseInt(e)), "strToPos");
3872
+ t(fe, "getAlignments");
3873
+ function pe(e, n) {
3874
+ let r = [], i = /* @__PURE__ */ t((e) => `${e[0]},${e[1]}`, "posToStr"), a = /* @__PURE__ */ t((e) => e.split(",").map((e) => parseInt(e)), "strToPos");
3876
3875
  return e.forEach((e) => {
3877
- let a = Object.fromEntries(Object.entries(e).map(([e, t]) => [r(t), e])), o = [r([0, 0])], s = {}, c = {
3876
+ let t = Object.fromEntries(Object.entries(e).map(([e, t]) => [i(t), e])), o = [i([0, 0])], s = {}, c = {
3878
3877
  L: [-1, 0],
3879
3878
  R: [1, 0],
3880
3879
  T: [0, 1],
@@ -3884,26 +3883,26 @@ function pe(e, t) {
3884
3883
  let e = o.shift();
3885
3884
  if (e) {
3886
3885
  s[e] = 1;
3887
- let l = a[e];
3886
+ let l = t[e];
3888
3887
  if (l) {
3889
- let u = i(e);
3890
- Object.entries(c).forEach(([e, i]) => {
3891
- let c = r([u[0] + i[0], u[1] + i[1]]), d = a[c];
3892
- d && !s[c] && (o.push(c), n.push({
3888
+ let u = a(e);
3889
+ Object.entries(c).forEach(([e, a]) => {
3890
+ let c = i([u[0] + a[0], u[1] + a[1]]), d = t[c];
3891
+ d && !s[c] && (o.push(c), r.push({
3893
3892
  [A[e]]: d,
3894
3893
  [A[N(e)]]: l,
3895
- gap: 1.5 * t.getConfigField("iconSize")
3894
+ gap: 1.5 * n.getConfigField("iconSize")
3896
3895
  }));
3897
3896
  });
3898
3897
  }
3899
3898
  }
3900
3899
  }
3901
- }), n;
3900
+ }), r;
3902
3901
  }
3903
- h(pe, "getRelativeConstraints");
3904
- function me(e, t, n, r, i, { spatialMaps: a, groupAlignments: o }) {
3905
- return new Promise((s) => {
3906
- let c = g("body").append("div").attr("id", "cy").attr("style", "display:none"), l = E({
3902
+ t(pe, "getRelativeConstraints");
3903
+ function me(r, i, a, o, s, { spatialMaps: c, groupAlignments: l }) {
3904
+ return new Promise((u) => {
3905
+ let d = n("body").append("div").attr("id", "cy").attr("style", "display:none"), f = E({
3907
3906
  container: document.getElementById("cy"),
3908
3907
  style: [
3909
3908
  {
@@ -3938,7 +3937,7 @@ function me(e, t, n, r, i, { spatialMaps: a, groupAlignments: o }) {
3938
3937
  style: {
3939
3938
  "text-valign": "bottom",
3940
3939
  "text-halign": "center",
3941
- "font-size": `${i.getConfigField("fontSize")}px`
3940
+ "font-size": `${s.getConfigField("fontSize")}px`
3942
3941
  }
3943
3942
  },
3944
3943
  {
@@ -3958,7 +3957,7 @@ function me(e, t, n, r, i, { spatialMaps: a, groupAlignments: o }) {
3958
3957
  },
3959
3958
  {
3960
3959
  selector: ".node-group",
3961
- style: { padding: `${i.getConfigField("padding")}px` }
3960
+ style: { padding: `${s.getConfigField("padding")}px` }
3962
3961
  }
3963
3962
  ],
3964
3963
  layout: {
@@ -3971,26 +3970,28 @@ function me(e, t, n, r, i, { spatialMaps: a, groupAlignments: o }) {
3971
3970
  }
3972
3971
  }
3973
3972
  });
3974
- c.remove(), ue(n, l), se(e, l, i), ce(t, l, i), de(r, l);
3975
- let u = fe(i, a, o), d = pe(a, i), f = l.layout({
3973
+ d.remove(), ue(a, f), se(r, f, s), ce(i, f, s), de(o, f);
3974
+ let p = fe(s, c, l), m = pe(c, s), h = s.getConfigField("iconSize"), g = s.getConfigField("idealEdgeLengthMultiplier") * h, _ = .5 * h, v = s.getConfigField("edgeElasticity"), y = f.layout({
3976
3975
  name: "fcose",
3977
3976
  quality: "proof",
3978
- randomize: i.getConfigField("randomize"),
3977
+ randomize: s.getConfigField("randomize"),
3978
+ nodeSeparation: s.getConfigField("nodeSeparation"),
3979
+ numIter: s.getConfigField("numIter"),
3979
3980
  styleEnabled: !1,
3980
3981
  animate: !1,
3981
3982
  nodeDimensionsIncludeLabels: !1,
3982
3983
  idealEdgeLength(e) {
3983
- let [t, n] = e.connectedNodes(), { parent: r } = U(t), { parent: a } = U(n);
3984
- return r === a ? 1.5 * i.getConfigField("iconSize") : .5 * i.getConfigField("iconSize");
3984
+ let [t, n] = e.connectedNodes(), { parent: r } = U(t), { parent: i } = U(n);
3985
+ return r === i ? g : _;
3985
3986
  },
3986
3987
  edgeElasticity(e) {
3987
3988
  let [t, n] = e.connectedNodes(), { parent: r } = U(t), { parent: i } = U(n);
3988
- return r === i ? .45 : .001;
3989
+ return r === i ? v : .001;
3989
3990
  },
3990
- alignmentConstraint: u,
3991
- relativePlacementConstraint: d
3991
+ alignmentConstraint: p,
3992
+ relativePlacementConstraint: m
3992
3993
  });
3993
- f.one("layoutstop", () => {
3994
+ y.one("layoutstop", () => {
3994
3995
  function e(e, t, n, r) {
3995
3996
  let i, a, { x: o, y: s } = e, { x: c, y: l } = t;
3996
3997
  a = (r - s + (o - n) * (s - l) / (o - c)) / Math.sqrt(1 + ((s - l) / (o - c)) ** 2), i = Math.sqrt((r - s) ** 2 + (n - o) ** 2 - a ** 2);
@@ -4019,37 +4020,37 @@ function me(e, t, n, r, i, { spatialMaps: a, groupAlignments: o }) {
4019
4020
  weights: i
4020
4021
  };
4021
4022
  }
4022
- h(e, "getSegmentWeights"), l.startBatch();
4023
- for (let t of Object.values(l.edges())) if (t.data?.()) {
4023
+ t(e, "getSegmentWeights"), f.startBatch();
4024
+ for (let t of Object.values(f.edges())) if (t.data?.()) {
4024
4025
  let { x: n, y: r } = t.source().position(), { x: i, y: a } = t.target().position();
4025
4026
  if (n !== i && r !== a) {
4026
4027
  let n = t.sourceEndpoint(), r = t.targetEndpoint(), { sourceDir: i } = re(t), [a, o] = I(i) ? [n.x, r.y] : [r.x, n.y], { weights: s, distances: c } = e(n, r, a, o);
4027
4028
  t.style("segment-distances", c), t.style("segment-weights", s);
4028
4029
  }
4029
4030
  }
4030
- l.endBatch(), f.run();
4031
- }), f.run(), l.ready((e) => {
4032
- m.info("Ready", e), s(l);
4031
+ f.endBatch(), y.run();
4032
+ }), y.run(), f.ready((t) => {
4033
+ e.info("Ready", t), u(f);
4033
4034
  });
4034
4035
  });
4035
4036
  }
4036
- h(me, "layoutArchitecture");
4037
+ t(me, "layoutArchitecture");
4037
4038
  var he = {
4038
4039
  parser: K,
4039
4040
  get db() {
4040
4041
  return new G();
4041
4042
  },
4042
- renderer: { draw: /* @__PURE__ */ h(async (e, t, n, r) => {
4043
- let a = r.db;
4044
- a.setDiagramId(t);
4045
- let o = a.getServices(), s = a.getJunctions(), c = a.getGroups(), l = a.getEdges(), u = a.getDataStructures(), d = y(t), f = d.append("g");
4043
+ renderer: { draw: /* @__PURE__ */ t(async (e, t, n, r) => {
4044
+ let i = r.db;
4045
+ i.setDiagramId(t);
4046
+ let a = i.getServices(), s = i.getJunctions(), c = i.getGroups(), l = i.getEdges(), u = i.getDataStructures(), d = y(t), f = d.append("g");
4046
4047
  f.attr("class", "architecture-edges");
4047
4048
  let p = d.append("g");
4048
4049
  p.attr("class", "architecture-services");
4049
4050
  let m = d.append("g");
4050
- m.attr("class", "architecture-groups"), await oe(a, p, o, t), Z(a, p, s, t);
4051
- let h = await me(o, s, c, l, a, u);
4052
- await ae(f, h, a, t), await X(m, h, a, t), le(a, h), i(void 0, d, a.getConfigField("padding"), a.getConfigField("useMaxWidth"));
4051
+ m.attr("class", "architecture-groups"), await oe(i, p, a, t), Z(i, p, s, t);
4052
+ let h = await me(a, s, c, l, i, u);
4053
+ await ae(f, h, i, t), await X(m, h, i, t), le(i, h), o(void 0, d, i.getConfigField("padding"), i.getConfigField("useMaxWidth"));
4053
4054
  }, "draw") },
4054
4055
  styles: q
4055
4056
  };
@@ -17,7 +17,8 @@ export declare const createArrayElementBindProps: (cell: DataCell) => ArrayEleme
17
17
  export declare const createArrayCell: (cell: DataCell, elements: ArrayElementBindProps[]) => DataCell;
18
18
  export declare const createCellBindEventArgs: (cell: DataCell) => CellBindEventArgs;
19
19
  /** Method to evaluate and return the shape */
20
- export declare const computeShape: (objClass: DataObj | undefined, shape: string | undefined, size: number | undefined) => string | undefined;
20
+ export declare const computeShape: (objClass: DataObj | undefined, shape: string | undefined, size: number | undefined, parentComponent: ComponentsType, isVisualOnly: boolean) => string | undefined;
21
+ export declare const getDefaultShapeForParentComponent: (parentComponent: ComponentsType, isVisualOnly: boolean) => "LBL" | "ITX" | undefined;
21
22
  /** Method to evaluate the value of isVisualOnly based on parentComponent and isEditable state */
22
23
  export declare const computeVisualOnly: (component: ComponentsType, isEditable?: boolean) => boolean;
23
24
  /**