@diagrammo/dgmo 0.50.2 → 0.52.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/.cursorrules +15 -19
- package/.github/copilot-instructions.md +15 -19
- package/.windsurfrules +15 -19
- package/SKILL.md +15 -19
- package/dist/advanced.d.ts +155 -65
- package/dist/advanced.js +231 -189
- package/dist/{analyzer-UYKBXAKR.js → analyzer-BJ54GIFB.js} +3 -3
- package/dist/auto.css +31 -8
- package/dist/auto.d.ts +6 -0
- package/dist/auto.js +171 -133
- package/dist/auto.mjs +3062 -1478
- package/dist/block.css +28 -8
- package/dist/block.js +138 -72
- package/dist/charts-d3-MXEP6BNP.js +26 -0
- package/dist/{chunk-3YPY3OXD.js → chunk-3HF5YEFJ.js} +17 -7
- package/dist/{chunk-4MJ7M6YL.js → chunk-3HGU63UY.js} +14 -13
- package/dist/chunk-3LK5DNED.js +35 -0
- package/dist/{chunk-3Y2DRD7S.js → chunk-3QD7VP3U.js} +9 -4
- package/dist/{chunk-6BFZKBGD.js → chunk-3YRPZ7ZZ.js} +2 -2
- package/dist/{chunk-WW32K72E.js → chunk-44VCIPHF.js} +25 -21
- package/dist/{chunk-TN35C5KM.js → chunk-4AQRFDXL.js} +2 -2
- package/dist/{chunk-HHXOONLX.js → chunk-4B5YISOR.js} +38 -1
- package/dist/{chunk-PGEGPSCZ.js → chunk-4IHAV6O7.js} +2 -2
- package/dist/{chunk-7L3R6I3U.js → chunk-4UNQ6X24.js} +10 -7
- package/dist/{chunk-O7NUCTFU.js → chunk-4YFKQ5WT.js} +7 -4
- package/dist/{chunk-5WFIYXQ6.js → chunk-5223KXFD.js} +122 -242
- package/dist/{chunk-PFHVU7UA.js → chunk-5BHJZH62.js} +3 -3
- package/dist/{chunk-QYTPPDAO.js → chunk-5HILBT7X.js} +2 -2
- package/dist/{chunk-GKC3HILQ.js → chunk-5NGAO4QK.js} +27 -4
- package/dist/{chunk-IAEC4KLA.js → chunk-5QKQSSPO.js} +2 -2
- package/dist/{chunk-DSWVNQVS.js → chunk-5RP7JRVP.js} +4 -59
- package/dist/{chunk-MCZ5LBZD.js → chunk-5SEVICBT.js} +8 -8
- package/dist/{chunk-GBE54KY6.js → chunk-6EJITS44.js} +8 -5
- package/dist/{chunk-BBGDM4NQ.js → chunk-6HQH6JZE.js} +35 -16
- package/dist/{chunk-66NVRO4K.js → chunk-6LBQ7ELG.js} +17 -18
- package/dist/{chunk-4XK3FLFB.js → chunk-6NYWYNBI.js} +3 -3
- package/dist/{chunk-VBYSIOOY.js → chunk-75G3Q4DK.js} +3 -3
- package/dist/{chunk-3NODSS6A.js → chunk-77FGAVZC.js} +13 -10
- package/dist/{chunk-6IAA2QQ2.js → chunk-7BIZCTAX.js} +2 -2
- package/dist/{chunk-TWQUYVP3.js → chunk-7DF4J4RL.js} +4 -4
- package/dist/{chunk-66RUL3XF.js → chunk-7KINELPI.js} +111 -49
- package/dist/{chunk-L3UHP6TD.js → chunk-7L4UJOY6.js} +1 -2
- package/dist/{chunk-QJP6PG7F.js → chunk-7QE3XMRK.js} +19 -18
- package/dist/{chunk-P7CE7LXL.js → chunk-AAXZDUOV.js} +18 -17
- package/dist/{chunk-SXRTRMEE.js → chunk-AL672HNE.js} +3 -3
- package/dist/chunk-APKUAJ2L.js +220 -0
- package/dist/{chunk-SCHXJTZL.js → chunk-ARGMQ3H4.js} +2 -2
- package/dist/{chunk-HEVYAHLW.js → chunk-AUIM2NVH.js} +5 -5
- package/dist/{chunk-3LH5CLP4.js → chunk-BKVOYV6I.js} +143 -6
- package/dist/{chunk-RZ6YKEUJ.js → chunk-BPIZNB5O.js} +17 -15
- package/dist/{chunk-QROYX7TT.js → chunk-BPY242XU.js} +6 -4
- package/dist/{chunk-OTAL43EH.js → chunk-BRENJ2BQ.js} +39 -3
- package/dist/{chunk-FA6K3FWM.js → chunk-CCNDLW7Z.js} +44 -22
- package/dist/{chunk-2KGXHFYK.js → chunk-CIRFIL4M.js} +49 -29
- package/dist/chunk-DAOFNU6J.js +283 -0
- package/dist/{chunk-QJJZSROI.js → chunk-DYWQFQJP.js} +48 -38
- package/dist/{chunk-XEGTMVYY.js → chunk-EMLPOL77.js} +15 -8
- package/dist/{chunk-NWED7CYO.js → chunk-FHGVORFO.js} +29 -25
- package/dist/{chunk-U2HGPLZS.js → chunk-FQ7HTV52.js} +17 -2
- package/dist/{chunk-H73FP42Q.js → chunk-FQMUHRVC.js} +70 -31
- package/dist/{chunk-BTUTZMPT.js → chunk-FT3ZYWET.js} +108 -42
- package/dist/{chunk-T5SHNNGP.js → chunk-FUPF2UYQ.js} +92 -34
- package/dist/{chunk-3XPUDB7B.js → chunk-FY5MSZAP.js} +279 -39
- package/dist/{chunk-M5RXSRO2.js → chunk-GCYTI3DE.js} +42 -33
- package/dist/{chunk-DN66GPY5.js → chunk-GJFAMOGK.js} +24 -3
- package/dist/{chunk-F2L5GCQ4.js → chunk-GU46PPT3.js} +3 -3
- package/dist/{chunk-6IUAK7RZ.js → chunk-H6PI3KJT.js} +2 -2
- package/dist/{chunk-ONA5KPV3.js → chunk-H7KENAZO.js} +18 -14
- package/dist/{chunk-SQLNBA64.js → chunk-HBPDFCQY.js} +3 -3
- package/dist/{chunk-SCQ5VPUF.js → chunk-HFMYN6N2.js} +2 -2
- package/dist/{chunk-FJUNPCYI.js → chunk-HHKO6SKY.js} +2 -2
- package/dist/{chunk-DZXYF2F5.js → chunk-HQQNCY7W.js} +21 -8
- package/dist/{chunk-7TV5Y53Y.js → chunk-HWX6ZHF3.js} +3 -3
- package/dist/{chunk-3P2DKJCG.js → chunk-ICPJPQ5C.js} +2 -2
- package/dist/{chunk-VUJGMJE6.js → chunk-IM6PDDCE.js} +4 -4
- package/dist/{chunk-JJUOHGX2.js → chunk-INE5YJBZ.js} +13 -8
- package/dist/{chunk-HTMN2Z6U.js → chunk-J6QROYDA.js} +58 -11
- package/dist/{chunk-NX4EQS3U.js → chunk-J76PIKAT.js} +2 -2
- package/dist/{chunk-SVTI362O.js → chunk-J7KJR3R6.js} +129 -109
- package/dist/{chunk-JEUJOX5X.js → chunk-J7TLCB2Q.js} +2 -2
- package/dist/{chunk-O7WP4ZD4.js → chunk-JED6ZDEE.js} +2 -2
- package/dist/{chunk-J6K7RP6P.js → chunk-JRCOYRRH.js} +19 -7
- package/dist/{chunk-7QKLIMRZ.js → chunk-K2I2XOZD.js} +46 -51
- package/dist/{chunk-EAMEADTV.js → chunk-K4EOKJA6.js} +96 -24
- package/dist/{chunk-5OWVC2A6.js → chunk-KGVZ5VGH.js} +13 -10
- package/dist/{chunk-DFTFPYUD.js → chunk-LBMS4AW6.js} +22 -21
- package/dist/{chunk-VVW3F3MD.js → chunk-LGT3PZCJ.js} +27 -19
- package/dist/{chunk-OMNGQPEZ.js → chunk-LTXOLDUZ.js} +9 -6
- package/dist/{chunk-Q4V4XQWV.js → chunk-MUE65OTD.js} +5 -4
- package/dist/{chunk-5GJYGP5Z.js → chunk-MUVJ57EP.js} +14 -18
- package/dist/{chunk-CLD2OKV7.js → chunk-MX2EY5Y7.js} +2 -2
- package/dist/{chunk-OTQKUHRS.js → chunk-NNS4E7CW.js} +6 -4
- package/dist/{chunk-NNAAJVBU.js → chunk-NR5HCAUD.js} +1 -1
- package/dist/{chunk-KFZYNWWO.js → chunk-ONU3U4GL.js} +4 -4
- package/dist/{chunk-YNRDWYZP.js → chunk-OQKP2X3D.js} +170 -51
- package/dist/{chunk-AHGF2YYA.js → chunk-OTOHI4JO.js} +2 -2
- package/dist/{chunk-EOFPYPAU.js → chunk-P3NRSSUU.js} +51 -11
- package/dist/{chunk-QXKWYZNR.js → chunk-PRI2OD4E.js} +10 -3
- package/dist/{chunk-U6EQI3U6.js → chunk-QBZYACOG.js} +3 -3
- package/dist/{chunk-C2CVAM3U.js → chunk-QGATPIPX.js} +170 -91
- package/dist/{chunk-PZFVK3IH.js → chunk-QHXCAEMX.js} +8 -5
- package/dist/{chunk-BH3UYK36.js → chunk-QJMKPUYK.js} +15 -5
- package/dist/{chunk-HQCHYB5F.js → chunk-QOOUC2J5.js} +2 -2
- package/dist/{chunk-Z6XJQ6KO.js → chunk-QVENJMNX.js} +2 -2
- package/dist/{chunk-IUMPEA64.js → chunk-QZX5S6R3.js} +4 -4
- package/dist/{chunk-I7F2A35O.js → chunk-R3YSD62R.js} +25 -47
- package/dist/{chunk-NU3XLTGP.js → chunk-REJAIQ5S.js} +4 -4
- package/dist/{chunk-2C56LEML.js → chunk-ROOE4R4Y.js} +8 -5
- package/dist/{chunk-XHVV4NVW.js → chunk-RT7ACF77.js} +12 -2
- package/dist/{chunk-I2WKW7C7.js → chunk-SMRFPVLQ.js} +3 -3
- package/dist/{chunk-VDOOQZUD.js → chunk-SWSIKFEB.js} +4 -4
- package/dist/{chunk-HLJVEAOF.js → chunk-T4A4TSTJ.js} +19 -45
- package/dist/{chunk-KHEYDLMT.js → chunk-TJVLKNGR.js} +20 -10
- package/dist/{chunk-GL5UZ6NY.js → chunk-TPFKKXCB.js} +3 -3
- package/dist/{chunk-X6EZPSW6.js → chunk-TTIM6YTT.js} +31 -21
- package/dist/{chunk-BCYVE3N5.js → chunk-TYS6CSS5.js} +2 -2
- package/dist/{chunk-T4VOVZT5.js → chunk-UBLHQTLV.js} +15 -14
- package/dist/{chunk-3LKM6FMW.js → chunk-UNURMIQO.js} +2 -2
- package/dist/{chunk-TSA237IM.js → chunk-VILVLS7P.js} +5 -3
- package/dist/{chunk-HGN652MU.js → chunk-VL2O2F3W.js} +2 -2
- package/dist/{chunk-3XGZF2QJ.js → chunk-VQOCMUWI.js} +39 -28
- package/dist/{chunk-P6T66CCZ.js → chunk-WBM7ZNDI.js} +3 -2
- package/dist/{chunk-CMCR5WBW.js → chunk-WBRZJOEC.js} +3 -3
- package/dist/{chunk-5LWQH6QV.js → chunk-WCT3NYCV.js} +1 -1
- package/dist/{chunk-C4GQDB5L.js → chunk-WRNFDFPU.js} +2 -2
- package/dist/{chunk-6HJBFVLO.js → chunk-XD6ZYURY.js} +9 -4
- package/dist/{chunk-C63UWAKM.js → chunk-Y2ZE3MSG.js} +2 -2
- package/dist/{chunk-7UEMZREK.js → chunk-YAA6IID3.js} +2 -2
- package/dist/{chunk-F7BFXWNQ.js → chunk-YIBAWQGJ.js} +7 -4
- package/dist/{chunk-PH5X4GIP.js → chunk-YTMTPUH4.js} +8 -5
- package/dist/{chunk-3UIKSPFB.js → chunk-Z5QVYKR7.js} +11 -3
- package/dist/{chunk-KQ57MHRO.js → chunk-ZEF5M5MB.js} +155 -87
- package/dist/{chunk-LE4MYMLI.js → chunk-ZJV7GYR4.js} +6 -6
- package/dist/{chunk-XJLKLU4D.js → chunk-ZNWAYU6N.js} +11 -7
- package/dist/cli.cjs +165 -148
- package/dist/clock.js +105 -25
- package/dist/countdown.js +208 -82
- package/dist/dgmo-router-X7ZGAPIE.js +86 -0
- package/dist/dimensions-45H6JQEY.js +22 -0
- package/dist/editor.js +17 -2
- package/dist/element.d.ts +6 -0
- package/dist/element.js +172 -134
- package/dist/element.mjs +3026 -1463
- package/dist/{flowchart-parser-OE4WHLTF.js → flowchart-parser-UKELHBSB.js} +4 -4
- package/dist/{flowchart-renderer-GPCSMTOR.js → flowchart-renderer-MNCDS7MV.js} +10 -10
- package/dist/highlight.d.ts +21 -1
- package/dist/highlight.js +106 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +59 -57
- package/dist/{layout-FWODLIMP.js → layout-2L3WMRYU.js} +6 -6
- package/dist/{layout-7SKMFYHL.js → layout-46N4JJYK.js} +5 -5
- package/dist/{layout-7H4H46CS.js → layout-7QXCNOVS.js} +3 -3
- package/dist/layout-A4XWNVID.js +14 -0
- package/dist/{layout-46366KBT.js → layout-A5UHRWVH.js} +3 -3
- package/dist/{layout-NXG63LWH.js → layout-AM2JWW3X.js} +4 -4
- package/dist/{layout-DC4TVXER.js → layout-EE6GE46Y.js} +5 -5
- package/dist/{layout-FGQWRYYW.js → layout-F4WO357A.js} +3 -3
- package/dist/layout-G23F7LDH.js +9 -0
- package/dist/{layout-QNUQLEHU.js → layout-GM4UGR7B.js} +5 -4
- package/dist/{layout-7MZ5NF2N.js → layout-GQQJXNYH.js} +5 -5
- package/dist/{layout-5BG6DFCU.js → layout-IIE2S5FK.js} +6 -6
- package/dist/{layout-34CLNICW.js → layout-OAC4PEAC.js} +5 -5
- package/dist/layout-VMCRX66I.js +14 -0
- package/dist/{layout-PUQCB6AN.js → layout-ZDOSXL5G.js} +7 -7
- package/dist/{layout-search-QS44PI5R.js → layout-search-55FU6HD3.js} +6 -157
- package/dist/map-data/gazetteer.json +1 -1
- package/dist/{palettes-PRJ2RI6D.js → palettes-UDLZ2SA4.js} +2 -2
- package/dist/{parser-D5VILGN2.js → parser-2ECN6JA2.js} +4 -4
- package/dist/{parser-LWKKBNSA.js → parser-4WTIHM5J.js} +3 -3
- package/dist/{parser-DFFEDKHH.js → parser-5H2BTSJQ.js} +3 -3
- package/dist/{parser-4NO6VZ6S.js → parser-75KVXUNS.js} +4 -4
- package/dist/{parser-VKOJM7KS.js → parser-774AC53T.js} +4 -4
- package/dist/{parser-IBWNAPY4.js → parser-BE4YCSRU.js} +3 -3
- package/dist/{parser-4AI5ZN5F.js → parser-CNGUQUQI.js} +3 -3
- package/dist/{parser-36HVKU5U.js → parser-DEUUSQIN.js} +7 -6
- package/dist/{parser-H3XEPFPV.js → parser-DQAFLUJB.js} +4 -4
- package/dist/{parser-5OXGPNBF.js → parser-EYCKNKQA.js} +5 -5
- package/dist/{parser-TGQZJ5OT.js → parser-FXISIU6A.js} +4 -4
- package/dist/{parser-JJR52VAT.js → parser-GTB4XC7P.js} +5 -5
- package/dist/{parser-AGVYTQXV.js → parser-GVEPAUSD.js} +4 -4
- package/dist/{parser-WAV5JRPT.js → parser-HSQGTY4G.js} +4 -4
- package/dist/{parser-YS7TOS2K.js → parser-HVKRINUS.js} +3 -3
- package/dist/{parser-W4PQUGX3.js → parser-J5MIEYO4.js} +5 -5
- package/dist/parser-KMZIXLDZ.js +13 -0
- package/dist/{parser-HYRTF3DO.js → parser-LJHXWSXU.js} +3 -3
- package/dist/{parser-KCR2WS3V.js → parser-PT3W72G5.js} +4 -4
- package/dist/{parser-CVMEDULU.js → parser-SBJQDPHL.js} +4 -4
- package/dist/{parser-RZPVAQVX.js → parser-SUWWWCMX.js} +4 -3
- package/dist/{parser-TXND652E.js → parser-SXDRNZOA.js} +4 -4
- package/dist/parser-UMILOW3M.js +14 -0
- package/dist/{parser-RV4M6AS2.js → parser-UP3AZ367.js} +4 -4
- package/dist/{parser-IJBMRXMC.js → parser-WHPRV3X5.js} +5 -5
- package/dist/{parser-MPCE5JBG.js → parser-WX3UODSJ.js} +4 -4
- package/dist/{parser-K3XXLMUW.js → parser-XCIEN3KN.js} +4 -4
- package/dist/{parser-AXKBDGNO.js → parser-XIRTUMVN.js} +5 -5
- package/dist/{parser-B5FVS7O6.js → parser-YKCGIG45.js} +3 -3
- package/dist/{parser-PSA4UBSP.js → parser-YKYMQG3B.js} +4 -4
- package/dist/{parser-MTOMTWTD.js → parser-ZGM2OJ6Y.js} +6 -5
- package/dist/{parser-CSFUN3CT.js → parser-ZL5QUFVH.js} +5 -4
- package/dist/pert.d.ts +2 -2
- package/dist/{renderer-PPIHO5FI.js → renderer-3F7OS2AX.js} +14 -13
- package/dist/{renderer-SBS3YWU5.js → renderer-4QB4K7Q3.js} +9 -9
- package/dist/{renderer-GHPZMFU2.js → renderer-5DAKMIU2.js} +3 -3
- package/dist/{renderer-R2WNIC2C.js → renderer-5H4SY7YY.js} +9 -9
- package/dist/{renderer-DAXMXIKD.js → renderer-5PIQPFOX.js} +5 -4
- package/dist/{renderer-45PSOL3E.js → renderer-6MU37QF5.js} +6 -6
- package/dist/renderer-AQVMWJ4M.js +27 -0
- package/dist/{renderer-A5VE5BCI.js → renderer-BDDW6K7N.js} +9 -9
- package/dist/{renderer-AUW2BE6G.js → renderer-BNB3VIDY.js} +10 -10
- package/dist/{renderer-4ITCHBT7.js → renderer-CQY6ATOS.js} +6 -6
- package/dist/{renderer-6OKF44KS.js → renderer-CVW75CXL.js} +15 -15
- package/dist/{renderer-7RH2SI3B.js → renderer-DT4XRFEP.js} +5 -4
- package/dist/{renderer-B5TBNZJE.js → renderer-ERHBSTQT.js} +9 -9
- package/dist/{renderer-HVCU2C3Z.js → renderer-HSHHVYWF.js} +5 -4
- package/dist/renderer-IDPVUFNB.js +28 -0
- package/dist/renderer-ILX6BGKR.js +21 -0
- package/dist/renderer-JP663HKG.js +22 -0
- package/dist/{renderer-KS7YZJE2.js → renderer-KNFTTOBL.js} +11 -11
- package/dist/{renderer-2AZ5HJFK.js → renderer-MVUZBESR.js} +5 -5
- package/dist/{renderer-QAOBLRXV.js → renderer-N4EBR2FV.js} +11 -11
- package/dist/{renderer-P5ROYQGU.js → renderer-NHO46CT2.js} +4 -4
- package/dist/{renderer-NGXZTRK6.js → renderer-NO2QJ5LZ.js} +10 -10
- package/dist/{renderer-FPE3J5VZ.js → renderer-OGFV5RXX.js} +12 -12
- package/dist/{renderer-ODUUOPVT.js → renderer-PDLESJMS.js} +15 -15
- package/dist/renderer-T4MTNINC.js +24 -0
- package/dist/renderer-TOUGFGTM.js +24 -0
- package/dist/{renderer-BSR2O2H6.js → renderer-U3KPD43Y.js} +14 -13
- package/dist/{renderer-JCCHNECZ.js → renderer-X334IJU2.js} +10 -10
- package/dist/{renderer-5DSEWF74.js → renderer-Y5OAMOCR.js} +9 -9
- package/dist/{renderer-5KVCNMOJ.js → renderer-YONAKAJU.js} +5 -3
- package/dist/{renderer-7SD6MSBS.js → renderer-YWMI6Y2U.js} +12 -12
- package/dist/{renderer-2QPMJ2DA.js → renderer-ZWIH4WDW.js} +10 -10
- package/dist/renderer-radial-7CGZMVMS.js +21 -0
- package/dist/{resolver-FHBCO3PL.js → resolver-EMTGNR3D.js} +4 -3
- package/dist/{state-parser-3REXRK3R.js → state-parser-BATWAID2.js} +4 -4
- package/dist/{state-renderer-XYLNRWXR.js → state-renderer-3FKZJ3LP.js} +10 -10
- package/dist/{themes-PdPR1-hC.d.ts → themes-32xj5ZTW.d.ts} +27 -0
- package/docs/ai-integration.md +15 -19
- package/docs/language-reference.md +106 -21
- package/gallery/fixtures/clock.dgmo +3 -3
- package/gallery/fixtures/countdown-tz.dgmo +5 -0
- package/package.json +1 -1
- package/dist/charts-d3-MUW3LTML.js +0 -26
- package/dist/dgmo-router-CE2G67FV.js +0 -84
- package/dist/dimensions-OTBKC5M6.js +0 -22
- package/dist/layout-6RDJHS6E.js +0 -9
- package/dist/layout-J36454XU.js +0 -14
- package/dist/layout-LD6XTLD6.js +0 -14
- package/dist/parser-4WQQQXCG.js +0 -13
- package/dist/parser-O4HIUN6G.js +0 -13
- package/dist/renderer-CYB4LK3G.js +0 -22
- package/dist/renderer-FF24KZCI.js +0 -24
- package/dist/renderer-FYSVXL7M.js +0 -28
- package/dist/renderer-HDCCZURL.js +0 -24
- package/dist/renderer-PSMMZCKH.js +0 -21
- package/dist/renderer-UYMQQCJK.js +0 -24
- package/dist/renderer-radial-F7X5F2VU.js +0 -21
|
@@ -3,9 +3,10 @@ import {
|
|
|
3
3
|
layoutJourneyMap,
|
|
4
4
|
scoreToColor,
|
|
5
5
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-YIBAWQGJ.js";
|
|
7
|
+
import "./chunk-WCT3NYCV.js";
|
|
8
|
+
import "./chunk-WBM7ZNDI.js";
|
|
9
|
+
import "./chunk-BRENJ2BQ.js";
|
|
9
10
|
import "./chunk-TLVIHFRO.js";
|
|
10
11
|
import "./chunk-CXK4DZH3.js";
|
|
11
12
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -15,4 +16,4 @@ export {
|
|
|
15
16
|
scoreToColor,
|
|
16
17
|
scoreToCurveY
|
|
17
18
|
};
|
|
18
|
-
//# sourceMappingURL=layout-
|
|
19
|
+
//# sourceMappingURL=layout-GM4UGR7B.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutMindmap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HWX6ZHF3.js";
|
|
4
4
|
import "./chunk-YYVTBZZC.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-WCT3NYCV.js";
|
|
6
6
|
import "./chunk-IYULMRBE.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HHKO6SKY.js";
|
|
8
|
+
import "./chunk-BRENJ2BQ.js";
|
|
9
9
|
import "./chunk-TLVIHFRO.js";
|
|
10
10
|
import "./chunk-CXK4DZH3.js";
|
|
11
11
|
import "./chunk-5WRI5ZAA.js";
|
|
12
12
|
export {
|
|
13
13
|
layoutMindmap
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=layout-
|
|
15
|
+
//# sourceMappingURL=layout-GQQJXNYH.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HFMYN6N2.js";
|
|
4
4
|
import "./chunk-6EK55ART.js";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-TYS6CSS5.js";
|
|
6
6
|
import "./chunk-5DH3KYFH.js";
|
|
7
7
|
import "./chunk-BMR4CIEO.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-WCT3NYCV.js";
|
|
9
9
|
import "./chunk-NXMESY4J.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-ARGMQ3H4.js";
|
|
11
11
|
import "./chunk-FMDSF3OV.js";
|
|
12
12
|
import "./chunk-NOTA6TEI.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-BRENJ2BQ.js";
|
|
14
14
|
import "./chunk-TLVIHFRO.js";
|
|
15
15
|
import "./chunk-CXK4DZH3.js";
|
|
16
16
|
import "./chunk-5WRI5ZAA.js";
|
|
17
17
|
export {
|
|
18
18
|
layoutGraph
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=layout-
|
|
20
|
+
//# sourceMappingURL=layout-IIE2S5FK.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
NODE_WIDTH,
|
|
4
4
|
computeNodeSize,
|
|
5
5
|
layoutBoxesAndLines
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-7DF4J4RL.js";
|
|
7
|
+
import "./chunk-JED6ZDEE.js";
|
|
8
8
|
import "./chunk-6EK55ART.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-TYS6CSS5.js";
|
|
10
10
|
import "./chunk-5DH3KYFH.js";
|
|
11
11
|
import "./chunk-BMR4CIEO.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-WCT3NYCV.js";
|
|
13
13
|
import "./chunk-FMDSF3OV.js";
|
|
14
14
|
import "./chunk-NOTA6TEI.js";
|
|
15
15
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -20,4 +20,4 @@ export {
|
|
|
20
20
|
computeNodeSize,
|
|
21
21
|
layoutBoxesAndLines
|
|
22
22
|
};
|
|
23
|
-
//# sourceMappingURL=layout-
|
|
23
|
+
//# sourceMappingURL=layout-OAC4PEAC.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
layoutOrg
|
|
3
|
+
} from "./chunk-QZX5S6R3.js";
|
|
4
|
+
import "./chunk-QOOUC2J5.js";
|
|
5
|
+
import "./chunk-WCT3NYCV.js";
|
|
6
|
+
import "./chunk-HHKO6SKY.js";
|
|
7
|
+
import "./chunk-BRENJ2BQ.js";
|
|
8
|
+
import "./chunk-TLVIHFRO.js";
|
|
9
|
+
import "./chunk-CXK4DZH3.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
|
+
export {
|
|
12
|
+
layoutOrg
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=layout-VMCRX66I.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutSwimlane
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-MX2EY5Y7.js";
|
|
4
|
+
import "./chunk-WRNFDFPU.js";
|
|
5
|
+
import "./chunk-7DF4J4RL.js";
|
|
6
|
+
import "./chunk-JED6ZDEE.js";
|
|
7
7
|
import "./chunk-6EK55ART.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-TYS6CSS5.js";
|
|
9
9
|
import "./chunk-5DH3KYFH.js";
|
|
10
10
|
import "./chunk-BMR4CIEO.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-WCT3NYCV.js";
|
|
12
12
|
import "./chunk-FMDSF3OV.js";
|
|
13
13
|
import "./chunk-NOTA6TEI.js";
|
|
14
14
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -16,4 +16,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
16
16
|
export {
|
|
17
17
|
layoutSwimlane
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=layout-
|
|
19
|
+
//# sourceMappingURL=layout-ZDOSXL5G.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
groupedTierCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WRNFDFPU.js";
|
|
4
4
|
import {
|
|
5
5
|
EDGE_LABEL_FONT_SIZE,
|
|
6
6
|
NODE_HEIGHT,
|
|
7
7
|
NODE_WIDTH,
|
|
8
8
|
computeNodeSize,
|
|
9
9
|
measureEdgeLabel
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-7DF4J4RL.js";
|
|
11
|
+
import "./chunk-JED6ZDEE.js";
|
|
12
12
|
import "./chunk-6EK55ART.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TYS6CSS5.js";
|
|
14
14
|
import "./chunk-5DH3KYFH.js";
|
|
15
15
|
import "./chunk-BMR4CIEO.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-WCT3NYCV.js";
|
|
17
17
|
import "./chunk-FMDSF3OV.js";
|
|
18
18
|
import "./chunk-NOTA6TEI.js";
|
|
19
19
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -1218,156 +1218,6 @@ async function layoutBoxesAndLinesSearch(parsed, collapseInfo, opts) {
|
|
|
1218
1218
|
return { x: rect.x + dx * s, y: rect.y + dy * s };
|
|
1219
1219
|
};
|
|
1220
1220
|
const isInsideRect = (p, rect) => Math.abs(p.x - rect.x) <= rect.w / 2 && Math.abs(p.y - rect.y) <= rect.h / 2;
|
|
1221
|
-
const pinned = parsed.nodePositions;
|
|
1222
|
-
const groupLabelSet = new Set(parsed.groups.map((g) => g.label));
|
|
1223
|
-
const groupsAreFlat = parsed.groups.every(
|
|
1224
|
-
(g) => !g.parentGroup && !g.children.some((c) => groupLabelSet.has(c))
|
|
1225
|
-
);
|
|
1226
|
-
const allOriginalGroupLabels = new Set(
|
|
1227
|
-
(collapseInfo?.originalGroups ?? parsed.groups).map((g) => g.label)
|
|
1228
|
-
);
|
|
1229
|
-
const collapsedAreFlatPinned = collapsedGroupLabels.size === 0 || pinned !== void 0 && collapseInfo !== void 0 && [...collapsedGroupLabels].every((label) => {
|
|
1230
|
-
const og = collapseInfo.originalGroups.find((g) => g.label === label);
|
|
1231
|
-
if (!og || og.parentGroup) return false;
|
|
1232
|
-
return og.children.every(
|
|
1233
|
-
(c) => pinned.has(c) && !allOriginalGroupLabels.has(c)
|
|
1234
|
-
);
|
|
1235
|
-
});
|
|
1236
|
-
const allPinned = pinned !== void 0 && (parsed.nodes.length > 0 || collapsedGroupLabels.size > 0) && parsed.nodes.every((n2) => pinned.has(n2.label)) && groupsAreFlat && collapsedAreFlatPinned;
|
|
1237
|
-
function placePinned(pins) {
|
|
1238
|
-
const collapsedPosByGid = /* @__PURE__ */ new Map();
|
|
1239
|
-
const collapsedBoxes = [];
|
|
1240
|
-
if (collapseInfo)
|
|
1241
|
-
for (const label of collapsedGroupLabels) {
|
|
1242
|
-
const og = collapseInfo.originalGroups.find((g) => g.label === label);
|
|
1243
|
-
if (!og) continue;
|
|
1244
|
-
let cx0 = Infinity, cy0 = Infinity, cx1 = -Infinity, cy1 = -Infinity;
|
|
1245
|
-
for (const c of og.children) {
|
|
1246
|
-
const p = pins.get(c);
|
|
1247
|
-
if (!p) continue;
|
|
1248
|
-
cx0 = Math.min(cx0, p.x);
|
|
1249
|
-
cx1 = Math.max(cx1, p.x);
|
|
1250
|
-
cy0 = Math.min(cy0, p.y);
|
|
1251
|
-
cy1 = Math.max(cy1, p.y);
|
|
1252
|
-
}
|
|
1253
|
-
if (!Number.isFinite(cx0)) continue;
|
|
1254
|
-
const cx = (cx0 + cx1) / 2;
|
|
1255
|
-
const cy = (cy0 + cy1) / 2;
|
|
1256
|
-
collapsedPosByGid.set(`__group_${label}`, { x: cx, y: cy });
|
|
1257
|
-
collapsedBoxes.push({
|
|
1258
|
-
label,
|
|
1259
|
-
lineNumber: og.lineNumber,
|
|
1260
|
-
childCount: collapseInfo.collapsedChildCounts.get(label) ?? og.children.length,
|
|
1261
|
-
x: cx,
|
|
1262
|
-
y: cy
|
|
1263
|
-
});
|
|
1264
|
-
}
|
|
1265
|
-
const posOf = (label) => pins.get(label) ?? collapsedPosByGid.get(label);
|
|
1266
|
-
const rectOf = (label) => {
|
|
1267
|
-
const p = posOf(label);
|
|
1268
|
-
const s = sizes.get(label) ?? { width: NODE_WIDTH, height: NODE_HEIGHT };
|
|
1269
|
-
return { x: p.x, y: p.y, w: s.width, h: s.height };
|
|
1270
|
-
};
|
|
1271
|
-
const nodes = parsed.nodes.map((n2) => {
|
|
1272
|
-
const r = rectOf(n2.label);
|
|
1273
|
-
return { label: n2.label, x: r.x, y: r.y, width: r.w, height: r.h };
|
|
1274
|
-
});
|
|
1275
|
-
const edges = parsed.edges.flatMap((e) => {
|
|
1276
|
-
const sp = posOf(e.source);
|
|
1277
|
-
const tp = posOf(e.target);
|
|
1278
|
-
if (!sp || !tp) return [];
|
|
1279
|
-
const srcRect = rectOf(e.source);
|
|
1280
|
-
const tgtRect = rectOf(e.target);
|
|
1281
|
-
const p0 = rectBorderPoint(srcRect, tp);
|
|
1282
|
-
const p1 = rectBorderPoint(tgtRect, sp);
|
|
1283
|
-
return [
|
|
1284
|
-
{
|
|
1285
|
-
source: e.source,
|
|
1286
|
-
target: e.target,
|
|
1287
|
-
...e.label !== void 0 && { label: e.label },
|
|
1288
|
-
bidirectional: e.bidirectional,
|
|
1289
|
-
lineNumber: e.lineNumber,
|
|
1290
|
-
points: [p0, p1],
|
|
1291
|
-
yOffset: 0,
|
|
1292
|
-
parallelCount: 1,
|
|
1293
|
-
metadata: e.metadata,
|
|
1294
|
-
straight: true
|
|
1295
|
-
}
|
|
1296
|
-
];
|
|
1297
|
-
});
|
|
1298
|
-
const GROUP_PAD = 16;
|
|
1299
|
-
const nodeByLabel = new Map(nodes.map((n2) => [n2.label, n2]));
|
|
1300
|
-
const groups = [];
|
|
1301
|
-
for (const grp of parsed.groups) {
|
|
1302
|
-
let gx0 = Infinity, gy0 = Infinity, gx1 = -Infinity, gy1 = -Infinity;
|
|
1303
|
-
for (const c of grp.children) {
|
|
1304
|
-
const n2 = nodeByLabel.get(c);
|
|
1305
|
-
if (!n2) continue;
|
|
1306
|
-
gx0 = Math.min(gx0, n2.x - n2.width / 2);
|
|
1307
|
-
gx1 = Math.max(gx1, n2.x + n2.width / 2);
|
|
1308
|
-
gy0 = Math.min(gy0, n2.y - n2.height / 2);
|
|
1309
|
-
gy1 = Math.max(gy1, n2.y + n2.height / 2);
|
|
1310
|
-
}
|
|
1311
|
-
if (!Number.isFinite(gx0)) continue;
|
|
1312
|
-
const x0 = gx0 - GROUP_PAD;
|
|
1313
|
-
const x1 = gx1 + GROUP_PAD;
|
|
1314
|
-
const y0 = gy0 - GROUP_LABEL_ZONE;
|
|
1315
|
-
const y1 = gy1 + GROUP_PAD;
|
|
1316
|
-
groups.push({
|
|
1317
|
-
label: grp.label,
|
|
1318
|
-
lineNumber: grp.lineNumber,
|
|
1319
|
-
x: (x0 + x1) / 2,
|
|
1320
|
-
y: (y0 + y1) / 2,
|
|
1321
|
-
width: x1 - x0,
|
|
1322
|
-
height: y1 - y0,
|
|
1323
|
-
collapsed: false,
|
|
1324
|
-
childCount: grp.children.length
|
|
1325
|
-
});
|
|
1326
|
-
}
|
|
1327
|
-
for (const cb of collapsedBoxes) {
|
|
1328
|
-
groups.push({
|
|
1329
|
-
label: cb.label,
|
|
1330
|
-
lineNumber: cb.lineNumber,
|
|
1331
|
-
x: cb.x,
|
|
1332
|
-
y: cb.y,
|
|
1333
|
-
width: NODE_WIDTH,
|
|
1334
|
-
height: NODE_HEIGHT,
|
|
1335
|
-
collapsed: true,
|
|
1336
|
-
childCount: cb.childCount
|
|
1337
|
-
});
|
|
1338
|
-
}
|
|
1339
|
-
const M = 40;
|
|
1340
|
-
let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
|
|
1341
|
-
const acc = (x, y) => {
|
|
1342
|
-
if (x < minX) minX = x;
|
|
1343
|
-
if (x > maxX) maxX = x;
|
|
1344
|
-
if (y < minY) minY = y;
|
|
1345
|
-
if (y > maxY) maxY = y;
|
|
1346
|
-
};
|
|
1347
|
-
for (const n2 of nodes) {
|
|
1348
|
-
acc(n2.x - n2.width / 2, n2.y - n2.height / 2);
|
|
1349
|
-
acc(n2.x + n2.width / 2, n2.y + n2.height / 2);
|
|
1350
|
-
}
|
|
1351
|
-
for (const e of edges) for (const p of e.points) acc(p.x, p.y);
|
|
1352
|
-
for (const gr of groups) {
|
|
1353
|
-
acc(gr.x - gr.width / 2, gr.y - gr.height / 2);
|
|
1354
|
-
acc(gr.x + gr.width / 2, gr.y + gr.height / 2);
|
|
1355
|
-
}
|
|
1356
|
-
const TOL = 2;
|
|
1357
|
-
const sx = minX < M - TOL ? M - minX : 0;
|
|
1358
|
-
const sy = minY < M - TOL ? M - minY : 0;
|
|
1359
|
-
const shifted = sx !== 0 || sy !== 0;
|
|
1360
|
-
return {
|
|
1361
|
-
nodes: shifted ? nodes.map((n2) => ({ ...n2, x: n2.x + sx, y: n2.y + sy })) : nodes,
|
|
1362
|
-
edges: shifted ? edges.map((e) => ({
|
|
1363
|
-
...e,
|
|
1364
|
-
points: e.points.map((p) => ({ x: p.x + sx, y: p.y + sy }))
|
|
1365
|
-
})) : edges,
|
|
1366
|
-
groups: shifted ? groups.map((gr) => ({ ...gr, x: gr.x + sx, y: gr.y + sy })) : groups,
|
|
1367
|
-
width: maxX + sx + M,
|
|
1368
|
-
height: maxY + sy + M
|
|
1369
|
-
};
|
|
1370
|
-
}
|
|
1371
1221
|
function place(cfg) {
|
|
1372
1222
|
const r = cfg.seed === void 0 ? null : rng2(cfg.seed + 1);
|
|
1373
1223
|
const ord = (a) => r ? shuffle(a, r) : a.slice();
|
|
@@ -1512,7 +1362,6 @@ async function layoutBoxesAndLinesSearch(parsed, collapseInfo, opts) {
|
|
|
1512
1362
|
height: gg.height ?? 600
|
|
1513
1363
|
};
|
|
1514
1364
|
}
|
|
1515
|
-
if (allPinned) return placePinned(pinned);
|
|
1516
1365
|
const n = parsed.nodes.length;
|
|
1517
1366
|
const seedCount = opts?.seeds ?? (n <= 12 ? 80 : n <= 22 ? 40 : n <= 35 ? 22 : 10);
|
|
1518
1367
|
const REFINE_K = opts?.refineK ?? 6;
|
|
@@ -1652,4 +1501,4 @@ export {
|
|
|
1652
1501
|
layoutBoxesAndLinesSearch,
|
|
1653
1502
|
separateGroupBands
|
|
1654
1503
|
};
|
|
1655
|
-
//# sourceMappingURL=layout-search-
|
|
1504
|
+
//# sourceMappingURL=layout-search-55FU6HD3.js.map
|