@diagrammo/dgmo 0.50.1 → 0.51.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/advanced.d.ts +6640 -0
- package/dist/advanced.js +207 -161
- package/dist/{analyzer-UYKBXAKR.js → analyzer-BJ54GIFB.js} +3 -3
- package/dist/auto.css +31 -8
- package/dist/auto.d.ts +60 -0
- package/dist/auto.js +169 -133
- package/dist/auto.mjs +2245 -1030
- package/dist/block.css +28 -8
- package/dist/block.d.ts +130 -0
- package/dist/block.js +103 -68
- package/dist/{charts-d3-LR6D3D7A.js → charts-d3-7E4B4IMW.js} +9 -9
- package/dist/{chunk-6IAA2QQ2.js → chunk-2EQMXBBQ.js} +2 -2
- package/dist/{chunk-XJLKLU4D.js → chunk-2ILHQOL3.js} +3 -3
- package/dist/{chunk-SXRTRMEE.js → chunk-2UJSV2VT.js} +3 -3
- package/dist/{chunk-LE4MYMLI.js → chunk-32XPAAET.js} +5 -5
- package/dist/{chunk-NU3XLTGP.js → chunk-332ZR4QU.js} +4 -4
- package/dist/{chunk-F7BFXWNQ.js → chunk-3JLKYGBQ.js} +2 -2
- package/dist/{chunk-QROYX7TT.js → chunk-3LV2NCB6.js} +3 -3
- package/dist/{chunk-ZAD4HV2G.js → chunk-3ODS2VGL.js} +99 -99
- package/dist/{chunk-3XGZF2QJ.js → chunk-3YSQZ75W.js} +6 -6
- package/dist/{chunk-FJUNPCYI.js → chunk-467TVMQL.js} +2 -2
- package/dist/{chunk-HHXOONLX.js → chunk-4B5YISOR.js} +38 -1
- package/dist/{chunk-6HJBFVLO.js → chunk-4QZ43D7I.js} +3 -3
- package/dist/{chunk-4S52SK6G.js → chunk-4VWJ4LW2.js} +15 -8
- package/dist/chunk-4XFBQT5O.js +35 -0
- package/dist/{chunk-2C56LEML.js → chunk-5F5ELR3V.js} +3 -3
- package/dist/{chunk-EAMEADTV.js → chunk-5PDTIBLV.js} +83 -21
- package/dist/{chunk-C2CVAM3U.js → chunk-5PZT4DQG.js} +160 -87
- package/dist/{chunk-IAEC4KLA.js → chunk-5QKQSSPO.js} +2 -2
- package/dist/{chunk-5OWVC2A6.js → chunk-5SVOCD5W.js} +6 -6
- package/dist/{chunk-VBYSIOOY.js → chunk-5WPNFSXP.js} +3 -3
- package/dist/{chunk-4MJ7M6YL.js → chunk-5X6YQA2J.js} +7 -7
- package/dist/{chunk-JJUOHGX2.js → chunk-65WJYYKJ.js} +4 -4
- package/dist/{chunk-3UIKSPFB.js → chunk-6BQFET7X.js} +3 -3
- package/dist/{chunk-U2HGPLZS.js → chunk-6H7O2OPM.js} +14 -1
- package/dist/{chunk-DZXYF2F5.js → chunk-6K2M4VSR.js} +3 -3
- package/dist/{chunk-PGEGPSCZ.js → chunk-6MNGECP2.js} +2 -2
- package/dist/{chunk-3XPUDB7B.js → chunk-6NFYEQDX.js} +266 -38
- package/dist/{chunk-4XK3FLFB.js → chunk-6NYWYNBI.js} +3 -3
- package/dist/{chunk-TWQUYVP3.js → chunk-7DF4J4RL.js} +4 -4
- package/dist/{chunk-H73FP42Q.js → chunk-7DYOELRK.js} +3 -3
- package/dist/{chunk-L3UHP6TD.js → chunk-7L4UJOY6.js} +1 -2
- package/dist/{chunk-QJP6PG7F.js → chunk-AB7INMR5.js} +9 -9
- package/dist/{chunk-3LKM6FMW.js → chunk-AE7II3E3.js} +2 -2
- package/dist/{chunk-BTUTZMPT.js → chunk-AFIEPDLX.js} +97 -42
- package/dist/chunk-APKUAJ2L.js +220 -0
- package/dist/{chunk-X6EZPSW6.js → chunk-AXW3M6OQ.js} +7 -7
- package/dist/{chunk-66RUL3XF.js → chunk-B63YB7X3.js} +5 -5
- package/dist/{chunk-DSWVNQVS.js → chunk-BGP54HVR.js} +4 -59
- package/dist/{chunk-3NODSS6A.js → chunk-BYJBIALT.js} +7 -7
- package/dist/{chunk-3YPY3OXD.js → chunk-CC4YRBWV.js} +2 -2
- package/dist/{chunk-HLJVEAOF.js → chunk-DY7XLRHK.js} +8 -33
- package/dist/{chunk-OMNGQPEZ.js → chunk-E7Y3SYKW.js} +3 -3
- package/dist/{chunk-HTMN2Z6U.js → chunk-EDA6C7MV.js} +50 -7
- package/dist/{chunk-7L3R6I3U.js → chunk-ENRS56GC.js} +3 -3
- package/dist/{chunk-2KGXHFYK.js → chunk-EXOQP75F.js} +7 -7
- package/dist/{chunk-BBGDM4NQ.js → chunk-F3FYUFUH.js} +26 -8
- package/dist/{chunk-GL5UZ6NY.js → chunk-FC5I2KXV.js} +3 -3
- package/dist/{chunk-VVW3F3MD.js → chunk-FTBZV6NE.js} +9 -9
- package/dist/{chunk-7QKLIMRZ.js → chunk-G3PF3S7P.js} +41 -46
- package/dist/{chunk-J6K7RP6P.js → chunk-GD6L76WD.js} +3 -3
- package/dist/{chunk-I2WKW7C7.js → chunk-GGHRAITI.js} +3 -3
- package/dist/{chunk-YIA4LEX4.js → chunk-GNSFLJAA.js} +96 -4
- package/dist/{chunk-IUMPEA64.js → chunk-GROLTAWZ.js} +4 -4
- package/dist/{chunk-Q4V4XQWV.js → chunk-GTWKD3QT.js} +2 -2
- package/dist/{chunk-F2L5GCQ4.js → chunk-GU46PPT3.js} +3 -3
- package/dist/{chunk-6IUAK7RZ.js → chunk-H6PI3KJT.js} +2 -2
- package/dist/{chunk-SCQ5VPUF.js → chunk-HFMYN6N2.js} +2 -2
- package/dist/{chunk-GKC3HILQ.js → chunk-I2QZFCS2.js} +27 -4
- package/dist/{chunk-MCZ5LBZD.js → chunk-IE477RQZ.js} +7 -7
- package/dist/{chunk-3Y2DRD7S.js → chunk-IEDMFNU7.js} +3 -3
- package/dist/{chunk-M5RXSRO2.js → chunk-IEWG6J7C.js} +4 -4
- package/dist/{chunk-P7CE7LXL.js → chunk-IUJODQKX.js} +6 -6
- package/dist/{chunk-NWED7CYO.js → chunk-IUO34HKW.js} +6 -6
- package/dist/{chunk-NX4EQS3U.js → chunk-J76PIKAT.js} +2 -2
- package/dist/{chunk-O7WP4ZD4.js → chunk-JED6ZDEE.js} +2 -2
- package/dist/{chunk-6BFZKBGD.js → chunk-JJXGQIRV.js} +2 -2
- package/dist/{chunk-O7NUCTFU.js → chunk-JM4LEPY3.js} +2 -2
- package/dist/{chunk-VDOOQZUD.js → chunk-JSSX2SX4.js} +4 -4
- package/dist/{chunk-SQLNBA64.js → chunk-KFNWFNAA.js} +3 -3
- package/dist/{chunk-VVZRV54S.js → chunk-KJGG2JKQ.js} +143 -82
- package/dist/{chunk-OTAL43EH.js → chunk-LV4BETUU.js} +8 -2
- package/dist/{chunk-VUJGMJE6.js → chunk-MVN25IF6.js} +4 -4
- package/dist/{chunk-CLD2OKV7.js → chunk-MX2EY5Y7.js} +2 -2
- package/dist/{chunk-Y4RNXEAO.js → chunk-ND76YJCN.js} +139 -25
- package/dist/{chunk-KFZYNWWO.js → chunk-NEQ6GJXB.js} +4 -4
- package/dist/{chunk-PFHVU7UA.js → chunk-NI3XQBPB.js} +2 -2
- package/dist/{chunk-WW32K72E.js → chunk-OJTXTQA2.js} +9 -9
- package/dist/{chunk-YNRDWYZP.js → chunk-OQKP2X3D.js} +170 -51
- package/dist/{chunk-AHGF2YYA.js → chunk-OTOHI4JO.js} +2 -2
- package/dist/{chunk-HEVYAHLW.js → chunk-OU7HLO7I.js} +4 -4
- package/dist/{chunk-GBE54KY6.js → chunk-OZPBJM5Q.js} +3 -3
- package/dist/{chunk-EOFPYPAU.js → chunk-P3NRSSUU.js} +51 -11
- package/dist/{chunk-TSA237IM.js → chunk-PZDBOK2Q.js} +2 -2
- package/dist/{chunk-3P2DKJCG.js → chunk-Q62FEYK3.js} +2 -2
- package/dist/{chunk-DFTFPYUD.js → chunk-QHI5XVUJ.js} +7 -7
- package/dist/{chunk-HQCHYB5F.js → chunk-QOOUC2J5.js} +2 -2
- package/dist/{chunk-XDXNDSKO.js → chunk-QZPEGJOM.js} +5 -2
- package/dist/{chunk-TN35C5KM.js → chunk-RAHVMKBG.js} +2 -2
- package/dist/chunk-RBDIYLA5.js +267 -0
- package/dist/{chunk-OTQKUHRS.js → chunk-RBHWPDBB.js} +3 -3
- package/dist/{chunk-BH3UYK36.js → chunk-RLFVAKEO.js} +3 -3
- package/dist/{chunk-3LH5CLP4.js → chunk-RXKTSFDL.js} +150 -5
- package/dist/{chunk-RZ6YKEUJ.js → chunk-TK2VQQX2.js} +6 -6
- package/dist/{chunk-I7F2A35O.js → chunk-TMACGPW5.js} +25 -47
- package/dist/{chunk-5GJYGP5Z.js → chunk-TRM2J7ZN.js} +8 -8
- package/dist/{chunk-BCYVE3N5.js → chunk-TYS6CSS5.js} +2 -2
- package/dist/{chunk-7PQYTZMA.js → chunk-U5SI5NIM.js} +95 -232
- package/dist/{chunk-KHEYDLMT.js → chunk-VB4UJ3H2.js} +2 -2
- package/dist/{chunk-HGN652MU.js → chunk-VL2O2F3W.js} +2 -2
- package/dist/{chunk-ONA5KPV3.js → chunk-VNSXLA6G.js} +4 -4
- package/dist/{chunk-CMCR5WBW.js → chunk-WBRZJOEC.js} +3 -3
- package/dist/{chunk-5LWQH6QV.js → chunk-WCT3NYCV.js} +1 -1
- package/dist/{chunk-T4VOVZT5.js → chunk-WJ7RW65H.js} +4 -4
- package/dist/{chunk-SCHXJTZL.js → chunk-WQLMU7VG.js} +2 -2
- package/dist/{chunk-C4GQDB5L.js → chunk-WRNFDFPU.js} +2 -2
- package/dist/{chunk-66NVRO4K.js → chunk-X7EC3L2H.js} +7 -7
- package/dist/{chunk-QXKWYZNR.js → chunk-XEQXCIBC.js} +3 -3
- package/dist/{chunk-C63UWAKM.js → chunk-Y2ZE3MSG.js} +2 -2
- package/dist/{chunk-FA6K3FWM.js → chunk-Y6GBQTBK.js} +6 -6
- package/dist/{chunk-7UEMZREK.js → chunk-YAA6IID3.js} +2 -2
- package/dist/{chunk-PZFVK3IH.js → chunk-YGJZWZTY.js} +2 -2
- package/dist/{chunk-7TV5Y53Y.js → chunk-ZJ3LS7DW.js} +3 -3
- package/dist/{chunk-PH5X4GIP.js → chunk-ZO27FGJS.js} +2 -2
- package/dist/cli.cjs +163 -147
- package/dist/clock.js +91 -5
- package/dist/countdown.js +208 -82
- package/dist/dgmo-router-Y2VEX46B.js +86 -0
- package/dist/dimensions-F7B5C4BJ.js +22 -0
- package/dist/editor.js +14 -1
- package/dist/element.d.ts +68 -0
- package/dist/element.js +170 -134
- package/dist/element.mjs +2209 -1015
- package/dist/{flowchart-parser-OE4WHLTF.js → flowchart-parser-MY53QWTZ.js} +4 -4
- package/dist/{flowchart-renderer-GPCSMTOR.js → flowchart-renderer-AQSMEMYF.js} +8 -8
- package/dist/highlight.js +14 -1
- package/dist/index.d.ts +185 -0
- package/dist/index.js +57 -53
- package/dist/{layout-7SKMFYHL.js → layout-46N4JJYK.js} +5 -5
- package/dist/layout-4DIUOX2T.js +14 -0
- package/dist/{layout-7H4H46CS.js → layout-7QXCNOVS.js} +3 -3
- package/dist/{layout-NXG63LWH.js → layout-AM2JWW3X.js} +4 -4
- package/dist/{layout-7MZ5NF2N.js → layout-CBCLPMSG.js} +5 -5
- 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-HYZPWAK5.js} +3 -3
- package/dist/{layout-FWODLIMP.js → layout-JDJAEQ3P.js} +6 -6
- package/dist/layout-MUPRALE5.js +14 -0
- package/dist/{layout-34CLNICW.js → layout-OAC4PEAC.js} +5 -5
- package/dist/{layout-5BG6DFCU.js → layout-YVTNOTN4.js} +6 -6
- 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/{parser-36HVKU5U.js → parser-2Q2T4C3B.js} +6 -5
- package/dist/{parser-B5FVS7O6.js → parser-3A42DZ72.js} +3 -3
- package/dist/{parser-CSFUN3CT.js → parser-4RFTKAQX.js} +5 -4
- package/dist/{parser-IJBMRXMC.js → parser-57ILIFZ2.js} +5 -5
- package/dist/{parser-DFFEDKHH.js → parser-5A2UWU6B.js} +3 -3
- package/dist/{parser-H3XEPFPV.js → parser-5PDYJGWA.js} +4 -4
- package/dist/{parser-O4HIUN6G.js → parser-6BJEXUFX.js} +4 -4
- package/dist/{parser-MTOMTWTD.js → parser-6ZKABF5S.js} +6 -5
- package/dist/{parser-WAV5JRPT.js → parser-AIMHGJRR.js} +4 -4
- package/dist/{parser-TXND652E.js → parser-AZJ25OKK.js} +4 -4
- package/dist/{parser-4AI5ZN5F.js → parser-B77S5SZM.js} +3 -3
- package/dist/{parser-IBWNAPY4.js → parser-BEPSWJAD.js} +3 -3
- package/dist/{parser-D5VILGN2.js → parser-BKI42XBQ.js} +4 -4
- package/dist/{parser-LWKKBNSA.js → parser-C3D7MVXY.js} +3 -3
- package/dist/{parser-HYRTF3DO.js → parser-CDG7CHV5.js} +3 -3
- package/dist/{parser-CVMEDULU.js → parser-CZOJ7XQ6.js} +4 -4
- package/dist/{parser-AXKBDGNO.js → parser-E2RL6JYF.js} +5 -5
- package/dist/{parser-PSA4UBSP.js → parser-EH5VE7ZN.js} +4 -4
- package/dist/{parser-K3XXLMUW.js → parser-FQ6GZFMR.js} +4 -4
- package/dist/{parser-RV4M6AS2.js → parser-GKLZKEIK.js} +4 -4
- package/dist/{parser-MPCE5JBG.js → parser-H6ABKHZZ.js} +4 -4
- package/dist/{parser-RZPVAQVX.js → parser-I6GGFKOQ.js} +4 -3
- package/dist/{parser-W4PQUGX3.js → parser-JA7JQ7NF.js} +4 -4
- package/dist/{parser-5OXGPNBF.js → parser-KKTJ6M3Y.js} +5 -5
- package/dist/parser-OK22AC6Y.js +14 -0
- package/dist/{parser-4NO6VZ6S.js → parser-OK2ILHRT.js} +4 -4
- package/dist/{parser-YS7TOS2K.js → parser-OUTPNJWC.js} +3 -3
- package/dist/{parser-KCR2WS3V.js → parser-PORDUX5E.js} +4 -4
- package/dist/{parser-VKOJM7KS.js → parser-SRVFR7PM.js} +4 -4
- package/dist/{parser-TGQZJ5OT.js → parser-UKFFZCFJ.js} +4 -4
- package/dist/{parser-JJR52VAT.js → parser-UMWPLORP.js} +5 -5
- package/dist/{parser-AGVYTQXV.js → parser-Z4TZV2CB.js} +4 -4
- package/dist/{renderer-A5VE5BCI.js → renderer-2AUFT3E2.js} +8 -8
- package/dist/{renderer-FPE3J5VZ.js → renderer-2HTNBIF2.js} +11 -11
- package/dist/{renderer-R2WNIC2C.js → renderer-3K3IB7D5.js} +8 -8
- package/dist/{renderer-2AZ5HJFK.js → renderer-3YNIWF5I.js} +4 -4
- package/dist/{renderer-PJM35LJN.js → renderer-3YPZHMOU.js} +3 -3
- package/dist/{renderer-JCCHNECZ.js → renderer-4WR6WMVF.js} +9 -9
- package/dist/{renderer-HDCCZURL.js → renderer-66MERVQ2.js} +9 -9
- package/dist/{renderer-2QPMJ2DA.js → renderer-6RKQPNJI.js} +9 -9
- package/dist/{renderer-FYSVXL7M.js → renderer-ARMJBP6C.js} +11 -11
- package/dist/{renderer-6OKF44KS.js → renderer-CO2DW7S7.js} +13 -13
- package/dist/{renderer-BSR2O2H6.js → renderer-EDJ2O4S5.js} +13 -12
- package/dist/{renderer-CYB4LK3G.js → renderer-F7U3MFCV.js} +9 -9
- package/dist/{renderer-72LGR2YF.js → renderer-GD2COXVL.js} +4 -2
- package/dist/{renderer-B5TBNZJE.js → renderer-GQIESYEM.js} +8 -8
- package/dist/{renderer-ODUUOPVT.js → renderer-HCKJDFXD.js} +13 -13
- package/dist/{renderer-QAOBLRXV.js → renderer-HYGHO4SJ.js} +10 -10
- package/dist/{renderer-5DSEWF74.js → renderer-JC3RDUT7.js} +8 -8
- package/dist/{renderer-7RH2SI3B.js → renderer-KQB7UGDS.js} +3 -3
- package/dist/{renderer-45PSOL3E.js → renderer-NKJ24TEA.js} +5 -5
- package/dist/{renderer-AUW2BE6G.js → renderer-OYO67VZK.js} +9 -9
- package/dist/{renderer-DAXMXIKD.js → renderer-QIWVHWZO.js} +3 -3
- package/dist/{renderer-PSMMZCKH.js → renderer-QRWACQRI.js} +8 -8
- package/dist/{renderer-4ITCHBT7.js → renderer-QXGN5H3A.js} +5 -5
- package/dist/renderer-QXPP4TA2.js +27 -0
- package/dist/{renderer-KS7YZJE2.js → renderer-RGIYOTKJ.js} +10 -10
- package/dist/{renderer-FF24KZCI.js → renderer-RHT4MHFU.js} +8 -8
- package/dist/{renderer-PPIHO5FI.js → renderer-RYR3TJ46.js} +12 -11
- package/dist/{renderer-NGXZTRK6.js → renderer-SRKDNDFB.js} +8 -8
- package/dist/{renderer-SBS3YWU5.js → renderer-TGTUABCI.js} +8 -8
- package/dist/{renderer-7SD6MSBS.js → renderer-TXJFKPOG.js} +11 -11
- package/dist/{renderer-HVCU2C3Z.js → renderer-UV6MI64M.js} +3 -3
- package/dist/renderer-radial-FWABAZHB.js +21 -0
- package/dist/{resolver-FHBCO3PL.js → resolver-EMTGNR3D.js} +4 -3
- package/dist/{state-parser-3REXRK3R.js → state-parser-6T6CNMPX.js} +4 -4
- package/dist/{state-renderer-XYLNRWXR.js → state-renderer-AWZ3ECAX.js} +8 -8
- package/dist/themes-32xj5ZTW.d.ts +943 -0
- package/docs/language-reference.md +98 -10
- package/gallery/fixtures/clock.dgmo +3 -3
- package/gallery/fixtures/countdown-far.dgmo +2 -0
- package/gallery/fixtures/countdown-tz.dgmo +5 -0
- package/package.json +1 -1
- package/dist/dgmo-router-YTU3ENAX.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/renderer-UYMQQCJK.js +0 -24
- package/dist/renderer-radial-F7X5F2VU.js +0 -21
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
layoutJourneyMap,
|
|
4
4
|
scoreToColor,
|
|
5
5
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-3JLKYGBQ.js";
|
|
7
|
+
import "./chunk-WCT3NYCV.js";
|
|
8
8
|
import "./chunk-P6T66CCZ.js";
|
|
9
9
|
import "./chunk-TLVIHFRO.js";
|
|
10
10
|
import "./chunk-CXK4DZH3.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
scoreToColor,
|
|
16
16
|
scoreToCurveY
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=layout-
|
|
18
|
+
//# sourceMappingURL=layout-HYZPWAK5.js.map
|
|
@@ -6,11 +6,11 @@ import {
|
|
|
6
6
|
layoutC4Context,
|
|
7
7
|
layoutC4Deployment,
|
|
8
8
|
rollUpContextRelationships
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-NEQ6GJXB.js";
|
|
10
|
+
import "./chunk-QOOUC2J5.js";
|
|
11
|
+
import "./chunk-WCT3NYCV.js";
|
|
12
|
+
import "./chunk-467TVMQL.js";
|
|
13
|
+
import "./chunk-LV4BETUU.js";
|
|
14
14
|
import "./chunk-TLVIHFRO.js";
|
|
15
15
|
import "./chunk-CXK4DZH3.js";
|
|
16
16
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
layoutC4Deployment,
|
|
24
24
|
rollUpContextRelationships
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=layout-
|
|
26
|
+
//# sourceMappingURL=layout-JDJAEQ3P.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
layoutSitemap
|
|
3
|
+
} from "./chunk-JSSX2SX4.js";
|
|
4
|
+
import "./chunk-QOOUC2J5.js";
|
|
5
|
+
import "./chunk-WCT3NYCV.js";
|
|
6
|
+
import "./chunk-467TVMQL.js";
|
|
7
|
+
import "./chunk-LV4BETUU.js";
|
|
8
|
+
import "./chunk-TLVIHFRO.js";
|
|
9
|
+
import "./chunk-CXK4DZH3.js";
|
|
10
|
+
import "./chunk-5WRI5ZAA.js";
|
|
11
|
+
export {
|
|
12
|
+
layoutSitemap
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=layout-MUPRALE5.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
|
|
@@ -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-WQLMU7VG.js";
|
|
11
11
|
import "./chunk-FMDSF3OV.js";
|
|
12
12
|
import "./chunk-NOTA6TEI.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-LV4BETUU.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-YVTNOTN4.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
|