@sme.up/ketchup2 2.0.0 → 2.1.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.
- package/dist/arc-CqG9Hxdf.cjs +1 -0
- package/dist/arc-Klgb378K.js +80 -0
- package/dist/architecture-YZFGNWBL-BRqToLcm.js +3 -0
- package/dist/architecture-YZFGNWBL-BTOWQWD9.cjs +1 -0
- package/dist/architectureDiagram-Q4EWVU46-JSjagcXX.cjs +36 -0
- package/dist/architectureDiagram-Q4EWVU46-u2vgZv3N.js +4057 -0
- package/dist/array-D8NZ46Ht.js +6 -0
- package/dist/array-Dxz0O8Q3.cjs +1 -0
- package/dist/assets/imageListAssets.d.ts +3 -1
- package/dist/assets/imageListAssets.d.ts.map +1 -1
- package/dist/basic-components/autocomplete/autocomplete.d.ts.map +1 -1
- package/dist/basic-components/list/list-types.d.ts +0 -1
- package/dist/basic-components/list/list-types.d.ts.map +1 -1
- package/dist/basic-components/list/list.d.ts.map +1 -1
- package/dist/basic-components/notification/notification.assets.d.ts.map +1 -1
- package/dist/basic-components/select/select.d.ts.map +1 -1
- package/dist/basic-components/text-editor/text-editor-utils.d.ts.map +1 -1
- package/dist/blockDiagram-DXYQGD6D-BpB6_kTP.js +3033 -0
- package/dist/blockDiagram-DXYQGD6D-DlcDXSwH.cjs +132 -0
- package/dist/c4Diagram-AHTNJAMY-B5Z8nO1s.js +2961 -0
- package/dist/c4Diagram-AHTNJAMY-CX5IjREU.cjs +10 -0
- package/dist/channel-BY9Lkyz7.cjs +1 -0
- package/dist/channel-BqNr2cYO.js +5 -0
- package/dist/chunk-2KRD3SAO-Ca3zDQyj.js +23 -0
- package/dist/chunk-2KRD3SAO-oZrIWZvV.cjs +1 -0
- package/dist/chunk-336JU56O-CuXRn1VH.cjs +1 -0
- package/dist/chunk-336JU56O-xKPgkG3O.js +49 -0
- package/dist/chunk-426QAEUC-Df31vuwu.cjs +1 -0
- package/dist/chunk-426QAEUC-JjFVHKYG.js +9 -0
- package/dist/chunk-4BX2VUAB-BW54-JWg.js +8 -0
- package/dist/chunk-4BX2VUAB-Qba52sxc.cjs +1 -0
- package/dist/chunk-4TB4RGXK-CKyHmNcP.js +3253 -0
- package/dist/chunk-4TB4RGXK-DdKJIFS5.cjs +206 -0
- package/dist/chunk-55IACEB6-Bu3k0Yz5.js +8 -0
- package/dist/chunk-55IACEB6-DPatBzu7.cjs +1 -0
- package/dist/chunk-5FUZZQ4R-2kdZJWq2.js +3638 -0
- package/dist/chunk-5FUZZQ4R-D_vnCbAb.cjs +62 -0
- package/dist/chunk-5PVQY5BW-C5U7sJAA.js +1299 -0
- package/dist/chunk-5PVQY5BW-CfQDYQZt.cjs +2 -0
- package/dist/chunk-67CJDMHE-2Qg7i1xJ.cjs +1 -0
- package/dist/chunk-67CJDMHE-YMBkJcAO.js +23 -0
- package/dist/chunk-7N4EOEYR-C-GuhRgW.js +35 -0
- package/dist/chunk-7N4EOEYR-jNBQwvHx.cjs +1 -0
- package/dist/chunk-AA7GKIK3-B_ZB6dou.js +30 -0
- package/dist/chunk-AA7GKIK3-dqnTmnvO.cjs +1 -0
- package/dist/chunk-BSJP7CBP-CFzYPvgr.cjs +1 -0
- package/dist/chunk-BSJP7CBP-oNTXVRA7.js +82 -0
- package/dist/chunk-CIAEETIT-ClHUj0Su.cjs +1 -0
- package/dist/chunk-CIAEETIT-XlxsAz-4.js +23 -0
- package/dist/chunk-D-IZpNpi.cjs +1 -0
- package/dist/chunk-EDXVE4YY-BZsJORf8.cjs +1 -0
- package/dist/chunk-EDXVE4YY-Bzf4FU3i.js +25 -0
- package/dist/chunk-ENJZ2VHE-BluGQPyl.js +560 -0
- package/dist/chunk-ENJZ2VHE-CwgVASaU.cjs +10 -0
- package/dist/{chunk-FMBD7UC4-C1wIcaJH.js → chunk-FMBD7UC4-CS9_r76V.cjs} +2 -6
- package/dist/chunk-FMBD7UC4-RRSc9jqt.js +5 -0
- package/dist/chunk-FOC6F5B3-DcZs851j.cjs +1 -0
- package/dist/chunk-FOC6F5B3-E9n6-juB.js +23 -0
- package/dist/chunk-ICPOFSXX-CoaJw-IT.cjs +122 -0
- package/dist/chunk-ICPOFSXX-Sn6LWD0k.js +3316 -0
- package/dist/chunk-K5T4RW27-BzDQkjC7.cjs +94 -0
- package/dist/chunk-K5T4RW27-DY7TOEqa.js +16070 -0
- package/dist/chunk-KGLVRYIC-5OJpfQCj.js +23 -0
- package/dist/chunk-KGLVRYIC-DnbIkai8.cjs +1 -0
- package/dist/chunk-LIHQZDEY-59I4-LWb.js +64 -0
- package/dist/chunk-LIHQZDEY-CrogR3nT.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CcrEtiCn.cjs +1 -0
- package/dist/chunk-ORNJ4GCN-CwkOSFbS.js +31 -0
- package/dist/chunk-OYMX7WX6-BCT45RPu.cjs +231 -0
- package/dist/chunk-OYMX7WX6-BQADsxYi.js +2014 -0
- package/dist/chunk-QZHKN3VN-Bx8I6l3c.js +15 -0
- package/dist/chunk-QZHKN3VN-CSMKL2rB.cjs +1 -0
- package/dist/chunk-U2HBQHQK-BZ3YFMXB.js +1879 -0
- package/dist/chunk-U2HBQHQK-D0AoQWxK.cjs +70 -0
- package/dist/chunk-WQLz0Won.js +20 -0
- package/dist/chunk-X2U36JSP-CY7mJR8m.js +67 -0
- package/dist/chunk-X2U36JSP-D1RYKjVc.cjs +1 -0
- package/dist/chunk-XPW4576I-BcWkx-AL.js +1146 -0
- package/dist/chunk-XPW4576I-D8Pp6a3j.cjs +32 -0
- package/dist/chunk-YZCP3GAM-9K9WNdyN.js +60 -0
- package/dist/chunk-YZCP3GAM-BmaAafMm.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-AQQsnXy4.cjs +1 -0
- package/dist/chunk-ZZ45TVLE-CIYrdg-O.js +32 -0
- package/dist/classDiagram-6PBFFD2Q-B6betnLH.cjs +1 -0
- package/dist/classDiagram-6PBFFD2Q-XGxl_AeB.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-CwayYG4G.js +29 -0
- package/dist/classDiagram-v2-HSJHXN6E-Dda8WDvn.cjs +1 -0
- package/dist/clone-Dn__H8fX.js +8 -0
- package/dist/clone-lShkT11Q.cjs +1 -0
- package/dist/components/image-list/components/image-list-command-panel.d.ts +15 -0
- package/dist/components/image-list/components/image-list-command-panel.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts +16 -0
- package/dist/components/image-list/components/image-list-command-trigger.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-filter-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-h-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-json-viewer.d.ts +11 -0
- package/dist/components/image-list/components/image-list-json-viewer.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-menu.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts +6 -2
- package/dist/components/image-list/components/image-list-navigation-picker.d.ts.map +1 -1
- package/dist/components/image-list/components/image-list-sort-picker.d.ts +14 -0
- package/dist/components/image-list/components/image-list-sort-picker.d.ts.map +1 -0
- package/dist/components/image-list/components/image-list-v-strip.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-card-item.d.ts +5 -0
- package/dist/components/image-list/components/items/image-list-card-item.d.ts.map +1 -0
- package/dist/components/image-list/components/items/image-list-folder-item.d.ts.map +1 -1
- package/dist/components/image-list/components/items/image-list-item.d.ts.map +1 -1
- package/dist/components/image-list/components/menu-nav-item.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-catalog.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-explorer.d.ts.map +1 -1
- package/dist/components/image-list/components/navigation-modes/image-list-tree.d.ts.map +1 -1
- package/dist/components/image-list/components/strip-item.d.ts.map +1 -1
- package/dist/components/image-list/hooks/useCommandPickers.d.ts +13 -0
- package/dist/components/image-list/hooks/useCommandPickers.d.ts.map +1 -0
- package/dist/components/image-list/image-list-column-utils.d.ts +9 -0
- package/dist/components/image-list/image-list-column-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-context.d.ts +5 -2
- package/dist/components/image-list/image-list-context.d.ts.map +1 -1
- package/dist/components/image-list/image-list-debug-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-debug-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-context.d.ts +9 -0
- package/dist/components/image-list/image-list-filter-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts +12 -0
- package/dist/components/image-list/image-list-filter-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-context.d.ts +9 -0
- package/dist/components/image-list/image-list-sort-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts +13 -0
- package/dist/components/image-list/image-list-sort-utils.d.ts.map +1 -0
- package/dist/components/image-list/image-list-state-context.d.ts +5 -0
- package/dist/components/image-list/image-list-state-context.d.ts.map +1 -0
- package/dist/components/image-list/image-list-types.d.ts +45 -2
- package/dist/components/image-list/image-list-types.d.ts.map +1 -1
- package/dist/components/image-list/image-list-utils.d.ts +24 -1
- package/dist/components/image-list/image-list-utils.d.ts.map +1 -1
- package/dist/components/image-list/image-list.d.ts +1 -1
- package/dist/components/image-list/image-list.d.ts.map +1 -1
- package/dist/cose-bilkent-S5V4N54A-B30Rh9DR.js +2250 -0
- package/dist/cose-bilkent-S5V4N54A-Bhdp-wcb.cjs +1 -0
- package/dist/cytoscape.esm-CPjF_mSK.js +18100 -0
- package/dist/cytoscape.esm-CrBwLFXE.cjs +321 -0
- package/dist/dagre-BjnWDdkw.cjs +1 -0
- package/dist/dagre-DVLnxd7n.js +1606 -0
- package/dist/dagre-KV5264BT-BjqayRYC.js +293 -0
- package/dist/dagre-KV5264BT-BvInGAUC.cjs +4 -0
- package/dist/defaultLocale-Dcyuaxxg.js +201 -0
- package/dist/defaultLocale-DtzyZW63.cjs +1 -0
- package/dist/diagram-5BDNPKRD-Bk7depC0.js +101 -0
- package/dist/diagram-5BDNPKRD-D6EXksHo.cjs +10 -0
- package/dist/diagram-G4DWMVQ6-BkQnbCLv.js +524 -0
- package/dist/diagram-G4DWMVQ6-CJASbR70.cjs +24 -0
- package/dist/diagram-MMDJMWI5-DEt7jQx9.cjs +43 -0
- package/dist/diagram-MMDJMWI5-DUUVPi55.js +213 -0
- package/dist/diagram-TYMM5635-5auoAFCi.cjs +24 -0
- package/dist/diagram-TYMM5635-Cpj8wfoJ.js +133 -0
- package/dist/dist-BgvMZbfo.cjs +1 -0
- package/dist/dist-DL30VIBI.js +60 -0
- package/dist/erDiagram-SMLLAGMA-DVUT6TBy.cjs +85 -0
- package/dist/erDiagram-SMLLAGMA-D_ByPk0C.js +1700 -0
- package/dist/flatten-BE1bWL-7.js +40 -0
- package/dist/flatten-DxvYSoR8.cjs +1 -0
- package/dist/flowDiagram-DWJPFMVM-BWrkDnqc.js +4145 -0
- package/dist/flowDiagram-DWJPFMVM-BbK42NaF.cjs +162 -0
- package/dist/functional-components/action/action-types.d.ts +6 -1
- package/dist/functional-components/action/action-types.d.ts.map +1 -1
- package/dist/functional-components/action/action.d.ts.map +1 -1
- package/dist/ganttDiagram-T4ZO3ILL-DUi8jF9H.cjs +292 -0
- package/dist/ganttDiagram-T4ZO3ILL-LuaYkUvj.js +3077 -0
- package/dist/gitGraph-7Q5UKJZL-DZea3ltD.cjs +1 -0
- package/dist/gitGraph-7Q5UKJZL-sjlqDwJ_.js +3 -0
- package/dist/gitGraphDiagram-UUTBAWPF-D-tMWUQ1.cjs +106 -0
- package/dist/gitGraphDiagram-UUTBAWPF-DKkENwcV.js +728 -0
- package/dist/graphlib-Cpifseqb.js +373 -0
- package/dist/graphlib-HdfvGLpV.cjs +1 -0
- package/dist/hooks/useClickOutside.d.ts.map +1 -1
- package/dist/identity-KQSjemTb.cjs +1 -0
- package/dist/identity-g0dsMjx7.js +393 -0
- package/dist/info-OMHHGYJF-Bk0VWVNW.js +3 -0
- package/dist/info-OMHHGYJF-C8QtwF0k.cjs +1 -0
- package/dist/infoDiagram-42DDH7IO-CH5xHj8H.cjs +2 -0
- package/dist/infoDiagram-42DDH7IO-CLkQPFe0.js +19 -0
- package/dist/init-B2MubQrj.cjs +1 -0
- package/dist/init-BO60vQHJ.js +15 -0
- package/dist/isEmpty-CA3kJuev.cjs +1 -0
- package/dist/isEmpty-RwX-oIQS.js +35 -0
- package/dist/ishikawaDiagram-UXIWVN3A-Cl3Ivm8H.cjs +70 -0
- package/dist/ishikawaDiagram-UXIWVN3A-DqbVPChK.js +718 -0
- package/dist/journeyDiagram-VCZTEJTY-DudduR0c.js +883 -0
- package/dist/journeyDiagram-VCZTEJTY-XRc0J8gM.cjs +139 -0
- package/dist/kanban-definition-6JOO6SKY-Br87atRc.cjs +89 -0
- package/dist/kanban-definition-6JOO6SKY-DzEqE64J.js +973 -0
- package/dist/katex-Du5WiYIy.js +22000 -0
- package/dist/katex-SAH56fvc.cjs +257 -0
- package/dist/ketchup2.cjs.js +190 -1
- package/dist/ketchup2.css +2 -1
- package/dist/ketchup2.es.js +132419 -52
- package/dist/line-BbHmiwbs.cjs +1 -0
- package/dist/line-JyRBGWft.js +34 -0
- package/dist/linear-BsPvNLJv.js +289 -0
- package/dist/linear-CxHa1DsM.cjs +1 -0
- package/dist/mermaid-parser.core-CERDf-UG.js +69 -0
- package/dist/mermaid-parser.core-DHpvGOZR.cjs +3 -0
- package/dist/mindmap-definition-QFDTVHPH-BCq8zmLt.cjs +96 -0
- package/dist/mindmap-definition-QFDTVHPH-NGjPQ5SM.js +978 -0
- package/dist/ordinal-C-VoL0XF.js +65 -0
- package/dist/ordinal-Civr0hZL.cjs +1 -0
- package/dist/packet-4T2RLAQJ-X0BMsNFj.js +3 -0
- package/dist/packet-4T2RLAQJ-lvmQnXPI.cjs +1 -0
- package/dist/path-Civic7PQ.cjs +1 -0
- package/dist/path-CvfwEr8y.js +85 -0
- package/dist/pie-ZZUOXDRM-CJ_fU5k1.js +3 -0
- package/dist/pie-ZZUOXDRM-Dp4APKqR.cjs +1 -0
- package/dist/pieDiagram-DEJITSTG-CK4xy0PS.cjs +30 -0
- package/dist/pieDiagram-DEJITSTG-DTeyzHmB.js +165 -0
- package/dist/quadrantDiagram-34T5L4WZ-CCcJIf91.js +1974 -0
- package/dist/quadrantDiagram-34T5L4WZ-D-_iiK79.cjs +7 -0
- package/dist/radar-PYXPWWZC-BHWJy_E1.cjs +1 -0
- package/dist/radar-PYXPWWZC-DgZIW9Ah.js +3 -0
- package/dist/reduce-B7WW9rkU.cjs +1 -0
- package/dist/reduce-DNnkcf3M.js +532 -0
- package/dist/requirementDiagram-MS252O5E-BdOanuYe.js +2221 -0
- package/dist/requirementDiagram-MS252O5E-EfY029Xj.cjs +84 -0
- package/dist/rough.esm-1mqTSjCt.js +1352 -0
- package/dist/rough.esm-BLKo1fIQ.cjs +1 -0
- package/dist/sankeyDiagram-XADWPNL6-3jlM2UcU.cjs +10 -0
- package/dist/sankeyDiagram-XADWPNL6-3wviN_U4.js +920 -0
- package/dist/sequenceDiagram-FGHM5R23-DC8SjhFN.js +4157 -0
- package/dist/sequenceDiagram-FGHM5R23-lK1G3QLN.cjs +157 -0
- package/dist/src-BQiFKP24.js +2146 -0
- package/dist/src-DFxq-N5I.cjs +1 -0
- package/dist/stateDiagram-FHFEXIEX-DnkzFphf.js +217 -0
- package/dist/stateDiagram-FHFEXIEX-DsQigFuR.cjs +1 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-2v8JiIJr.js +27 -0
- package/dist/stateDiagram-v2-QKLJ7IA2-UKKfWPoT.cjs +1 -0
- package/dist/timeline-definition-GMOUNBTQ-CBnYBWN0.js +1068 -0
- package/dist/timeline-definition-GMOUNBTQ-DWpngnE4.cjs +120 -0
- package/dist/treeView-SZITEDCU-CT5vX0q9.cjs +1 -0
- package/dist/treeView-SZITEDCU-Df3xzFtO.js +3 -0
- package/dist/treemap-W4RFUUIX-Bk_jVZ7D.cjs +1 -0
- package/dist/treemap-W4RFUUIX-ClUtdSdn.js +3 -0
- package/dist/utils/translation.d.ts.map +1 -1
- package/dist/v4-6yr83DbP.cjs +1 -0
- package/dist/v4-BR71w5_q.js +33 -0
- package/dist/vennDiagram-DHZGUBPP-D-kj-sVU.cjs +34 -0
- package/dist/vennDiagram-DHZGUBPP-M-kkEkXj.js +1858 -0
- package/dist/wardley-RL74JXVD-BtHQbnUy.js +3 -0
- package/dist/wardley-RL74JXVD-y8RO5Iqv.cjs +1 -0
- package/dist/wardleyDiagram-NUSXRM2D-CUX1SYhw.js +578 -0
- package/dist/wardleyDiagram-NUSXRM2D-thoOuA_D.cjs +20 -0
- package/dist/xychartDiagram-5P7HB3ND-1cXRZ1bi.js +2044 -0
- package/dist/xychartDiagram-5P7HB3ND-BF2WmJ4-.cjs +7 -0
- package/package.json +31 -31
- package/dist/_basePickBy-CPekwY_Z.js +0 -151
- package/dist/_basePickBy-DDhgLyLp.cjs +0 -1
- package/dist/_baseUniq-CAhfZr5S.js +0 -614
- package/dist/_baseUniq-bLb2QO_4.cjs +0 -1
- package/dist/arc-CnmUepZA.cjs +0 -1
- package/dist/arc-Md6Ds0JZ.js +0 -83
- package/dist/architecture-7HQA4BMR-DLImbuCr.js +0 -6
- package/dist/architecture-7HQA4BMR-zD1jCFXs.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-BkTy7RJA.js +0 -4661
- package/dist/architectureDiagram-VXUJARFQ-Vl-ya9R6.cjs +0 -36
- package/dist/blockDiagram-VD42YOAC-C9AJNM79.js +0 -2256
- package/dist/blockDiagram-VD42YOAC-D_EmYywD.cjs +0 -122
- package/dist/c4Diagram-YG6GDRKO-BfwBYulK.cjs +0 -10
- package/dist/c4Diagram-YG6GDRKO-YW-l-SYp.js +0 -1580
- package/dist/channel-BGeX_R6w.cjs +0 -1
- package/dist/channel-lqmaHMPZ.js +0 -5
- package/dist/chunk-4BX2VUAB-C6nahV0u.cjs +0 -1
- package/dist/chunk-4BX2VUAB-UMbIiF-V.js +0 -8
- package/dist/chunk-55IACEB6-CH_wWg2p.js +0 -8
- package/dist/chunk-55IACEB6-Cxt8uWHb.cjs +0 -1
- package/dist/chunk-B4BG7PRW-CTNZzNh0.js +0 -1375
- package/dist/chunk-B4BG7PRW-ekpXKNa3.cjs +0 -165
- package/dist/chunk-DI55MBZ5-BrLh6Fue.js +0 -1370
- package/dist/chunk-DI55MBZ5-TYqUGYGr.cjs +0 -220
- package/dist/chunk-FMBD7UC4-D0Nmh8EL.cjs +0 -15
- package/dist/chunk-QN33PNHL-B91UelWj.js +0 -19
- package/dist/chunk-QN33PNHL-KGNgU1-8.cjs +0 -1
- package/dist/chunk-QZHKN3VN-IV7jnz-R.js +0 -15
- package/dist/chunk-QZHKN3VN-ajuovO9B.cjs +0 -1
- package/dist/chunk-TZMSLE5B-Bkf7U79o.cjs +0 -1
- package/dist/chunk-TZMSLE5B-DArsm2Pn.js +0 -64
- package/dist/classDiagram-2ON5EDUG-C0_Gqd5k.js +0 -16
- package/dist/classDiagram-2ON5EDUG-Cnous8-m.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-C0_Gqd5k.js +0 -16
- package/dist/classDiagram-v2-WZHVMYZB-Cnous8-m.cjs +0 -1
- package/dist/clone-B_MxWhab.js +0 -8
- package/dist/clone-D6gFD6F-.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-DHZ_jZYH.js +0 -2608
- package/dist/cose-bilkent-S5V4N54A-Da7jSuau.cjs +0 -1
- package/dist/cytoscape.esm-CNUX3VTg.cjs +0 -321
- package/dist/cytoscape.esm-Cvf3sx9F.js +0 -18704
- package/dist/dagre-6UL2VRFP-CI2ww-SU.js +0 -444
- package/dist/dagre-6UL2VRFP-qOR4yAIQ.cjs +0 -4
- package/dist/defaultLocale-D7EN2tov.js +0 -171
- package/dist/defaultLocale-DIVzfLaQ.cjs +0 -1
- package/dist/diagram-PSM6KHXK-1g8345m3.js +0 -531
- package/dist/diagram-PSM6KHXK-DHWL3g5V.cjs +0 -24
- package/dist/diagram-QEK2KX5R-B-VP4dVY.js +0 -217
- package/dist/diagram-QEK2KX5R-DDWbMmAv.cjs +0 -43
- package/dist/diagram-S2PKOQOG-BbSGqLET.js +0 -142
- package/dist/diagram-S2PKOQOG-Djw9RGNh.cjs +0 -24
- package/dist/erDiagram-Q2GNP2WA-CxY1P4hJ.js +0 -841
- package/dist/erDiagram-Q2GNP2WA-Pw9i-eBN.cjs +0 -60
- package/dist/flowDiagram-NV44I4VS-BOr3T0H8.js +0 -1620
- package/dist/flowDiagram-NV44I4VS-D9VKU1cV.cjs +0 -162
- package/dist/ganttDiagram-JELNMOA3-B4T6J11z.js +0 -2670
- package/dist/ganttDiagram-JELNMOA3-C4Y4VT0h.cjs +0 -267
- package/dist/gitGraph-G5XIXVHT-C5QaeLIs.cjs +0 -1
- package/dist/gitGraph-G5XIXVHT-bOZ2ppp1.js +0 -6
- package/dist/gitGraphDiagram-V2S2FVAM-CteUW9ML.js +0 -699
- package/dist/gitGraphDiagram-V2S2FVAM-D_v6ae_z.cjs +0 -65
- package/dist/graph-BBPk5jyk.cjs +0 -1
- package/dist/graph-h6vsxKyr.js +0 -247
- package/dist/index-CYQM-t1d.cjs +0 -390
- package/dist/index-FiV1b00w.js +0 -133122
- package/dist/info-VBDWY6EO-BEIYBsnB.cjs +0 -1
- package/dist/info-VBDWY6EO-BQAW_660.js +0 -6
- package/dist/infoDiagram-HS3SLOUP-DMalb3kC.js +0 -24
- package/dist/infoDiagram-HS3SLOUP-Tepm6ygN.cjs +0 -2
- package/dist/init-CHZsXQcr.cjs +0 -1
- package/dist/init-DjUOC4st.js +0 -16
- package/dist/journeyDiagram-XKPGCS4Q-CzePcKne.cjs +0 -139
- package/dist/journeyDiagram-XKPGCS4Q-D0u-RLFV.js +0 -834
- package/dist/kanban-definition-3W4ZIXB7-BSCzAsMJ.js +0 -719
- package/dist/kanban-definition-3W4ZIXB7-DdbH9sci.cjs +0 -89
- package/dist/katex-C2g-EhzP.cjs +0 -261
- package/dist/katex-CUSbq6rG.js +0 -11692
- package/dist/layout-6z7-eUnZ.js +0 -1335
- package/dist/layout-DbcrMh5B.cjs +0 -1
- package/dist/linear-BKevCbhh.js +0 -259
- package/dist/linear-C7uVEtWW.cjs +0 -1
- package/dist/mermaid-parser.core-Cwy51n_e.js +0 -17907
- package/dist/mermaid-parser.core-DQ2yhapR.cjs +0 -160
- package/dist/mindmap-definition-VGOIOE7T-CcEisj0R.cjs +0 -68
- package/dist/mindmap-definition-VGOIOE7T-xp6GmSIx.js +0 -758
- package/dist/ordinal-B6-f3MAq.js +0 -61
- package/dist/ordinal-CagbB1m8.cjs +0 -1
- package/dist/packet-DYOGHKS2-BGgwnMhM.js +0 -6
- package/dist/packet-DYOGHKS2-BWg8qxI8.cjs +0 -1
- package/dist/pie-VRWISCQL-DhM8CUW4.cjs +0 -1
- package/dist/pie-VRWISCQL-DrWIWm7W.js +0 -6
- package/dist/pieDiagram-ADFJNKIX-BdvacM-Z.cjs +0 -30
- package/dist/pieDiagram-ADFJNKIX-D6Fa7W_r.js +0 -161
- package/dist/quadrantDiagram-AYHSOK5B-CHMoSBvg.js +0 -1022
- package/dist/quadrantDiagram-AYHSOK5B-ddq5zZEg.cjs +0 -7
- package/dist/radar-ZZBFDIW7-CPvW4Njh.js +0 -6
- package/dist/radar-ZZBFDIW7-YJK72BlV.cjs +0 -1
- package/dist/requirementDiagram-UZGBJVZJ-Cr9HnGVO.js +0 -850
- package/dist/requirementDiagram-UZGBJVZJ-NdpzVbnf.cjs +0 -64
- package/dist/sankeyDiagram-TZEHDZUN-3f19WwKd.js +0 -810
- package/dist/sankeyDiagram-TZEHDZUN-D2Hzq4Kr.cjs +0 -10
- package/dist/sequenceDiagram-WL72ISMW-Cu-7V--6.js +0 -2511
- package/dist/sequenceDiagram-WL72ISMW-Nk6vhSK9.cjs +0 -145
- package/dist/stateDiagram-FKZM4ZOC-BSnDKUaW.cjs +0 -1
- package/dist/stateDiagram-FKZM4ZOC-BleTIniP.js +0 -263
- package/dist/stateDiagram-v2-4FDKWEC3-7EjW078x.js +0 -16
- package/dist/stateDiagram-v2-4FDKWEC3-BJPzO53y.cjs +0 -1
- package/dist/timeline-definition-IT6M3QCI-CFTjPpKy.js +0 -795
- package/dist/timeline-definition-IT6M3QCI-CfaGtuF2.cjs +0 -61
- package/dist/treemap-GDKQZRPO-CtDdEOaj.cjs +0 -1
- package/dist/treemap-GDKQZRPO-DlODAdQ2.js +0 -6
- package/dist/xychartDiagram-PRI3JC2R-mShGv2CD.cjs +0 -7
- package/dist/xychartDiagram-PRI3JC2R-vEJER5zT.js +0 -1340
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
import { b as e, w as t, y as n } from "./chunk-ICPOFSXX-Sn6LWD0k.js";
|
|
2
|
+
import { g as r, h as i, p as a } from "./src-BQiFKP24.js";
|
|
3
|
+
import { B as o, F as s, G as c, H as l, I as u, L as d, P as f, R as p, U as m, V as h, W as g, h as _, l as v, z as y } from "./chunk-5PVQY5BW-C5U7sJAA.js";
|
|
4
|
+
import { t as b } from "./line-JyRBGWft.js";
|
|
5
|
+
import { i as x, n as S, r as C, t as w } from "./chunk-BSJP7CBP-oNTXVRA7.js";
|
|
6
|
+
import { n as T } from "./chunk-ZZ45TVLE-CIYrdg-O.js";
|
|
7
|
+
import { i as E, n as ee } from "./chunk-X2U36JSP-CY7mJR8m.js";
|
|
8
|
+
import { n as D } from "./chunk-U2HBQHQK-BZ3YFMXB.js";
|
|
9
|
+
import { t as te } from "./rough.esm-1mqTSjCt.js";
|
|
10
|
+
import { r as O } from "./chunk-5FUZZQ4R-2kdZJWq2.js";
|
|
11
|
+
//#region node_modules/mermaid/dist/chunks/mermaid.core/chunk-ENJZ2VHE.mjs
|
|
12
|
+
var k = /* @__PURE__ */ i((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 = {
|
|
15
|
+
arrow_cross: {
|
|
16
|
+
type: "cross",
|
|
17
|
+
fill: !1
|
|
18
|
+
},
|
|
19
|
+
arrow_point: {
|
|
20
|
+
type: "point",
|
|
21
|
+
fill: !0
|
|
22
|
+
},
|
|
23
|
+
arrow_barb: {
|
|
24
|
+
type: "barb",
|
|
25
|
+
fill: !0
|
|
26
|
+
},
|
|
27
|
+
arrow_barb_neo: {
|
|
28
|
+
type: "barb",
|
|
29
|
+
fill: !0
|
|
30
|
+
},
|
|
31
|
+
arrow_circle: {
|
|
32
|
+
type: "circle",
|
|
33
|
+
fill: !1
|
|
34
|
+
},
|
|
35
|
+
aggregation: {
|
|
36
|
+
type: "aggregation",
|
|
37
|
+
fill: !1
|
|
38
|
+
},
|
|
39
|
+
extension: {
|
|
40
|
+
type: "extension",
|
|
41
|
+
fill: !1
|
|
42
|
+
},
|
|
43
|
+
composition: {
|
|
44
|
+
type: "composition",
|
|
45
|
+
fill: !0
|
|
46
|
+
},
|
|
47
|
+
dependency: {
|
|
48
|
+
type: "dependency",
|
|
49
|
+
fill: !0
|
|
50
|
+
},
|
|
51
|
+
lollipop: {
|
|
52
|
+
type: "lollipop",
|
|
53
|
+
fill: !1
|
|
54
|
+
},
|
|
55
|
+
only_one: {
|
|
56
|
+
type: "onlyOne",
|
|
57
|
+
fill: !1
|
|
58
|
+
},
|
|
59
|
+
zero_or_one: {
|
|
60
|
+
type: "zeroOrOne",
|
|
61
|
+
fill: !1
|
|
62
|
+
},
|
|
63
|
+
one_or_more: {
|
|
64
|
+
type: "oneOrMore",
|
|
65
|
+
fill: !1
|
|
66
|
+
},
|
|
67
|
+
zero_or_more: {
|
|
68
|
+
type: "zeroOrMore",
|
|
69
|
+
fill: !1
|
|
70
|
+
},
|
|
71
|
+
requirement_arrow: {
|
|
72
|
+
type: "requirement_arrow",
|
|
73
|
+
fill: !1
|
|
74
|
+
},
|
|
75
|
+
requirement_contains: {
|
|
76
|
+
type: "requirement_contains",
|
|
77
|
+
fill: !1
|
|
78
|
+
}
|
|
79
|
+
}, j = [
|
|
80
|
+
"cross",
|
|
81
|
+
"point",
|
|
82
|
+
"circle",
|
|
83
|
+
"lollipop",
|
|
84
|
+
"aggregation",
|
|
85
|
+
"extension",
|
|
86
|
+
"composition",
|
|
87
|
+
"dependency",
|
|
88
|
+
"barb"
|
|
89
|
+
], M = /* @__PURE__ */ i((e, t, n, i, a, o, s = !1, c) => {
|
|
90
|
+
let l = A[n], u = l && j.includes(l.type);
|
|
91
|
+
if (!l) {
|
|
92
|
+
r.warn(`Unknown arrow type: ${n}`);
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
let d = `${a}_${o}-${l.type}${t === "start" ? "Start" : "End"}${s && u ? "-margin" : ""}`;
|
|
96
|
+
if (c && c.trim() !== "") {
|
|
97
|
+
let n = `${d}_${c.replace(/[^\dA-Za-z]/g, "_")}`;
|
|
98
|
+
if (!document.getElementById(n)) {
|
|
99
|
+
let e = document.getElementById(d);
|
|
100
|
+
if (e) {
|
|
101
|
+
let t = e.cloneNode(!0);
|
|
102
|
+
t.id = n, t.querySelectorAll("path, circle, line").forEach((e) => {
|
|
103
|
+
e.setAttribute("stroke", c), l.fill && e.setAttribute("fill", c);
|
|
104
|
+
}), e.parentNode?.appendChild(t);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
e.attr(`marker-${t}`, `url(${i}#${n})`);
|
|
108
|
+
} else e.attr(`marker-${t}`, `url(${i}#${d})`);
|
|
109
|
+
}, "addEdgeMarker"), ne = /* @__PURE__ */ i((t) => typeof t == "string" ? t : e()?.flowchart?.curve, "resolveEdgeCurveType"), N = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ i(() => {
|
|
110
|
+
N.clear(), P.clear();
|
|
111
|
+
}, "clear"), I = /* @__PURE__ */ i((e) => e ? typeof e == "string" ? e : e.reduce((e, t) => e + ";" + t, "") : "", "getLabelStyles"), L = /* @__PURE__ */ i(async (n, i) => {
|
|
112
|
+
let o = e(), s = t(o), { labelStyles: c } = E(i);
|
|
113
|
+
i.labelStyle = c;
|
|
114
|
+
let l = n.insert("g").attr("class", "edgeLabel"), u = l.insert("g").attr("class", "label").attr("data-id", i.id), d = i.labelType === "markdown", f = await D(n, i.label, {
|
|
115
|
+
style: I(i.labelStyle),
|
|
116
|
+
useHtmlLabels: s,
|
|
117
|
+
addSvgBackground: !0,
|
|
118
|
+
isNode: !1,
|
|
119
|
+
markdown: d,
|
|
120
|
+
width: void 0
|
|
121
|
+
}, o);
|
|
122
|
+
u.node().appendChild(f), r.info("abc82", i, i.labelType);
|
|
123
|
+
let p = f.getBBox(), m = p;
|
|
124
|
+
if (s) {
|
|
125
|
+
let e = f.children[0], t = a(f);
|
|
126
|
+
p = e.getBoundingClientRect(), m = p, t.attr("width", p.width), t.attr("height", p.height);
|
|
127
|
+
} else {
|
|
128
|
+
let e = a(f).select("text").node();
|
|
129
|
+
e && typeof e.getBBox == "function" && (m = e.getBBox());
|
|
130
|
+
}
|
|
131
|
+
u.attr("transform", w(m, s)), N.set(i.id, l), i.width = p.width, i.height = p.height;
|
|
132
|
+
let h;
|
|
133
|
+
if (i.startLabelLeft) {
|
|
134
|
+
let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.startLabelLeft, I(i.labelStyle) || "", !1, !1);
|
|
135
|
+
h = r;
|
|
136
|
+
let o = r.getBBox();
|
|
137
|
+
if (s) {
|
|
138
|
+
let e = r.children[0], t = a(r);
|
|
139
|
+
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
140
|
+
}
|
|
141
|
+
t.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startLeft = e, R(h, i.startLabelLeft);
|
|
142
|
+
}
|
|
143
|
+
if (i.startLabelRight) {
|
|
144
|
+
let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.startLabelRight, I(i.labelStyle) || "", !1, !1);
|
|
145
|
+
h = r, t.node().appendChild(r);
|
|
146
|
+
let o = r.getBBox();
|
|
147
|
+
if (s) {
|
|
148
|
+
let e = r.children[0], t = a(r);
|
|
149
|
+
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
150
|
+
}
|
|
151
|
+
t.attr("transform", w(o, s)), P.get(i.id) || P.set(i.id, {}), P.get(i.id).startRight = e, R(h, i.startLabelRight);
|
|
152
|
+
}
|
|
153
|
+
if (i.endLabelLeft) {
|
|
154
|
+
let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.endLabelLeft, I(i.labelStyle) || "", !1, !1);
|
|
155
|
+
h = r;
|
|
156
|
+
let o = r.getBBox();
|
|
157
|
+
if (s) {
|
|
158
|
+
let e = r.children[0], t = a(r);
|
|
159
|
+
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
160
|
+
}
|
|
161
|
+
t.attr("transform", w(o, s)), e.node().appendChild(r), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endLeft = e, R(h, i.endLabelLeft);
|
|
162
|
+
}
|
|
163
|
+
if (i.endLabelRight) {
|
|
164
|
+
let e = n.insert("g").attr("class", "edgeTerminals"), t = e.insert("g").attr("class", "inner"), r = await O(t, i.endLabelRight, I(i.labelStyle) || "", !1, !1);
|
|
165
|
+
h = r;
|
|
166
|
+
let o = r.getBBox();
|
|
167
|
+
if (s) {
|
|
168
|
+
let e = r.children[0], t = a(r);
|
|
169
|
+
o = e.getBoundingClientRect(), t.attr("width", o.width), t.attr("height", o.height);
|
|
170
|
+
}
|
|
171
|
+
t.attr("transform", w(o, s)), e.node().appendChild(r), P.get(i.id) || P.set(i.id, {}), P.get(i.id).endRight = e, R(h, i.endLabelRight);
|
|
172
|
+
}
|
|
173
|
+
return f;
|
|
174
|
+
}, "insertEdgeLabel");
|
|
175
|
+
function R(n, r) {
|
|
176
|
+
t(e()) && n && (n.style.width = r.length * 9 + "px", n.style.height = "12px");
|
|
177
|
+
}
|
|
178
|
+
i(R, "setTerminalWidth");
|
|
179
|
+
var z = /* @__PURE__ */ i((t, n) => {
|
|
180
|
+
r.debug("Moving label abc88 ", t.id, t.label, N.get(t.id), n);
|
|
181
|
+
let i = n.updatedPath ? n.updatedPath : n.originalPath, { subGraphTitleTotalMargin: a } = T(e());
|
|
182
|
+
if (t.label) {
|
|
183
|
+
let e = N.get(t.id), o = t.x, s = t.y;
|
|
184
|
+
if (i) {
|
|
185
|
+
let e = _.calcLabelPosition(i);
|
|
186
|
+
r.debug("Moving label " + t.label + " from (", o, ",", s, ") to (", e.x, ",", e.y, ") abc88"), n.updatedPath && (o = e.x, s = e.y);
|
|
187
|
+
}
|
|
188
|
+
e.attr("transform", `translate(${o}, ${s + a / 2})`);
|
|
189
|
+
}
|
|
190
|
+
if (t.startLabelLeft) {
|
|
191
|
+
let e = P.get(t.id).startLeft, n = t.x, r = t.y;
|
|
192
|
+
if (i) {
|
|
193
|
+
let e = _.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_left", i);
|
|
194
|
+
n = e.x, r = e.y;
|
|
195
|
+
}
|
|
196
|
+
e.attr("transform", `translate(${n}, ${r})`);
|
|
197
|
+
}
|
|
198
|
+
if (t.startLabelRight) {
|
|
199
|
+
let e = P.get(t.id).startRight, n = t.x, r = t.y;
|
|
200
|
+
if (i) {
|
|
201
|
+
let e = _.calcTerminalLabelPosition(t.arrowTypeStart ? 10 : 0, "start_right", i);
|
|
202
|
+
n = e.x, r = e.y;
|
|
203
|
+
}
|
|
204
|
+
e.attr("transform", `translate(${n}, ${r})`);
|
|
205
|
+
}
|
|
206
|
+
if (t.endLabelLeft) {
|
|
207
|
+
let e = P.get(t.id).endLeft, n = t.x, r = t.y;
|
|
208
|
+
if (i) {
|
|
209
|
+
let e = _.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_left", i);
|
|
210
|
+
n = e.x, r = e.y;
|
|
211
|
+
}
|
|
212
|
+
e.attr("transform", `translate(${n}, ${r})`);
|
|
213
|
+
}
|
|
214
|
+
if (t.endLabelRight) {
|
|
215
|
+
let e = P.get(t.id).endRight, n = t.x, r = t.y;
|
|
216
|
+
if (i) {
|
|
217
|
+
let e = _.calcTerminalLabelPosition(t.arrowTypeEnd ? 10 : 0, "end_right", i);
|
|
218
|
+
n = e.x, r = e.y;
|
|
219
|
+
}
|
|
220
|
+
e.attr("transform", `translate(${n}, ${r})`);
|
|
221
|
+
}
|
|
222
|
+
}, "positionEdgeLabel"), B = /* @__PURE__ */ i((e, t) => {
|
|
223
|
+
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
|
+
return i >= o || a >= s;
|
|
225
|
+
}, "outsideNode"), V = /* @__PURE__ */ i((e, t, n) => {
|
|
226
|
+
r.debug(`intersection calc abc89:
|
|
227
|
+
outsidePoint: ${JSON.stringify(t)}
|
|
228
|
+
insidePoint : ${JSON.stringify(n)}
|
|
229
|
+
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);
|
|
230
|
+
let i = e.x, a = e.y, o = Math.abs(i - n.x), s = e.width / 2, c = n.x < t.x ? s - o : s + o, l = e.height / 2, u = Math.abs(t.y - n.y), d = Math.abs(t.x - n.x);
|
|
231
|
+
if (Math.abs(a - t.y) * s > Math.abs(i - t.x) * l) {
|
|
232
|
+
let e = n.y < t.y ? t.y - l - a : a - l - t.y;
|
|
233
|
+
c = d * e / u;
|
|
234
|
+
let i = {
|
|
235
|
+
x: n.x < t.x ? n.x + c : n.x - d + c,
|
|
236
|
+
y: n.y < t.y ? n.y + u - e : n.y - u + e
|
|
237
|
+
};
|
|
238
|
+
return c === 0 && (i.x = t.x, i.y = t.y), d === 0 && (i.x = t.x), u === 0 && (i.y = t.y), r.debug(`abc89 top/bottom calc, Q ${u}, q ${e}, R ${d}, r ${c}`, i), i;
|
|
239
|
+
} else {
|
|
240
|
+
c = n.x < t.x ? t.x - s - i : i - s - t.x;
|
|
241
|
+
let e = u * c / d, a = n.x < t.x ? n.x + d - c : n.x - d + c, o = n.y < t.y ? n.y + e : n.y - e;
|
|
242
|
+
return r.debug(`sides calc abc89, Q ${u}, q ${e}, R ${d}, r ${c}`, {
|
|
243
|
+
_x: a,
|
|
244
|
+
_y: o
|
|
245
|
+
}), c === 0 && (a = t.x, o = t.y), d === 0 && (a = t.x), u === 0 && (o = t.y), {
|
|
246
|
+
x: a,
|
|
247
|
+
y: o
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
}, "intersection"), H = /* @__PURE__ */ i((e, t) => {
|
|
251
|
+
r.warn("abc88 cutPathAtIntersect", e, t);
|
|
252
|
+
let n = [], i = e[0], a = !1;
|
|
253
|
+
return e.forEach((e) => {
|
|
254
|
+
if (r.info("abc88 checking point", e, t), !B(t, e) && !a) {
|
|
255
|
+
let o = V(t, i, e);
|
|
256
|
+
r.debug("abc88 inside", e, i, o), r.debug("abc88 intersection", o, t);
|
|
257
|
+
let s = !1;
|
|
258
|
+
n.forEach((e) => {
|
|
259
|
+
s ||= e.x === o.x && e.y === o.y;
|
|
260
|
+
}), n.some((e) => e.x === o.x && e.y === o.y) ? r.warn("abc88 no intersect", o, n) : n.push(o), a = !0;
|
|
261
|
+
} else r.warn("abc88 outside", e, i), i = e, a || n.push(e);
|
|
262
|
+
}), r.debug("returning points", n), n;
|
|
263
|
+
}, "cutPathAtIntersect");
|
|
264
|
+
function U(e) {
|
|
265
|
+
let t = [], n = [];
|
|
266
|
+
for (let r = 1; r < e.length - 1; r++) {
|
|
267
|
+
let i = e[r - 1], a = e[r], o = e[r + 1];
|
|
268
|
+
(i.x === a.x && a.y === o.y && Math.abs(a.x - o.x) > 5 && Math.abs(a.y - i.y) > 5 || i.y === a.y && a.x === o.x && Math.abs(a.x - i.x) > 5 && Math.abs(a.y - o.y) > 5) && (t.push(a), n.push(r));
|
|
269
|
+
}
|
|
270
|
+
return {
|
|
271
|
+
cornerPoints: t,
|
|
272
|
+
cornerPointPositions: n
|
|
273
|
+
};
|
|
274
|
+
}
|
|
275
|
+
i(U, "extractCornerPoints");
|
|
276
|
+
var W = /* @__PURE__ */ i(function(e, t, n) {
|
|
277
|
+
let r = t.x - e.x, i = t.y - e.y, a = n / Math.sqrt(r * r + i * i);
|
|
278
|
+
return {
|
|
279
|
+
x: t.x - a * r,
|
|
280
|
+
y: t.y - a * i
|
|
281
|
+
};
|
|
282
|
+
}, "findAdjacentPoint"), re = /* @__PURE__ */ i(function(e) {
|
|
283
|
+
let { cornerPointPositions: t } = U(e), n = [];
|
|
284
|
+
for (let i = 0; i < e.length; i++) if (t.includes(i)) {
|
|
285
|
+
let t = e[i - 1], a = e[i + 1], o = e[i], s = W(t, o, 5), c = W(a, o, 5), l = c.x - s.x, u = c.y - s.y;
|
|
286
|
+
n.push(s);
|
|
287
|
+
let d = Math.sqrt(2) * 2, f = {
|
|
288
|
+
x: o.x,
|
|
289
|
+
y: o.y
|
|
290
|
+
};
|
|
291
|
+
Math.abs(a.x - t.x) > 10 && Math.abs(a.y - t.y) >= 10 ? (r.debug("Corner point fixing", Math.abs(a.x - t.x), Math.abs(a.y - t.y)), f = o.x === s.x ? {
|
|
292
|
+
x: l < 0 ? s.x - 5 + d : s.x + 5 - d,
|
|
293
|
+
y: u < 0 ? s.y - d : s.y + d
|
|
294
|
+
} : {
|
|
295
|
+
x: l < 0 ? s.x - d : s.x + d,
|
|
296
|
+
y: u < 0 ? s.y - 5 + d : s.y + 5 - d
|
|
297
|
+
}) : r.debug("Corner point skipping fixing", Math.abs(a.x - t.x), Math.abs(a.y - t.y)), n.push(f, c);
|
|
298
|
+
} else n.push(e[i]);
|
|
299
|
+
return n;
|
|
300
|
+
}, "fixCorners"), ie = /* @__PURE__ */ i((e, t, n) => {
|
|
301
|
+
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__ */ i(function(t, n, i, C, w, T, E, D = !1) {
|
|
304
|
+
if (!E) throw Error(`insertEdge: missing diagramId for edge "${n.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);
|
|
305
|
+
let { handDrawnSeed: O } = e(), A = n.points, j = !1, M = w;
|
|
306
|
+
var N = T;
|
|
307
|
+
let P = [];
|
|
308
|
+
for (let e in n.cssCompiledStyles) ee(e) || P.push(n.cssCompiledStyles[e]);
|
|
309
|
+
r.debug("UIO intersect check", n.points, N.x, M.x), N.intersect && M.intersect && !D && (A = A.slice(1, n.points.length - 1), A.unshift(M.intersect(A[0])), r.debug("Last point UIO", n.start, "-->", n.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
|
+
n.toCluster && (r.info("to cluster abc88", i.get(n.toCluster)), A = H(n.points, i.get(n.toCluster).node), j = !0), n.fromCluster && (r.debug("from cluster abc88", i.get(n.fromCluster), JSON.stringify(A, null, 2)), A = H(A.reverse(), i.get(n.fromCluster).node).reverse(), j = !0);
|
|
312
|
+
let I = A.filter((e) => !Number.isNaN(e.y)), L = ne(n.curve);
|
|
313
|
+
L !== "rounded" && (I = re(I));
|
|
314
|
+
let R = c;
|
|
315
|
+
switch (L) {
|
|
316
|
+
case "linear":
|
|
317
|
+
R = c;
|
|
318
|
+
break;
|
|
319
|
+
case "basis":
|
|
320
|
+
R = l;
|
|
321
|
+
break;
|
|
322
|
+
case "cardinal":
|
|
323
|
+
R = h;
|
|
324
|
+
break;
|
|
325
|
+
case "bumpX":
|
|
326
|
+
R = m;
|
|
327
|
+
break;
|
|
328
|
+
case "bumpY":
|
|
329
|
+
R = g;
|
|
330
|
+
break;
|
|
331
|
+
case "catmullRom":
|
|
332
|
+
R = o;
|
|
333
|
+
break;
|
|
334
|
+
case "monotoneX":
|
|
335
|
+
R = p;
|
|
336
|
+
break;
|
|
337
|
+
case "monotoneY":
|
|
338
|
+
R = y;
|
|
339
|
+
break;
|
|
340
|
+
case "natural":
|
|
341
|
+
R = d;
|
|
342
|
+
break;
|
|
343
|
+
case "step":
|
|
344
|
+
R = u;
|
|
345
|
+
break;
|
|
346
|
+
case "stepAfter":
|
|
347
|
+
R = f;
|
|
348
|
+
break;
|
|
349
|
+
case "stepBefore":
|
|
350
|
+
R = s;
|
|
351
|
+
break;
|
|
352
|
+
case "rounded":
|
|
353
|
+
R = c;
|
|
354
|
+
break;
|
|
355
|
+
default: R = l;
|
|
356
|
+
}
|
|
357
|
+
let { x: z, y: B } = S(n), V = b().x(z).y(B).curve(R), U;
|
|
358
|
+
switch (n.thickness) {
|
|
359
|
+
case "normal":
|
|
360
|
+
U = "edge-thickness-normal";
|
|
361
|
+
break;
|
|
362
|
+
case "thick":
|
|
363
|
+
U = "edge-thickness-thick";
|
|
364
|
+
break;
|
|
365
|
+
case "invisible":
|
|
366
|
+
U = "edge-thickness-invisible";
|
|
367
|
+
break;
|
|
368
|
+
default: U = "edge-thickness-normal";
|
|
369
|
+
}
|
|
370
|
+
switch (n.pattern) {
|
|
371
|
+
case "solid":
|
|
372
|
+
U += " edge-pattern-solid";
|
|
373
|
+
break;
|
|
374
|
+
case "dotted":
|
|
375
|
+
U += " edge-pattern-dotted";
|
|
376
|
+
break;
|
|
377
|
+
case "dashed":
|
|
378
|
+
U += " edge-pattern-dashed";
|
|
379
|
+
break;
|
|
380
|
+
default: U += " edge-pattern-solid";
|
|
381
|
+
}
|
|
382
|
+
let W, G = L === "rounded" ? K(J(I, n), 5) : V(I), q = Array.isArray(n.style) ? n.style : [n.style], Y = q.find((e) => e?.startsWith("stroke:")), X = "";
|
|
383
|
+
n.animate && (X = "edge-animation-fast"), n.animation && (X = "edge-animation-" + n.animation);
|
|
384
|
+
let Z = !1;
|
|
385
|
+
if (n.look === "handDrawn") {
|
|
386
|
+
let e = te.svg(t);
|
|
387
|
+
Object.assign([], I);
|
|
388
|
+
let r = e.path(G, {
|
|
389
|
+
roughness: .3,
|
|
390
|
+
seed: O
|
|
391
|
+
});
|
|
392
|
+
U += " transition", W = a(r).select("path").attr("id", `${E}-${n.id}`).attr("class", " " + U + (n.classes ? " " + n.classes : "") + (X ? " " + X : "")).attr("style", q ? q.reduce((e, t) => e + ";" + t, "") : "");
|
|
393
|
+
let i = W.attr("d");
|
|
394
|
+
W.attr("d", i), t.node().appendChild(W.node());
|
|
395
|
+
} else {
|
|
396
|
+
let e = P.join(";"), r = q ? q.reduce((e, t) => e + t + ";", "") : "", i = (e ? e + ";" + r + ";" : r) + ";" + (q ? q.reduce((e, t) => e + ";" + t, "") : "");
|
|
397
|
+
W = t.append("path").attr("d", G).attr("id", `${E}-${n.id}`).attr("class", " " + U + (n.classes ? " " + n.classes : "") + (X ? " " + X : "")).attr("style", i), Y = i.match(/stroke:([^;]+)/)?.[1], Z = n.animate === !0 || !!n.animation || e.includes("animation");
|
|
398
|
+
let a = W.node(), o = typeof a.getTotalLength == "function" ? a.getTotalLength() : 0, s = x[n.arrowTypeStart] || 0, c = x[n.arrowTypeEnd] || 0;
|
|
399
|
+
if (n.look === "neo" && !Z) {
|
|
400
|
+
let e = `stroke-dasharray: ${n.pattern === "dotted" || n.pattern === "dashed" ? ie(o, s, c) : `0 ${s} ${o - s - c} ${c}`}; stroke-dashoffset: 0;`;
|
|
401
|
+
W.attr("style", e + W.attr("style"));
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
W.attr("data-edge", !0), W.attr("data-et", "edge"), W.attr("data-id", n.id), W.attr("data-points", F), W.attr("data-look", v(n.look)), n.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);
|
|
406
|
+
});
|
|
407
|
+
let Q = "";
|
|
408
|
+
(e().flowchart.arrowMarkerAbsolute || e().state.arrowMarkerAbsolute) && (Q = window.location.protocol + "//" + window.location.host + window.location.pathname + window.location.search, Q = Q.replace(/\(/g, "\\(").replace(/\)/g, "\\)")), r.info("arrowTypeStart", n.arrowTypeStart), r.info("arrowTypeEnd", n.arrowTypeEnd);
|
|
409
|
+
let ae = !Z && n?.look === "neo";
|
|
410
|
+
k(W, n, Q, E, C, ae, Y);
|
|
411
|
+
let oe = Math.floor(A.length / 2), se = A[oe];
|
|
412
|
+
_.isLabelCoordinateInPath(se, W.attr("d")) || (j = !0);
|
|
413
|
+
let $ = {};
|
|
414
|
+
return j && ($.updatedPath = A), $.originalPath = n.points, $;
|
|
415
|
+
}, "insertEdge");
|
|
416
|
+
function K(e, t) {
|
|
417
|
+
if (e.length < 2) return "";
|
|
418
|
+
let n = "", r = e.length, i = 1e-5;
|
|
419
|
+
for (let a = 0; a < r; a++) {
|
|
420
|
+
let o = e[a], s = e[a - 1], c = e[a + 1];
|
|
421
|
+
if (a === 0) n += `M${o.x},${o.y}`;
|
|
422
|
+
else if (a === r - 1) n += `L${o.x},${o.y}`;
|
|
423
|
+
else {
|
|
424
|
+
let e = o.x - s.x, r = o.y - s.y, a = c.x - o.x, l = c.y - o.y, u = Math.hypot(e, r), d = Math.hypot(a, l);
|
|
425
|
+
if (u < i || d < i) {
|
|
426
|
+
n += `L${o.x},${o.y}`;
|
|
427
|
+
continue;
|
|
428
|
+
}
|
|
429
|
+
let f = e / u, p = r / u, m = a / d, h = l / d, g = f * m + p * h, _ = Math.acos(Math.max(-1, Math.min(1, g)));
|
|
430
|
+
if (_ < i || Math.abs(Math.PI - _) < i) {
|
|
431
|
+
n += `L${o.x},${o.y}`;
|
|
432
|
+
continue;
|
|
433
|
+
}
|
|
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}`;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
return n;
|
|
439
|
+
}
|
|
440
|
+
i(K, "generateRoundedPath");
|
|
441
|
+
function q(e, t) {
|
|
442
|
+
if (!e || !t) return {
|
|
443
|
+
angle: 0,
|
|
444
|
+
deltaX: 0,
|
|
445
|
+
deltaY: 0
|
|
446
|
+
};
|
|
447
|
+
let n = t.x - e.x, r = t.y - e.y;
|
|
448
|
+
return {
|
|
449
|
+
angle: Math.atan2(r, n),
|
|
450
|
+
deltaX: n,
|
|
451
|
+
deltaY: r
|
|
452
|
+
};
|
|
453
|
+
}
|
|
454
|
+
i(q, "calculateDeltaAndAngle");
|
|
455
|
+
function J(e, t) {
|
|
456
|
+
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);
|
|
459
|
+
n[0].x = i.x + s, n[0].y = i.y + c;
|
|
460
|
+
}
|
|
461
|
+
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);
|
|
464
|
+
n[r - 1].x = a.x - c, n[r - 1].y = a.y - l;
|
|
465
|
+
}
|
|
466
|
+
return n;
|
|
467
|
+
}
|
|
468
|
+
i(J, "applyMarkerOffsetsToPoints");
|
|
469
|
+
var Y = /* @__PURE__ */ i((e, t, n, r) => {
|
|
470
|
+
t.forEach((t) => {
|
|
471
|
+
X[t](e, n, r);
|
|
472
|
+
});
|
|
473
|
+
}, "insertMarkers"), X = {
|
|
474
|
+
extension: /* @__PURE__ */ i((e, t, n) => {
|
|
475
|
+
r.trace("Making markers for ", n), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionStart").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 190).attr("markerHeight", 240).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M 1,7 L18,13 V 1 Z"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd").attr("class", "marker extension " + t).attr("refX", 1).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 1,1 V 13 L18,7 Z"), e.append("marker").attr("id", n + "_" + t + "-extensionStart-margin").attr("class", "marker extension " + t).attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,7 18,13 18,1").style("stroke-width", 2).style("stroke-dasharray", "0"), e.append("defs").append("marker").attr("id", n + "_" + t + "-extensionEnd-margin").attr("class", "marker extension " + t).attr("refX", 9).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("viewBox", "0 0 20 14").append("polygon").attr("points", "10,1 10,13 18,7").style("stroke-width", 2).style("stroke-dasharray", "0");
|
|
476
|
+
}, "extension"),
|
|
477
|
+
composition: /* @__PURE__ */ i((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");
|
|
479
|
+
}, "composition"),
|
|
480
|
+
aggregation: /* @__PURE__ */ i((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");
|
|
482
|
+
}, "aggregation"),
|
|
483
|
+
dependency: /* @__PURE__ */ i((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");
|
|
485
|
+
}, "dependency"),
|
|
486
|
+
lollipop: /* @__PURE__ */ i((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);
|
|
488
|
+
}, "lollipop"),
|
|
489
|
+
point: /* @__PURE__ */ i((e, t, n) => {
|
|
490
|
+
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
|
+
}, "point"),
|
|
492
|
+
circle: /* @__PURE__ */ i((e, t, n) => {
|
|
493
|
+
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
|
+
}, "circle"),
|
|
495
|
+
cross: /* @__PURE__ */ i((e, t, n) => {
|
|
496
|
+
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
|
+
}, "cross"),
|
|
498
|
+
barb: /* @__PURE__ */ i((e, t, n) => {
|
|
499
|
+
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
|
+
}, "barb"),
|
|
501
|
+
barbNeo: /* @__PURE__ */ i((e, t, r) => {
|
|
502
|
+
let { themeVariables: i } = n(), { transitionColor: a } = i;
|
|
503
|
+
e.append("defs").append("marker").attr("id", r + "_" + t + "-barbEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "strokeWidth").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z"), e.append("defs").append("marker").attr("id", r + "_" + t + "-barbEnd-margin").attr("refX", 17).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 14).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M 19,7 L11,14 L13,7 L11,0 Z").attr("fill", `${a}`);
|
|
504
|
+
}, "barbNeo"),
|
|
505
|
+
only_one: /* @__PURE__ */ i((e, t, n) => {
|
|
506
|
+
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
|
+
}, "only_one"),
|
|
508
|
+
zero_or_one: /* @__PURE__ */ i((e, t, n) => {
|
|
509
|
+
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
|
+
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
|
+
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
|
+
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
|
+
}, "zero_or_one"),
|
|
514
|
+
one_or_more: /* @__PURE__ */ i((e, t, n) => {
|
|
515
|
+
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
|
+
}, "one_or_more"),
|
|
517
|
+
zero_or_more: /* @__PURE__ */ i((e, t, n) => {
|
|
518
|
+
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
|
+
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
|
+
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
|
+
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
|
+
}, "zero_or_more"),
|
|
523
|
+
only_one_neo: /* @__PURE__ */ i((e, t, r) => {
|
|
524
|
+
let { themeVariables: i } = n(), { strokeWidth: a } = i;
|
|
525
|
+
e.append("defs").append("marker").attr("id", r + "_" + t + "-onlyOneStart").attr("class", "marker onlyOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M9,0 L9,18 M15,0 L15,18").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", r + "_" + t + "-onlyOneEnd").attr("class", "marker onlyOne " + t).attr("refX", 18).attr("refY", 9).attr("markerWidth", 18).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M3,0 L3,18 M9,0 L9,18").attr("stroke-width", `${a}`);
|
|
526
|
+
}, "only_one_neo"),
|
|
527
|
+
zero_or_one_neo: /* @__PURE__ */ i((e, t, r) => {
|
|
528
|
+
let { themeVariables: i } = n(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrOneStart").attr("class", "marker zeroOrOne " + t).attr("refX", 0).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
|
|
529
|
+
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
|
+
let c = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrOneEnd").attr("class", "marker zeroOrOne " + t).attr("refX", 30).attr("refY", 9).attr("markerWidth", 30).attr("markerHeight", 18).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
|
|
531
|
+
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
|
+
}, "zero_or_one_neo"),
|
|
533
|
+
one_or_more_neo: /* @__PURE__ */ i((e, t, r) => {
|
|
534
|
+
let { themeVariables: i } = n(), { strokeWidth: a } = i;
|
|
535
|
+
e.append("defs").append("marker").attr("id", r + "_" + t + "-oneOrMoreStart").attr("class", "marker oneOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("path").attr("d", "M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width", `${a}`), e.append("defs").append("marker").attr("id", r + "_" + t + "-oneOrMoreEnd").attr("class", "marker oneOrMore " + t).attr("refX", 27).attr("refY", 18).attr("markerWidth", 45).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto").append("path").attr("d", "M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width", `${a}`);
|
|
536
|
+
}, "one_or_more_neo"),
|
|
537
|
+
zero_or_more_neo: /* @__PURE__ */ i((e, t, r) => {
|
|
538
|
+
let { themeVariables: i } = n(), { strokeWidth: a, mainBkg: o } = i, s = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrMoreStart").attr("class", "marker zeroOrMore " + t).attr("refX", 18).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("markerUnits", "userSpaceOnUse").attr("orient", "auto");
|
|
539
|
+
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
|
+
let c = e.append("defs").append("marker").attr("id", r + "_" + t + "-zeroOrMoreEnd").attr("class", "marker zeroOrMore " + t).attr("refX", 39).attr("refY", 18).attr("markerWidth", 57).attr("markerHeight", 36).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse");
|
|
541
|
+
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
|
+
}, "zero_or_more_neo"),
|
|
543
|
+
requirement_arrow: /* @__PURE__ */ i((e, t, n) => {
|
|
544
|
+
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
|
+
}, "requirement_arrow"),
|
|
546
|
+
requirement_contains: /* @__PURE__ */ i((e, t, n) => {
|
|
547
|
+
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
|
+
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
|
+
}, "requirement_contains"),
|
|
550
|
+
requirement_arrow_neo: /* @__PURE__ */ i((e, t, r) => {
|
|
551
|
+
let { themeVariables: i } = n(), { strokeWidth: a } = i;
|
|
552
|
+
e.append("defs").append("marker").attr("id", r + "_" + t + "-requirement_arrowEnd").attr("refX", 20).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").attr("stroke-width", `${a}`).attr("viewBox", "0 0 25 20").append("path").attr("d", "M0,0\n L20,10\n M20,10\n L0,20").attr("stroke-linejoin", "miter");
|
|
553
|
+
}, "requirement_arrow_neo"),
|
|
554
|
+
requirement_contains_neo: /* @__PURE__ */ i((e, t, r) => {
|
|
555
|
+
let { themeVariables: i } = n(), { strokeWidth: a } = i, o = e.append("defs").append("marker").attr("id", r + "_" + t + "-requirement_containsStart").attr("refX", 0).attr("refY", 10).attr("markerWidth", 20).attr("markerHeight", 20).attr("orient", "auto").attr("markerUnits", "userSpaceOnUse").append("g");
|
|
556
|
+
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
|
+
}, "requirement_contains_neo")
|
|
558
|
+
}, Z = Y;
|
|
559
|
+
//#endregion
|
|
560
|
+
export { z as a, Z as i, G as n, L as r, F as t };
|