@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
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-3CIOJ5YJ.js";
|
|
11
11
|
import {
|
|
12
12
|
measureText
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WCT3NYCV.js";
|
|
14
14
|
import {
|
|
15
15
|
buildCoupleQuotient,
|
|
16
16
|
rankClasses
|
|
@@ -489,4 +489,4 @@ export {
|
|
|
489
489
|
focusFamily,
|
|
490
490
|
layoutFamily
|
|
491
491
|
};
|
|
492
|
-
//# sourceMappingURL=chunk-
|
|
492
|
+
//# sourceMappingURL=chunk-5QKQSSPO.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
tagAttrKey,
|
|
8
8
|
validateTagGroupNames,
|
|
9
9
|
validateTagValues
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHKO6SKY.js";
|
|
11
11
|
import {
|
|
12
12
|
tryCollectNote
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ARGMQ3H4.js";
|
|
14
14
|
import {
|
|
15
15
|
resolveNotes
|
|
16
16
|
} from "./chunk-FMDSF3OV.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
tryParseSharedOption,
|
|
31
31
|
warnUnknownMetaKeys,
|
|
32
32
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
34
34
|
import {
|
|
35
35
|
makeDgmoError,
|
|
36
36
|
suggest
|
|
@@ -82,7 +82,6 @@ function parseBoxesAndLines(content, palette) {
|
|
|
82
82
|
const nodes = [];
|
|
83
83
|
const edges = [];
|
|
84
84
|
const groups = [];
|
|
85
|
-
const nodePositions = /* @__PURE__ */ new Map();
|
|
86
85
|
const result = {
|
|
87
86
|
type: "boxes-and-lines",
|
|
88
87
|
title: null,
|
|
@@ -116,8 +115,6 @@ function parseBoxesAndLines(content, palette) {
|
|
|
116
115
|
}
|
|
117
116
|
const groupStack = [];
|
|
118
117
|
let contentStarted = false;
|
|
119
|
-
let inLayoutBlock = false;
|
|
120
|
-
const LAYOUT_ENTRY_RE = /^(.+?):\s*(-?\d+(?:\.\d+)?)\s*,\s*(-?\d+(?:\.\d+)?)\s*$/;
|
|
121
118
|
let currentTagGroup = null;
|
|
122
119
|
const metaAliasMap = /* @__PURE__ */ new Map();
|
|
123
120
|
const nameAliasMap = /* @__PURE__ */ new Map();
|
|
@@ -318,42 +315,6 @@ function parseBoxesAndLines(content, palette) {
|
|
|
318
315
|
if (currentTagGroup && indent === 0) {
|
|
319
316
|
currentTagGroup = null;
|
|
320
317
|
}
|
|
321
|
-
if (!inLayoutBlock && indent === 0 && trimmed === "layout") {
|
|
322
|
-
let isBlock = false;
|
|
323
|
-
for (let j = i + 1; j < lines.length; j++) {
|
|
324
|
-
const peek = lines[j];
|
|
325
|
-
if (!peek.trim()) continue;
|
|
326
|
-
isBlock = measureIndent(peek) > 0 && LAYOUT_ENTRY_RE.test(peek.trim());
|
|
327
|
-
break;
|
|
328
|
-
}
|
|
329
|
-
if (isBlock) {
|
|
330
|
-
flushDescription();
|
|
331
|
-
closeGroupsToIndent(0);
|
|
332
|
-
inLayoutBlock = true;
|
|
333
|
-
continue;
|
|
334
|
-
}
|
|
335
|
-
}
|
|
336
|
-
if (inLayoutBlock) {
|
|
337
|
-
if (indent > 0) {
|
|
338
|
-
const lm = trimmed.match(LAYOUT_ENTRY_RE);
|
|
339
|
-
if (lm) {
|
|
340
|
-
nodePositions.set(lm[1].trim(), {
|
|
341
|
-
x: Number(lm[2]),
|
|
342
|
-
y: Number(lm[3])
|
|
343
|
-
});
|
|
344
|
-
} else {
|
|
345
|
-
result.diagnostics.push(
|
|
346
|
-
makeDgmoError(
|
|
347
|
-
lineNum,
|
|
348
|
-
`Invalid layout entry "${trimmed}" \u2014 expected "<node-id>: <x>, <y>"`,
|
|
349
|
-
"warning"
|
|
350
|
-
)
|
|
351
|
-
);
|
|
352
|
-
}
|
|
353
|
-
continue;
|
|
354
|
-
}
|
|
355
|
-
inLayoutBlock = false;
|
|
356
|
-
}
|
|
357
318
|
if (descState !== null) {
|
|
358
319
|
if (indent > descState.indent) {
|
|
359
320
|
if (trimmed.includes("->") || trimmed.includes("<->")) {
|
|
@@ -606,22 +567,6 @@ function parseBoxesAndLines(content, palette) {
|
|
|
606
567
|
);
|
|
607
568
|
}
|
|
608
569
|
finalizeAutoTagColors(result.tagGroups);
|
|
609
|
-
if (nodePositions.size > 0) {
|
|
610
|
-
const nodeLabelSet = new Set(result.nodes.map((n) => n.label));
|
|
611
|
-
for (const id of nodePositions.keys()) {
|
|
612
|
-
if (!nodeLabelSet.has(id)) {
|
|
613
|
-
pushWarning(0, `layout entry for unknown node "${id}" (ignored)`);
|
|
614
|
-
}
|
|
615
|
-
}
|
|
616
|
-
const unpositioned = result.nodes.filter((n) => !nodePositions.has(n.label)).map((n) => n.label);
|
|
617
|
-
if (unpositioned.length > 0) {
|
|
618
|
-
pushWarning(
|
|
619
|
-
0,
|
|
620
|
-
`layout block is partial \u2014 ${unpositioned.length} node(s) without coordinates (${unpositioned.slice(0, 5).join(", ")}${unpositioned.length > 5 ? "\u2026" : ""}); ignoring the block and auto-laying-out`
|
|
621
|
-
);
|
|
622
|
-
}
|
|
623
|
-
result.nodePositions = nodePositions;
|
|
624
|
-
}
|
|
625
570
|
if (result.tagGroups.length > 0) {
|
|
626
571
|
injectDefaultTagMetadata(result.nodes, result.tagGroups);
|
|
627
572
|
validateTagValues(result.nodes, result.tagGroups, pushWarning, suggest);
|
|
@@ -884,4 +829,4 @@ export {
|
|
|
884
829
|
looksLikeBoxesAndLines,
|
|
885
830
|
parseBoxesAndLines
|
|
886
831
|
};
|
|
887
|
-
//# sourceMappingURL=chunk-
|
|
832
|
+
//# sourceMappingURL=chunk-5RP7JRVP.js.map
|
|
@@ -5,22 +5,22 @@ import {
|
|
|
5
5
|
formatPct,
|
|
6
6
|
resolveCellColor,
|
|
7
7
|
resolveColorMode
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5BHJZH62.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AUIM2NVH.js";
|
|
12
12
|
import {
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YAA6IID3.js";
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
17
|
} from "./chunk-6KFWC4CO.js";
|
|
18
18
|
import {
|
|
19
19
|
LEGEND_GROUP_GAP
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QOOUC2J5.js";
|
|
21
21
|
import {
|
|
22
22
|
measureText
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WCT3NYCV.js";
|
|
24
24
|
import {
|
|
25
25
|
contrastRatio,
|
|
26
26
|
contrastText,
|
|
@@ -28,10 +28,10 @@ import {
|
|
|
28
28
|
hexToHSL,
|
|
29
29
|
hslToHex,
|
|
30
30
|
relativeLuminance
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
32
32
|
import {
|
|
33
33
|
tagAttrKey
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HHKO6SKY.js";
|
|
35
35
|
|
|
36
36
|
// src/treemap/renderer-radial.ts
|
|
37
37
|
import * as d3Selection from "d3-selection";
|
|
@@ -421,4 +421,4 @@ export {
|
|
|
421
421
|
renderTreemapRadialForExport,
|
|
422
422
|
renderTreemapRadial
|
|
423
423
|
};
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
424
|
+
//# sourceMappingURL=chunk-5SEVICBT.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-I46X5VUA.js";
|
|
4
4
|
import {
|
|
5
5
|
tryCollectNote
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ARGMQ3H4.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveNotes
|
|
9
9
|
} from "./chunk-FMDSF3OV.js";
|
|
@@ -16,11 +16,12 @@ import {
|
|
|
16
16
|
} from "./chunk-NOTA6TEI.js";
|
|
17
17
|
import {
|
|
18
18
|
ALL_CHART_TYPES,
|
|
19
|
+
FILL_FAMILY_TOKENS,
|
|
19
20
|
OPTION_NOCOLON_RE,
|
|
20
21
|
measureIndent,
|
|
21
22
|
parseFirstLine,
|
|
22
23
|
tryParseSharedOption
|
|
23
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
24
25
|
import {
|
|
25
26
|
NAME_DIAGNOSTIC_CODES,
|
|
26
27
|
emit,
|
|
@@ -372,8 +373,10 @@ function parseFlowchart(content, palette) {
|
|
|
372
373
|
result.direction = dirMatch[1].toUpperCase();
|
|
373
374
|
continue;
|
|
374
375
|
}
|
|
375
|
-
if (
|
|
376
|
-
options[
|
|
376
|
+
if (FILL_FAMILY_TOKENS.has(trimmed.toLowerCase())) {
|
|
377
|
+
for (const t of FILL_FAMILY_TOKENS) delete options[t];
|
|
378
|
+
if (trimmed.toLowerCase() !== "fill-tint")
|
|
379
|
+
options[trimmed.toLowerCase()] = "on";
|
|
377
380
|
continue;
|
|
378
381
|
}
|
|
379
382
|
if (/^no-color$/i.test(trimmed)) {
|
|
@@ -467,4 +470,4 @@ export {
|
|
|
467
470
|
looksLikeFlowchart,
|
|
468
471
|
extractSymbols
|
|
469
472
|
};
|
|
470
|
-
//# sourceMappingURL=chunk-
|
|
473
|
+
//# sourceMappingURL=chunk-6EJITS44.js.map
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderCollapseBar,
|
|
3
3
|
renderNodeCard
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OTOHI4JO.js";
|
|
5
5
|
import {
|
|
6
6
|
CARD_RADIUS,
|
|
7
7
|
CONTAINER_RADIUS
|
|
8
8
|
} from "./chunk-3CIOJ5YJ.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AUIM2NVH.js";
|
|
12
12
|
import {
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YAA6IID3.js";
|
|
15
15
|
import {
|
|
16
16
|
FONT_FAMILY
|
|
17
17
|
} from "./chunk-6KFWC4CO.js";
|
|
18
18
|
import {
|
|
19
19
|
measureText,
|
|
20
20
|
wrapTextToWidth
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-WCT3NYCV.js";
|
|
22
22
|
import {
|
|
23
23
|
contrastText,
|
|
24
24
|
mix,
|
|
25
|
-
shapeFill
|
|
26
|
-
|
|
25
|
+
shapeFill,
|
|
26
|
+
themeBaseBg
|
|
27
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
27
28
|
import {
|
|
28
29
|
resolveActiveTagGroup,
|
|
29
30
|
resolveTagColor,
|
|
30
31
|
tagAttrKey
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HHKO6SKY.js";
|
|
32
33
|
|
|
33
34
|
// src/sketch/renderer.ts
|
|
34
35
|
import * as d3 from "d3-selection";
|
|
@@ -306,7 +307,7 @@ function renderSketch(container, parsed, layout, palette, isDark, options = {})
|
|
|
306
307
|
hideDescriptions = false
|
|
307
308
|
} = options;
|
|
308
309
|
const hideDesc = hideDescriptions || parsed.options.noDescriptions;
|
|
309
|
-
const neutralFill = mix(palette.textMuted, palette.bg, 12);
|
|
310
|
+
const neutralFill = parsed.options.fillMode === "outline" ? themeBaseBg(palette, isDark) : mix(palette.textMuted, palette.bg, 12);
|
|
310
311
|
const tagGroups = [...parsed.tagGroups];
|
|
311
312
|
const activeName = resolveActiveTagGroup(
|
|
312
313
|
tagGroups,
|
|
@@ -325,14 +326,14 @@ function renderSketch(container, parsed, layout, palette, isDark, options = {})
|
|
|
325
326
|
};
|
|
326
327
|
}
|
|
327
328
|
const fill = shapeFill(palette, tagColor, isDark, {
|
|
328
|
-
|
|
329
|
+
mode: parsed.options.fillMode
|
|
329
330
|
});
|
|
330
331
|
return {
|
|
331
332
|
fill,
|
|
332
333
|
stroke: tagColor,
|
|
333
334
|
// Label text takes the shape's own (tag) color — but for solid fills the
|
|
334
335
|
// tag color would vanish into the fill, so keep a contrast color there.
|
|
335
|
-
text: parsed.options.
|
|
336
|
+
text: parsed.options.fillMode === "solid" ? contrastText(fill, palette.textOnFillLight, palette.textOnFillDark) : tagColor
|
|
336
337
|
};
|
|
337
338
|
};
|
|
338
339
|
const showTitle = !!parsed.title;
|
|
@@ -581,8 +582,8 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
581
582
|
const rows = node.isCollapsedBox ? [] : metaRows(node.metadata, tagGroups);
|
|
582
583
|
const badge = node.shape !== "rectangle";
|
|
583
584
|
const labelInset = badge ? 22 : 0;
|
|
584
|
-
const
|
|
585
|
-
const ruleColor =
|
|
585
|
+
const solidLike = colors.stroke === colors.fill;
|
|
586
|
+
const ruleColor = solidLike ? colors.text : colors.stroke;
|
|
586
587
|
if (node.description && !node.isCollapsedBox) {
|
|
587
588
|
const fitH = fitWrapped(
|
|
588
589
|
node.label,
|
|
@@ -651,7 +652,7 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
651
652
|
lineHeight: CARD_META_FONT + 5,
|
|
652
653
|
separatorGap: 8,
|
|
653
654
|
separatorColor: ruleColor,
|
|
654
|
-
textColor:
|
|
655
|
+
textColor: solidLike ? colors.text : palette.text,
|
|
655
656
|
keyX: 12
|
|
656
657
|
}
|
|
657
658
|
} : {}
|
|
@@ -945,6 +946,24 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
945
946
|
}
|
|
946
947
|
const W_NODE = 100;
|
|
947
948
|
const W_EDGE = 8;
|
|
949
|
+
const W_PORT = 1.5;
|
|
950
|
+
const isBox = (id) => portsById.has(id);
|
|
951
|
+
const portClashCount = (self, s, t) => {
|
|
952
|
+
const e = layout.edges[self];
|
|
953
|
+
let n = 0;
|
|
954
|
+
for (let j = 0; j < layout.edges.length; j++) {
|
|
955
|
+
if (j === self) continue;
|
|
956
|
+
const ej = layout.edges[j];
|
|
957
|
+
const cj = chosen[j];
|
|
958
|
+
if (!isBox(e.sourceId) && ej.targetId === e.sourceId && ej.sourceId !== e.targetId && // not reciprocal
|
|
959
|
+
cj.t === s)
|
|
960
|
+
n++;
|
|
961
|
+
if (!isBox(e.targetId) && ej.sourceId === e.targetId && ej.targetId !== e.sourceId && // not reciprocal
|
|
962
|
+
cj.s === t)
|
|
963
|
+
n++;
|
|
964
|
+
}
|
|
965
|
+
return n;
|
|
966
|
+
};
|
|
948
967
|
const scoreOf = (c, g, poly, self, polys2, s, t) => {
|
|
949
968
|
let edgeCross = 0;
|
|
950
969
|
for (let j = 0; j < polys2.length; j++) {
|
|
@@ -952,7 +971,7 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
952
971
|
const pj = polys2[j];
|
|
953
972
|
if (pj) edgeCross += polyCrossings(poly, pj);
|
|
954
973
|
}
|
|
955
|
-
return pathCrossings(g, c.obstacleRects) * W_NODE + edgeCross * W_EDGE + facingCost(c.source, c.target, s) + facingCost(c.target, c.source, t);
|
|
974
|
+
return pathCrossings(g, c.obstacleRects) * W_NODE + edgeCross * W_EDGE + portClashCount(self, s, t) * W_PORT + facingCost(c.source, c.target, s) + facingCost(c.target, c.source, t);
|
|
956
975
|
};
|
|
957
976
|
const chosen = layout.edges.map(
|
|
958
977
|
(_, i) => sides[i] ?? { s: "R", t: "L" }
|
|
@@ -977,7 +996,7 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
977
996
|
if (!c || !g || !p) continue;
|
|
978
997
|
const cur = chosen[i];
|
|
979
998
|
const curScore = scoreOf(c, g, p, i, polys, cur.s, cur.t);
|
|
980
|
-
if (curScore < W_EDGE) continue;
|
|
999
|
+
if (curScore < W_EDGE && portClashCount(i, cur.s, cur.t) === 0) continue;
|
|
981
1000
|
let bestScore = curScore;
|
|
982
1001
|
let bestG = g;
|
|
983
1002
|
let bestP = p;
|
|
@@ -1040,4 +1059,4 @@ export {
|
|
|
1040
1059
|
sketchEdgeGeometry,
|
|
1041
1060
|
renderSketchForExport
|
|
1042
1061
|
};
|
|
1043
|
-
//# sourceMappingURL=chunk-
|
|
1062
|
+
//# sourceMappingURL=chunk-6HQH6JZE.js.map
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
formatPct,
|
|
6
6
|
resolveCellColor,
|
|
7
7
|
resolveColorMode
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5BHJZH62.js";
|
|
9
9
|
import {
|
|
10
10
|
renderIntegratedLegend
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AUIM2NVH.js";
|
|
12
12
|
import {
|
|
13
13
|
getMaxLegendReservedHeight
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YAA6IID3.js";
|
|
15
15
|
import {
|
|
16
16
|
TITLE_FONT_SIZE,
|
|
17
17
|
TITLE_FONT_WEIGHT,
|
|
@@ -22,18 +22,19 @@ import {
|
|
|
22
22
|
} from "./chunk-6KFWC4CO.js";
|
|
23
23
|
import {
|
|
24
24
|
LEGEND_GROUP_GAP
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QOOUC2J5.js";
|
|
26
26
|
import {
|
|
27
27
|
measureText
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-WCT3NYCV.js";
|
|
29
29
|
import {
|
|
30
30
|
contrastText,
|
|
31
31
|
getSeriesColors,
|
|
32
|
-
mix
|
|
33
|
-
|
|
32
|
+
mix,
|
|
33
|
+
themeBaseBg
|
|
34
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
34
35
|
import {
|
|
35
36
|
tagAttrKey
|
|
36
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HHKO6SKY.js";
|
|
37
38
|
|
|
38
39
|
// src/treemap/renderer.ts
|
|
39
40
|
import * as d3Selection from "d3-selection";
|
|
@@ -138,14 +139,13 @@ function renderTreemapForExport(container, parsed, palette, isDark, exportDims,
|
|
|
138
139
|
}
|
|
139
140
|
function renderTreemap(container, parsed, palette, isDark, exportDims, options = {}) {
|
|
140
141
|
if (parsed.error || parsed.roots.length === 0) return;
|
|
141
|
-
void isDark;
|
|
142
142
|
d3Selection.select(container).selectAll(":not([data-d3-tooltip])").remove();
|
|
143
143
|
const width = exportDims?.width ?? container.clientWidth;
|
|
144
144
|
const height = exportDims?.height ?? container.clientHeight;
|
|
145
145
|
if (width <= 0 || height <= 0) return;
|
|
146
146
|
const mode = resolveColorMode(parsed, options.colorMode);
|
|
147
147
|
const opts = parsed.options;
|
|
148
|
-
const
|
|
148
|
+
const fillMode = opts.fillMode;
|
|
149
149
|
const exportMode = options.exportMode ?? false;
|
|
150
150
|
const seriesColorsTop = getSeriesColors(palette);
|
|
151
151
|
const showTitle = !!parsed.title;
|
|
@@ -198,7 +198,7 @@ function renderTreemap(container, parsed, palette, isDark, exportDims, options =
|
|
|
198
198
|
const h = Math.max(0, cell.y1 - cell.y0);
|
|
199
199
|
if (w <= 0 || h <= 0) continue;
|
|
200
200
|
const baseColor = resolveCellColor(cell, colorCtx);
|
|
201
|
-
const fill = cell.isContainer ? baseColor : solid ? baseColor : mix(baseColor, palette.bg, LEAF_MUTE_PCT);
|
|
201
|
+
const fill = fillMode === "outline" ? themeBaseBg(palette, isDark) : cell.isContainer ? baseColor : fillMode === "solid" ? baseColor : mix(baseColor, palette.bg, LEAF_MUTE_PCT);
|
|
202
202
|
const drillable = cell.isContainer || cell.isCollapsed;
|
|
203
203
|
const g = root.append("g").attr("class", "dgmo-treemap-cell").attr("transform", `translate(${cell.x0},${cell.y0})`).attr("data-node-path", cell.path.join(" / "));
|
|
204
204
|
if (cell.lineNumber !== void 0) {
|
|
@@ -213,16 +213,15 @@ function renderTreemap(container, parsed, palette, isDark, exportDims, options =
|
|
|
213
213
|
const rect = g.append("rect").attr(
|
|
214
214
|
"class",
|
|
215
215
|
cell.isContainer ? "dgmo-treemap-rect branch" : "dgmo-treemap-rect"
|
|
216
|
-
).attr("width", w).attr("height", h).attr("rx", 2).attr("fill", fill).attr("fill-opacity", 1).attr("stroke",
|
|
216
|
+
).attr("width", w).attr("height", h).attr("rx", 2).attr("fill", fill).attr("fill-opacity", 1).attr("stroke", fillMode === "outline" ? baseColor : palette.bg).attr(
|
|
217
|
+
"stroke-width",
|
|
218
|
+
fillMode === "outline" ? 1 : cell.isContainer ? 1 : 0
|
|
219
|
+
);
|
|
217
220
|
if (drillable && options.onClickItem && cell.lineNumber !== void 0) {
|
|
218
221
|
const ln = cell.lineNumber;
|
|
219
222
|
rect.style("cursor", "pointer").on("click", () => options.onClickItem(ln));
|
|
220
223
|
}
|
|
221
|
-
const ink = contrastText(
|
|
222
|
-
fill,
|
|
223
|
-
palette.textOnFillLight,
|
|
224
|
-
palette.textOnFillDark
|
|
225
|
-
);
|
|
224
|
+
const ink = fillMode === "outline" ? baseColor : contrastText(fill, palette.textOnFillLight, palette.textOnFillDark);
|
|
226
225
|
if (cell.isContainer && headerH > 0 && w > 34 && h > headerH) {
|
|
227
226
|
const valParts = [];
|
|
228
227
|
if (!opts.noValues) valParts.push(compactNumber(cell.value));
|
|
@@ -381,4 +380,4 @@ export {
|
|
|
381
380
|
renderTreemapForExport,
|
|
382
381
|
renderTreemap
|
|
383
382
|
};
|
|
384
|
-
//# sourceMappingURL=chunk-
|
|
383
|
+
//# sourceMappingURL=chunk-6LBQ7ELG.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JED6ZDEE.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
7
7
|
import {
|
|
8
8
|
measureText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-WCT3NYCV.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveNotes
|
|
12
12
|
} from "./chunk-FMDSF3OV.js";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-6NYWYNBI.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
matchTagBlockHeading,
|
|
8
8
|
stripDefaultModifier,
|
|
9
9
|
tagAttrKey
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HHKO6SKY.js";
|
|
11
11
|
import {
|
|
12
12
|
displayName,
|
|
13
13
|
normalizeName
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
tokenizeQuoteAware,
|
|
27
27
|
tryParseSharedOption,
|
|
28
28
|
withTagAliases
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
30
30
|
import {
|
|
31
31
|
nord,
|
|
32
32
|
resolveColor
|
|
@@ -571,4 +571,4 @@ export {
|
|
|
571
571
|
FAMILY_DIAGNOSTICS,
|
|
572
572
|
parseFamily
|
|
573
573
|
};
|
|
574
|
-
//# sourceMappingURL=chunk-
|
|
574
|
+
//# sourceMappingURL=chunk-75G3Q4DK.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
renderNoteBadge,
|
|
5
5
|
renderNoteBox,
|
|
6
6
|
renderNoteConnector
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-J7TLCB2Q.js";
|
|
8
8
|
import {
|
|
9
9
|
layoutERDiagram
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6NYWYNBI.js";
|
|
11
11
|
import {
|
|
12
12
|
EDGE_STROKE_WIDTH,
|
|
13
13
|
NODE_STROKE_WIDTH
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-YYVTBZZC.js";
|
|
18
18
|
import {
|
|
19
19
|
renderIntegratedLegend
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AUIM2NVH.js";
|
|
21
21
|
import {
|
|
22
22
|
TITLE_FONT_SIZE,
|
|
23
23
|
TITLE_FONT_WEIGHT,
|
|
@@ -28,22 +28,25 @@ import {
|
|
|
28
28
|
} from "./chunk-6KFWC4CO.js";
|
|
29
29
|
import {
|
|
30
30
|
LEGEND_HEIGHT
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QOOUC2J5.js";
|
|
32
32
|
import {
|
|
33
33
|
measureText
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-WCT3NYCV.js";
|
|
35
35
|
import {
|
|
36
36
|
parseERDiagram
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-REJAIQ5S.js";
|
|
38
38
|
import {
|
|
39
39
|
contrastText,
|
|
40
40
|
getSeriesColors,
|
|
41
41
|
shapeFill
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-WBM7ZNDI.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveTagColor,
|
|
45
45
|
tagAttrKey
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-HHKO6SKY.js";
|
|
47
|
+
import {
|
|
48
|
+
fillModeFromOptions
|
|
49
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
47
50
|
|
|
48
51
|
// src/er/renderer.ts
|
|
49
52
|
import * as d3Selection from "d3-selection";
|
|
@@ -383,7 +386,7 @@ function renderERDiagram(container, parsed, layout, palette, isDark, onClickItem
|
|
|
383
386
|
const w = node.width;
|
|
384
387
|
const h = node.height;
|
|
385
388
|
const fill = shapeFill(palette, nodeColor, isDark, {
|
|
386
|
-
|
|
389
|
+
mode: fillModeFromOptions(parsed.options)
|
|
387
390
|
});
|
|
388
391
|
const stroke = nodeColor;
|
|
389
392
|
const onFillText = contrastText(
|
|
@@ -545,4 +548,4 @@ export {
|
|
|
545
548
|
renderERDiagram,
|
|
546
549
|
renderERDiagramForExport
|
|
547
550
|
};
|
|
548
|
-
//# sourceMappingURL=chunk-
|
|
551
|
+
//# sourceMappingURL=chunk-77FGAVZC.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
splitNameAndMeta,
|
|
6
6
|
tryParseSharedOption,
|
|
7
7
|
warnUnknownMetaKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-BRENJ2BQ.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
@@ -274,4 +274,4 @@ function parseCycle(content) {
|
|
|
274
274
|
export {
|
|
275
275
|
parseCycle
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=chunk-
|
|
277
|
+
//# sourceMappingURL=chunk-7BIZCTAX.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JED6ZDEE.js";
|
|
4
4
|
import {
|
|
5
5
|
noteCanvasShift
|
|
6
6
|
} from "./chunk-6EK55ART.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
measureText,
|
|
9
9
|
truncateText,
|
|
10
10
|
wrapTextToWidth
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WCT3NYCV.js";
|
|
12
12
|
import {
|
|
13
13
|
resolveNotes
|
|
14
14
|
} from "./chunk-FMDSF3OV.js";
|
|
@@ -311,7 +311,7 @@ function computeNodeSize(node, reserveValueRow) {
|
|
|
311
311
|
return { width: w, height: Math.max(NODE_HEIGHT, totalHeight) };
|
|
312
312
|
}
|
|
313
313
|
async function layoutBoxesAndLines(parsed, collapseInfo, layoutOptions) {
|
|
314
|
-
const { layoutBoxesAndLinesSearch } = await import("./layout-search-
|
|
314
|
+
const { layoutBoxesAndLinesSearch } = await import("./layout-search-55FU6HD3.js");
|
|
315
315
|
const searchOpts = {
|
|
316
316
|
...layoutOptions?.hideDescriptions !== void 0 && {
|
|
317
317
|
hideDescriptions: layoutOptions.hideDescriptions
|
|
@@ -460,4 +460,4 @@ export {
|
|
|
460
460
|
computeNodeSize,
|
|
461
461
|
layoutBoxesAndLines
|
|
462
462
|
};
|
|
463
|
-
//# sourceMappingURL=chunk-
|
|
463
|
+
//# sourceMappingURL=chunk-7DF4J4RL.js.map
|