@diagrammo/dgmo 0.55.0 → 0.56.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 +62 -2
- package/dist/advanced.js +115 -113
- package/dist/{analyzer-TDN5KJFP.js → analyzer-HQUXKZ5J.js} +3 -3
- package/dist/auto.js +131 -129
- package/dist/auto.mjs +1178 -626
- package/dist/block.js +56 -55
- package/dist/{calculator-VBIT6GQF.js → calculator-BBKAAQGD.js} +3 -3
- package/dist/chart-meta.js +47 -47
- package/dist/charts-d3-D67V6KHE.js +29 -0
- package/dist/{chunk-INTAQV2Y.js → chunk-23THM67F.js} +2 -2
- package/dist/{chunk-QZYGRDMM.js → chunk-2JMNOEAU.js} +97 -97
- package/dist/{chunk-WVGNXDEE.js → chunk-2UZVMWSQ.js} +4 -4
- package/dist/{chunk-A2ARDILY.js → chunk-3KOPPSUQ.js} +3 -3
- package/dist/{chunk-ETTDF3S2.js → chunk-3R67RRPC.js} +86 -55
- package/dist/{chunk-JYDMBWRP.js → chunk-42IT4BG2.js} +2 -2
- package/dist/{chunk-JQLSFZZP.js → chunk-4MB4UOT5.js} +3 -3
- package/dist/{chunk-ITXL2KU5.js → chunk-4MJOBVY7.js} +3 -3
- package/dist/{chunk-WITOJZGL.js → chunk-5J2RQGFG.js} +4 -4
- package/dist/{chunk-FBP33UM6.js → chunk-5VLUAAAE.js} +4 -4
- package/dist/{chunk-P5XXIVEU.js → chunk-5XMDSXZT.js} +3 -3
- package/dist/{chunk-32HUNA33.js → chunk-5ZDHXS5N.js} +13 -10
- package/dist/{chunk-MEQYZZFR.js → chunk-6IVXRTXH.js} +96 -23
- package/dist/{chunk-US3P2DQO.js → chunk-6VJCURWU.js} +2 -2
- package/dist/{chunk-QZAW5SFH.js → chunk-7NK42OIB.js} +2 -2
- package/dist/{chunk-NN5TF4OV.js → chunk-7SXTD7L6.js} +3 -3
- package/dist/{chunk-VVIRAGID.js → chunk-A4DAZO3U.js} +12 -9
- package/dist/{chunk-UXXLE6AH.js → chunk-AIH6M5J6.js} +6 -6
- package/dist/{chunk-A4UJP4IS.js → chunk-AMC2OGXF.js} +10 -10
- package/dist/{chunk-SSHS42QG.js → chunk-AN465MXC.js} +2 -2
- package/dist/{chunk-NPPUZ4SK.js → chunk-AOJJSGXE.js} +5 -5
- package/dist/{chunk-MEH4TJEX.js → chunk-APD52YJV.js} +8 -8
- package/dist/{chunk-QQXFYTLC.js → chunk-BR2VSKHI.js} +36 -19
- package/dist/{chunk-Q5CMQVWF.js → chunk-C3BWDEYN.js} +5 -5
- package/dist/{chunk-HO3RCNF6.js → chunk-CGLBK5Q4.js} +2 -2
- package/dist/{chunk-ADYKAKE3.js → chunk-CQ7Y3O67.js} +7 -4
- package/dist/{chunk-SCOHNGPG.js → chunk-CQOC2MD6.js} +21 -9
- package/dist/{chunk-A2PTRSAO.js → chunk-CXI6X54X.js} +3 -3
- package/dist/{chunk-PCVXXPYU.js → chunk-CY5KE2P5.js} +57 -7
- package/dist/{chunk-COVYNAKJ.js → chunk-D3WTEBGT.js} +2 -2
- package/dist/{chunk-JR7Q6GHE.js → chunk-D5FANMSG.js} +3 -3
- package/dist/{chunk-MSWIBF6J.js → chunk-D64FRGKU.js} +3 -3
- package/dist/{chunk-5K5XBEXT.js → chunk-DIKIHU52.js} +4 -4
- package/dist/{chunk-EMSOFHEN.js → chunk-DNSEG6P2.js} +2 -2
- package/dist/{chunk-UJRTPOHH.js → chunk-DUI5SMFX.js} +2 -2
- package/dist/{chunk-O4CZDTQA.js → chunk-EEKGMS63.js} +4 -4
- package/dist/{chunk-2HX6ZGY7.js → chunk-ES3MUYRX.js} +5 -5
- package/dist/{chunk-GRXPFBYC.js → chunk-ES66QH6J.js} +2 -2
- package/dist/{chunk-ZKPPI6BF.js → chunk-EXNKNJ65.js} +2 -2
- package/dist/{chunk-YXKNXIWA.js → chunk-FCA2UGJT.js} +5 -5
- package/dist/{chunk-VMWSZCAK.js → chunk-FERE46TP.js} +5 -5
- package/dist/{chunk-B4XS2AF2.js → chunk-FWVKPEG3.js} +3 -3
- package/dist/{chunk-RZWIPDZ2.js → chunk-FXVPSTDT.js} +6 -6
- package/dist/{chunk-KK3L5NVK.js → chunk-FZECLCCU.js} +4 -4
- package/dist/{chunk-XKKH2DPG.js → chunk-GDGOVO2I.js} +60 -41
- package/dist/{chunk-ZXNHHO6D.js → chunk-GG7TK3IA.js} +5 -5
- package/dist/{chunk-GTO5VCYG.js → chunk-GUVVQW3Y.js} +5 -5
- package/dist/{chunk-DS4MDEQ7.js → chunk-HE57UQHL.js} +3 -3
- package/dist/{chunk-ZP265ICS.js → chunk-HIMDUQT7.js} +7 -7
- package/dist/{chunk-JGCEFKZP.js → chunk-HKKPUUNK.js} +10 -10
- package/dist/{chunk-FGAMFJNJ.js → chunk-HODUM6LY.js} +7 -7
- package/dist/{chunk-5D5VHDJM.js → chunk-HOPTF3ZP.js} +9 -9
- package/dist/{chunk-LCRPGGGS.js → chunk-HPJITTF7.js} +11 -8
- package/dist/{chunk-BEOAKGNA.js → chunk-I55PVEIX.js} +2 -2
- package/dist/{chunk-EFUQENO5.js → chunk-IMXG673Y.js} +3 -3
- package/dist/{chunk-KC3WBBI7.js → chunk-JE3SMHRZ.js} +6 -6
- package/dist/{chunk-5H5GWWA4.js → chunk-JXFB3APA.js} +11 -11
- package/dist/{chunk-HX7QNHC6.js → chunk-KF575IXC.js} +4 -4
- package/dist/{chunk-LW7STMYZ.js → chunk-KIGV66SP.js} +3 -3
- package/dist/{chunk-2R6HG6D5.js → chunk-KSPCR75O.js} +7 -7
- package/dist/{chunk-JTSMEYIZ.js → chunk-L43KTQTW.js} +5 -2
- package/dist/{chunk-ZWVKTWK6.js → chunk-LV5BFA24.js} +6 -6
- package/dist/{chunk-HES4K6DV.js → chunk-MD2KWAXJ.js} +4 -4
- package/dist/{chunk-ETYF5QZR.js → chunk-MGLJA5TK.js} +3 -3
- package/dist/{chunk-L2DIXZUT.js → chunk-N2KO445N.js} +15 -12
- package/dist/{chunk-3BZJ5KD5.js → chunk-NFAHDPCG.js} +4 -4
- package/dist/{chunk-S52F62GW.js → chunk-NHZAYL2X.js} +7 -7
- package/dist/{chunk-PIXZTCKH.js → chunk-NVQXIDLE.js} +3 -3
- package/dist/chunk-NZ5QVASG.js +20 -0
- package/dist/{chunk-PC4YLEKA.js → chunk-OHBIN74X.js} +4 -4
- package/dist/{chunk-4W2PE66Q.js → chunk-OLMWTJVU.js} +11 -1
- package/dist/{chunk-6NJWBMJV.js → chunk-OWLGERJL.js} +7 -7
- package/dist/{chunk-2ZJXKJSI.js → chunk-P6XFQVYY.js} +8 -8
- package/dist/{chunk-LKGQ46P4.js → chunk-PECYPUJJ.js} +5 -5
- package/dist/{chunk-MNS2ENXF.js → chunk-PFG3EVRD.js} +4 -4
- package/dist/{chunk-ASPS5O6F.js → chunk-QDOYT6UW.js} +5 -5
- package/dist/{chunk-HLGOG44K.js → chunk-QWUYFUNO.js} +3 -3
- package/dist/{chunk-IWG2ECAO.js → chunk-R7ECJQTB.js} +10 -8
- package/dist/{chunk-UBQU2BY6.js → chunk-RBIX3HQQ.js} +4 -4
- package/dist/{chunk-F5ZNUMSY.js → chunk-RK3Y4WMV.js} +14 -11
- package/dist/{chunk-HUTP35XT.js → chunk-RQGNELB3.js} +5 -5
- package/dist/{chunk-WF64MW5G.js → chunk-RRX4Z4TH.js} +2 -2
- package/dist/{chunk-PSIDVCBA.js → chunk-RV2N7COG.js} +4 -4
- package/dist/{chunk-X3X4LZDC.js → chunk-S6QDCFEU.js} +2 -2
- package/dist/{chunk-Q5IHQ4NW.js → chunk-SCJ7CAJF.js} +2 -2
- package/dist/{chunk-3B2GXZCX.js → chunk-SK7PCW4F.js} +2 -2
- package/dist/{chunk-IALX52TR.js → chunk-SOBGK35Z.js} +4 -4
- package/dist/{chunk-4R5KIPNX.js → chunk-ST3ZNEUQ.js} +3 -3
- package/dist/{chunk-3IUHKMJI.js → chunk-U2BKSEKU.js} +2 -2
- package/dist/{chunk-ZGIBV36U.js → chunk-U7ZQTUZT.js} +6 -6
- package/dist/{chunk-VXTUWXFB.js → chunk-ULONXAOD.js} +8 -8
- package/dist/{chunk-NL7FUIVD.js → chunk-ULR3BVNH.js} +8 -8
- package/dist/{chunk-YP2T5YUP.js → chunk-USFZQPJ2.js} +5 -5
- package/dist/{chunk-M53MDBIW.js → chunk-UZ6L5VQJ.js} +4 -4
- package/dist/{chunk-HGKOVKAX.js → chunk-VKN7YW4Q.js} +10 -7
- package/dist/{chunk-NYOOPQFD.js → chunk-VSFAJUEF.js} +4 -4
- package/dist/{chunk-W4TSD3IP.js → chunk-VU3DOZ6C.js} +3 -3
- package/dist/{chunk-IIUYKQ5J.js → chunk-VYEQPPS6.js} +7 -7
- package/dist/{chunk-IG6J7JWH.js → chunk-W2I2EXSC.js} +15 -12
- package/dist/{chunk-WB3NA3JJ.js → chunk-W4EKQ2P6.js} +2 -2
- package/dist/{chunk-3BFXELBL.js → chunk-WFX6AUQO.js} +5 -5
- package/dist/{chunk-PV7ND5WL.js → chunk-WK3UFCZC.js} +9 -9
- package/dist/{chunk-IF4KYSJZ.js → chunk-WOMXS5R7.js} +20 -5
- package/dist/chunk-WTTIODDV.js +10 -0
- package/dist/{chunk-RSBH2C7O.js → chunk-X32RDWT5.js} +5 -5
- package/dist/{chunk-AKE6C2D7.js → chunk-XN4ZSACM.js} +4 -4
- package/dist/{chunk-RYNCWA5X.js → chunk-Y2L2LET6.js} +5 -5
- package/dist/{chunk-PKUWYPI5.js → chunk-YG5KQ55U.js} +9 -9
- package/dist/{chunk-4MZCJV4M.js → chunk-YH62K5D4.js} +15 -12
- package/dist/{chunk-3FUTFYSP.js → chunk-YJUF2N3C.js} +11 -11
- package/dist/{chunk-UES4P7FN.js → chunk-YM2ZQIVG.js} +4 -4
- package/dist/{chunk-AU75JHSR.js → chunk-YNAHUNMA.js} +3 -3
- package/dist/{chunk-Y4BBGFKY.js → chunk-YWPWRR7W.js} +2 -2
- package/dist/{chunk-RKBCKCSF.js → chunk-ZMMYCERO.js} +2 -2
- package/dist/cli.cjs +153 -150
- package/dist/completion-registry.js +6 -6
- package/dist/dgmo-router-GSWUPLP2.js +88 -0
- package/dist/dimensions-PLECMFTR.js +22 -0
- package/dist/element.js +132 -130
- package/dist/element.mjs +1178 -626
- package/dist/flowchart-parser-DA3V2SLH.js +21 -0
- package/dist/{flowchart-renderer-FFEQFQEU.js → flowchart-renderer-UQVXOUW4.js} +13 -12
- package/dist/index.js +61 -56
- package/dist/{layout-UR7CYAHL.js → layout-2BJDECLZ.js} +5 -8
- package/dist/{layout-NF4EWFLT.js → layout-3XFPPFXI.js} +4 -4
- package/dist/layout-A5UVXINF.js +15 -0
- package/dist/layout-HIK4ZJFQ.js +15 -0
- package/dist/{layout-CB3XWCOI.js → layout-NX37NSRY.js} +3 -3
- package/dist/layout-OHAIIXBC.js +10 -0
- package/dist/{layout-CRLTSFYQ.js → layout-QRVYYYZ3.js} +6 -6
- package/dist/{layout-LGXOKUCD.js → layout-SNIEAZ2I.js} +8 -8
- package/dist/{layout-SP7HJWKA.js → layout-UFZQI6SX.js} +4 -4
- package/dist/{layout-3ZZBKUQC.js → layout-UXMNKETK.js} +7 -7
- package/dist/layout-WDXNSQQF.js +15 -0
- package/dist/{layout-search-U2H4ORFJ.js → layout-search-I4VNIRGT.js} +315 -33
- package/dist/{legend-constants-B77VKB3R.js → legend-constants-QQU3QYBF.js} +5 -5
- package/dist/{palettes-FGTNFARW.js → palettes-WO3VA6NU.js} +4 -4
- package/dist/parser-4TX6U4ZU.js +11 -0
- package/dist/{parser-DYYTPLBL.js → parser-4ZIJDGPG.js} +6 -6
- package/dist/parser-5UZWYSIV.js +16 -0
- package/dist/parser-6CM27UPA.js +14 -0
- package/dist/parser-73YUU35J.js +11 -0
- package/dist/parser-A6M25MLK.js +11 -0
- package/dist/parser-AYZTKZC3.js +11 -0
- package/dist/parser-CCAUZLYI.js +15 -0
- package/dist/parser-D7YZX3CH.js +12 -0
- package/dist/parser-DQ2DGDYO.js +11 -0
- package/dist/parser-GGCDY65M.js +14 -0
- package/dist/parser-HMQZPPOK.js +19 -0
- package/dist/parser-IPBEW2DG.js +13 -0
- package/dist/{parser-TO7IENWL.js → parser-JWAGGYLL.js} +7 -7
- package/dist/parser-KTVDCWHG.js +13 -0
- package/dist/{parser-PVBUAVRR.js → parser-LNEAHGXF.js} +7 -7
- package/dist/parser-LQDEU22S.js +15 -0
- package/dist/{parser-2LF33IS2.js → parser-MH62NYKM.js} +6 -6
- package/dist/parser-O5XCVGZG.js +11 -0
- package/dist/parser-OPOGIKFR.js +17 -0
- package/dist/parser-PEBXIOPX.js +12 -0
- package/dist/parser-PQXN6SBB.js +18 -0
- package/dist/parser-Q3KNFXQR.js +12 -0
- package/dist/parser-Q62VR2UJ.js +20 -0
- package/dist/parser-QEWSTNEJ.js +15 -0
- package/dist/{parser-SUV52NQW.js → parser-QL2LBPFE.js} +7 -7
- package/dist/{parser-BMOTF72G.js → parser-QN3GJJ3J.js} +5 -5
- package/dist/parser-RBNOWHGM.js +15 -0
- package/dist/parser-SJ7ECFAP.js +13 -0
- package/dist/parser-VVTCMQWY.js +16 -0
- package/dist/parser-WT3DSNPQ.js +13 -0
- package/dist/parser-XWNSCDY6.js +13 -0
- package/dist/{renderer-TXTTV4HA.js → renderer-2NU7M5PN.js} +14 -13
- package/dist/renderer-3IETIUZB.js +30 -0
- package/dist/renderer-4VLQKKTV.js +39 -0
- package/dist/{renderer-UZIU4AHK.js → renderer-52S6JM5R.js} +12 -12
- package/dist/renderer-53FU55KK.js +19 -0
- package/dist/renderer-5CU6GYF2.js +27 -0
- package/dist/{renderer-DW6TEBLA.js → renderer-5G3PORFD.js} +13 -13
- package/dist/renderer-CB2DOQ2O.js +25 -0
- package/dist/{renderer-RDBUXW7P.js → renderer-CL4SAUA5.js} +8 -8
- package/dist/{renderer-IRAFJNTK.js → renderer-CRAIC4ER.js} +12 -11
- package/dist/renderer-DZ5N6BHW.js +26 -0
- package/dist/renderer-FRBPMKPP.js +25 -0
- package/dist/renderer-HGWKAXS6.js +16 -0
- package/dist/renderer-I5MAFUKX.js +26 -0
- package/dist/{renderer-K7XLVPH5.js → renderer-IWNHBIZ6.js} +5 -5
- package/dist/renderer-J5MMVCGN.js +29 -0
- package/dist/renderer-J5TL5ZX4.js +39 -0
- package/dist/renderer-JNC6VJMN.js +24 -0
- package/dist/{renderer-CENXCMWG.js → renderer-KUIZNLAQ.js} +6 -6
- package/dist/renderer-M6AFKVLS.js +21 -0
- package/dist/renderer-MLDGFZDW.js +23 -0
- package/dist/{renderer-3PWLOJPD.js → renderer-O4ECS2BI.js} +13 -12
- package/dist/{renderer-IO4KCFVL.js → renderer-OZIPP7VF.js} +14 -13
- package/dist/{renderer-TKTM2SL4.js → renderer-P7O6OUYC.js} +13 -13
- package/dist/renderer-Q3A7572V.js +25 -0
- package/dist/renderer-QRX7Q2YN.js +22 -0
- package/dist/{renderer-QZESC66H.js → renderer-RJT3MOUU.js} +5 -5
- package/dist/{renderer-5EMHIQL5.js → renderer-SYT4L7GE.js} +6 -6
- package/dist/{renderer-FXK6ZL3P.js → renderer-TOKGYFTG.js} +6 -6
- package/dist/renderer-WWC5VGHH.js +27 -0
- package/dist/{renderer-HTDS4FED.js → renderer-YVCD55ZX.js} +15 -14
- package/dist/renderer-YWYX6WAI.js +16 -0
- package/dist/renderer-radial-QG644QYY.js +21 -0
- package/dist/{resolver-ZSFQQRTH.js → resolver-W3WKLWDP.js} +3 -3
- package/dist/state-parser-NQGVYSM3.js +19 -0
- package/dist/state-renderer-NKV5B3KH.js +40 -0
- package/docs/language-reference.md +9 -1
- package/package.json +2 -2
- package/dist/charts-d3-KZ6V4OP2.js +0 -28
- package/dist/dgmo-router-T4HGLIGA.js +0 -88
- package/dist/dimensions-3JINHSYK.js +0 -22
- package/dist/flowchart-parser-M7KKTLX7.js +0 -21
- package/dist/layout-AUKTWGYL.js +0 -15
- package/dist/layout-FNZDJGKF.js +0 -19
- package/dist/layout-GHWRJKZQ.js +0 -15
- package/dist/layout-UTMEVFHN.js +0 -15
- package/dist/parser-2AXPSKWB.js +0 -14
- package/dist/parser-2AZ2KQTO.js +0 -12
- package/dist/parser-3QJ2Z4H4.js +0 -11
- package/dist/parser-5GCQFSTQ.js +0 -13
- package/dist/parser-62OHBRU5.js +0 -11
- package/dist/parser-7LYJFZCP.js +0 -14
- package/dist/parser-CIFLYZYP.js +0 -15
- package/dist/parser-D2UL2G5U.js +0 -11
- package/dist/parser-DM2APTKB.js +0 -11
- package/dist/parser-GOUGUTPU.js +0 -12
- package/dist/parser-HGVUVD6J.js +0 -11
- package/dist/parser-IEJD3CZB.js +0 -11
- package/dist/parser-JBEWNLAV.js +0 -20
- package/dist/parser-JMXPHNZD.js +0 -12
- package/dist/parser-JMXSQY3K.js +0 -13
- package/dist/parser-LUXS7J32.js +0 -16
- package/dist/parser-M5BUHULF.js +0 -15
- package/dist/parser-MESRHUS4.js +0 -17
- package/dist/parser-OOYNI2UT.js +0 -15
- package/dist/parser-QKRBSQLJ.js +0 -18
- package/dist/parser-S6NWSIJO.js +0 -16
- package/dist/parser-SFEK6Q7Z.js +0 -19
- package/dist/parser-SZHGLOOZ.js +0 -13
- package/dist/parser-TVAMC7CQ.js +0 -13
- package/dist/parser-VAW46R57.js +0 -13
- package/dist/parser-XDSPOXSE.js +0 -15
- package/dist/renderer-5PODNLYP.js +0 -16
- package/dist/renderer-AQJIQ2XU.js +0 -25
- package/dist/renderer-BEW3AYFT.js +0 -28
- package/dist/renderer-C3UYAXA6.js +0 -26
- package/dist/renderer-CXM3ARYN.js +0 -23
- package/dist/renderer-FE5M6SEZ.js +0 -25
- package/dist/renderer-G5ESLCJB.js +0 -29
- package/dist/renderer-MFTTFW32.js +0 -38
- package/dist/renderer-MPXI4FVL.js +0 -24
- package/dist/renderer-NVBEMQ6L.js +0 -19
- package/dist/renderer-OOGDCR6K.js +0 -16
- package/dist/renderer-Q5P72O4A.js +0 -26
- package/dist/renderer-S4XB3JR2.js +0 -27
- package/dist/renderer-SIWEEWJ5.js +0 -26
- package/dist/renderer-V72VJIGG.js +0 -38
- package/dist/renderer-VEGOEZOI.js +0 -25
- package/dist/renderer-W6I6T2TA.js +0 -21
- package/dist/renderer-WSHJRR2T.js +0 -22
- package/dist/renderer-radial-AG75PBYD.js +0 -21
- package/dist/state-parser-KIPZGIB4.js +0 -19
- package/dist/state-renderer-U6OSJG52.js +0 -39
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
} from "./chunk-3CIOJ5YJ.js";
|
|
9
9
|
import {
|
|
10
10
|
layoutInlineHeader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6VJCURWU.js";
|
|
12
12
|
import {
|
|
13
13
|
renderIntegratedLegend
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-QDOYT6UW.js";
|
|
15
15
|
import {
|
|
16
16
|
getLegendExtent,
|
|
17
17
|
getMaxLegendReservedHeight
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ES66QH6J.js";
|
|
19
19
|
import {
|
|
20
20
|
FONT_FAMILY
|
|
21
21
|
} from "./chunk-6KFWC4CO.js";
|
|
@@ -28,12 +28,12 @@ import {
|
|
|
28
28
|
mix,
|
|
29
29
|
shapeFill,
|
|
30
30
|
themeBaseBg
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-42IT4BG2.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveActiveTagGroup,
|
|
34
34
|
resolveTagColor,
|
|
35
35
|
tagAttrKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-D5FANMSG.js";
|
|
37
37
|
|
|
38
38
|
// src/sketch/renderer.ts
|
|
39
39
|
import * as d3 from "d3-selection";
|
|
@@ -213,7 +213,7 @@ function drawMarkdownBlock(container, text, opts) {
|
|
|
213
213
|
const textEl = container.append("text").attr("x", line.x).attr("y", y).attr("font-size", fontSize);
|
|
214
214
|
let cursorX = line.x;
|
|
215
215
|
const segs = line.segments.slice();
|
|
216
|
-
if (clamped && isLast) {
|
|
216
|
+
if (clamped && isLast && !opts.noEllipsis) {
|
|
217
217
|
segs.push({ text: ELLIPSIS, bold: false });
|
|
218
218
|
}
|
|
219
219
|
for (const seg of segs) {
|
|
@@ -227,7 +227,11 @@ function drawMarkdownBlock(container, text, opts) {
|
|
|
227
227
|
cursorX += w;
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
return
|
|
230
|
+
return {
|
|
231
|
+
height: shown.length * lineHeight,
|
|
232
|
+
shown: shown.length,
|
|
233
|
+
total: visualLines.length
|
|
234
|
+
};
|
|
231
235
|
}
|
|
232
236
|
|
|
233
237
|
// src/sketch/renderer.ts
|
|
@@ -237,8 +241,8 @@ var TITLE_FONT_SIZE = 18;
|
|
|
237
241
|
var NODE_STROKE_WIDTH = 2;
|
|
238
242
|
var EDGE_STROKE_WIDTH = 2;
|
|
239
243
|
var EDGE_HIT_WIDTH = 18;
|
|
240
|
-
var ARROWHEAD_W =
|
|
241
|
-
var ARROWHEAD_H =
|
|
244
|
+
var ARROWHEAD_W = 18;
|
|
245
|
+
var ARROWHEAD_H = 12;
|
|
242
246
|
var DASH = "6 3";
|
|
243
247
|
var BAND_LABEL_FONT_SIZE = 19;
|
|
244
248
|
var BAND_LABEL_OPACITY = 0.55;
|
|
@@ -277,14 +281,6 @@ function drawTypeBadge(g, kind, color, bx, by) {
|
|
|
277
281
|
return;
|
|
278
282
|
}
|
|
279
283
|
}
|
|
280
|
-
function metaRows(metadata, tagGroups) {
|
|
281
|
-
const rows = [];
|
|
282
|
-
for (const grp of tagGroups) {
|
|
283
|
-
const v = metadata[tagAttrKey(grp.name)];
|
|
284
|
-
if (v !== void 0) rows.push([grp.name, v]);
|
|
285
|
-
}
|
|
286
|
-
return rows;
|
|
287
|
-
}
|
|
288
284
|
var CARD_HEADER_H = 34;
|
|
289
285
|
var CARD_LABEL_MAX = 15;
|
|
290
286
|
var CARD_LABEL_MIN = 11;
|
|
@@ -308,7 +304,8 @@ function renderSketch(container, parsed, layout, palette, isDark, options = {})
|
|
|
308
304
|
const {
|
|
309
305
|
activeTagGroup,
|
|
310
306
|
exportMode = false,
|
|
311
|
-
hideDescriptions = false
|
|
307
|
+
hideDescriptions = false,
|
|
308
|
+
splitCardIds
|
|
312
309
|
} = options;
|
|
313
310
|
const hideDesc = hideDescriptions || parsed.options.noDescriptions;
|
|
314
311
|
const neutralFill = parsed.options.fillMode === "outline" ? themeBaseBg(palette, isDark) : mix(palette.textMuted, palette.bg, 12);
|
|
@@ -573,7 +570,7 @@ function renderSketch(container, parsed, layout, palette, isDark, options = {})
|
|
|
573
570
|
colorsFor(node.metadata),
|
|
574
571
|
palette,
|
|
575
572
|
isDark,
|
|
576
|
-
hideDesc
|
|
573
|
+
!hideDesc && (splitCardIds?.includes(node.id) ?? false)
|
|
577
574
|
);
|
|
578
575
|
}
|
|
579
576
|
const labelLayer = root.append("g").attr("class", "sk-edge-labels");
|
|
@@ -600,7 +597,7 @@ function drawBoxFrame(layer, box, colors, palette) {
|
|
|
600
597
|
g.append("text").attr("x", box.x + box.w / 2).attr("y", startY + li * lineH).attr("text-anchor", "middle").attr("dominant-baseline", "central").attr("font-size", fit.fontSize).attr("font-weight", 800).attr("fill", palette.text).attr("opacity", BAND_LABEL_OPACITY).text(fit.lines[li]);
|
|
601
598
|
}
|
|
602
599
|
}
|
|
603
|
-
function drawNode(layer, node, colors, palette, isDark,
|
|
600
|
+
function drawNode(layer, node, colors, palette, isDark, splitCard) {
|
|
604
601
|
void isDark;
|
|
605
602
|
const g = layer.append("g").attr("class", node.isCollapsedBox ? "sk-node sk-box-collapsed" : "sk-node").attr("transform", `translate(${node.x},${node.y})`).attr("data-node-id", node.id).attr("data-line-number", node.lineNumber);
|
|
606
603
|
for (const [k, v] of Object.entries(node.metadata)) {
|
|
@@ -617,12 +614,11 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
617
614
|
g.append("text").attr("x", 10).attr("y", 20 + i * lineHeight).attr("font-size", NOTE_FONT_SIZE).attr("fill", colors.text).text(line);
|
|
618
615
|
});
|
|
619
616
|
} else {
|
|
620
|
-
const rows = node.isCollapsedBox ? [] : metaRows(node.metadata, tagGroups);
|
|
621
617
|
const badge = node.shape !== "rectangle";
|
|
622
618
|
const labelInset = badge ? 22 : 0;
|
|
623
619
|
const solidLike = colors.stroke === colors.fill;
|
|
624
620
|
const ruleColor = solidLike ? colors.text : colors.stroke;
|
|
625
|
-
if (node.
|
|
621
|
+
if (!node.isCollapsedBox && (node.description || splitCard)) {
|
|
626
622
|
const fitH = fitWrapped(
|
|
627
623
|
node.label,
|
|
628
624
|
node.w - 24 - labelInset,
|
|
@@ -643,33 +639,37 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
643
639
|
headerHeight: CARD_HEADER_H
|
|
644
640
|
});
|
|
645
641
|
g.append("line").attr("x1", 0).attr("y1", CARD_HEADER_H).attr("x2", node.w).attr("y2", CARD_HEADER_H).attr("stroke", ruleColor).attr("stroke-opacity", 0.3).attr("stroke-width", 1);
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
642
|
+
if (node.description) {
|
|
643
|
+
const inset = 12;
|
|
644
|
+
const bodyGap = 8;
|
|
645
|
+
const lh = CARD_META_FONT + 4;
|
|
646
|
+
const avail = node.h - CARD_HEADER_H - bodyGap - 8;
|
|
647
|
+
const body = g.append("g").attr("class", "sk-desc").attr("transform", `translate(${inset} ${CARD_HEADER_H + bodyGap})`);
|
|
648
|
+
const block = drawMarkdownBlock(body, node.description, {
|
|
649
|
+
width: node.w - inset * 2,
|
|
650
|
+
fontSize: CARD_META_FONT,
|
|
651
|
+
lineHeight: lh,
|
|
652
|
+
color: colors.text,
|
|
653
|
+
// match the header label (contrast-aware in solid)
|
|
654
|
+
linkColor: colors.text,
|
|
655
|
+
maxLines: Math.max(1, Math.floor(avail / lh)),
|
|
656
|
+
noEllipsis: true
|
|
657
|
+
});
|
|
658
|
+
if (block.total > block.shown) {
|
|
659
|
+
g.append("text").attr("class", "sk-desc-more").attr("x", node.w - 8).attr("y", node.h - 5).attr("text-anchor", "end").attr("font-size", 9).attr("fill", palette.textMuted).attr("data-line-number", node.lineNumber).style("cursor", "pointer").text(`+${block.total - block.shown} more in source`);
|
|
660
|
+
}
|
|
661
|
+
}
|
|
660
662
|
if (badge) {
|
|
661
663
|
drawTypeBadge(g, node.shape, colors.text, 10, (CARD_HEADER_H - 16) / 2);
|
|
662
664
|
}
|
|
663
665
|
return;
|
|
664
666
|
}
|
|
665
|
-
const headerH = rows.length ? CARD_HEADER_H : node.h;
|
|
666
|
-
const fillTitle = rows.length === 0;
|
|
667
667
|
const fit = fitWrapped(
|
|
668
668
|
node.label,
|
|
669
669
|
node.w - 24 - labelInset,
|
|
670
|
-
|
|
670
|
+
CARD_TITLE_MAX,
|
|
671
671
|
CARD_LABEL_MIN,
|
|
672
|
-
|
|
672
|
+
3
|
|
673
673
|
);
|
|
674
674
|
renderNodeCard(g, {
|
|
675
675
|
width: node.w,
|
|
@@ -682,18 +682,7 @@ function drawNode(layer, node, colors, palette, isDark, tagGroups) {
|
|
|
682
682
|
labelLines: fit.lines,
|
|
683
683
|
labelColor: colors.text,
|
|
684
684
|
labelFontSize: fit.fontSize,
|
|
685
|
-
headerHeight:
|
|
686
|
-
...rows.length ? {
|
|
687
|
-
meta: {
|
|
688
|
-
rows,
|
|
689
|
-
fontSize: CARD_META_FONT,
|
|
690
|
-
lineHeight: CARD_META_FONT + 5,
|
|
691
|
-
separatorGap: 8,
|
|
692
|
-
separatorColor: ruleColor,
|
|
693
|
-
textColor: solidLike ? colors.text : palette.text,
|
|
694
|
-
keyX: 12
|
|
695
|
-
}
|
|
696
|
-
} : {}
|
|
685
|
+
headerHeight: node.h
|
|
697
686
|
});
|
|
698
687
|
if (badge) {
|
|
699
688
|
drawTypeBadge(g, node.shape, colors.text, 10, (CARD_HEADER_H - 16) / 2);
|
|
@@ -951,6 +940,8 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
951
940
|
const n = normalOf(side);
|
|
952
941
|
return 1 - (n.x * dx + n.y * dy) / len;
|
|
953
942
|
};
|
|
943
|
+
const W_BACK = 2.6;
|
|
944
|
+
const backFacingCost = (from, to, side) => W_BACK * Math.max(0, facingCost(from, to, side) - 1);
|
|
954
945
|
const ctx = layout.edges.map((edge) => {
|
|
955
946
|
const source = rectById.get(edge.sourceId);
|
|
956
947
|
const target = rectById.get(edge.targetId);
|
|
@@ -985,6 +976,7 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
985
976
|
const W_NODE = 100;
|
|
986
977
|
const W_EDGE = 8;
|
|
987
978
|
const W_PORT = 1.5;
|
|
979
|
+
const W_PORT_SAME = 0.6;
|
|
988
980
|
const isBox = (id) => portsById.has(id);
|
|
989
981
|
const portClashCount = (self, s, t) => {
|
|
990
982
|
const e = layout.edges[self];
|
|
@@ -1002,6 +994,44 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
1002
994
|
}
|
|
1003
995
|
return n;
|
|
1004
996
|
};
|
|
997
|
+
const portStackCount = (self, _s, t) => {
|
|
998
|
+
const e = layout.edges[self];
|
|
999
|
+
if (isBox(e.targetId)) return 0;
|
|
1000
|
+
let n = 0;
|
|
1001
|
+
for (let j = 0; j < layout.edges.length; j++) {
|
|
1002
|
+
if (j === self) continue;
|
|
1003
|
+
const ej = layout.edges[j];
|
|
1004
|
+
if (ej.targetId === e.targetId && ej.sourceId !== e.sourceId && // not reciprocal
|
|
1005
|
+
chosen[j].t === t)
|
|
1006
|
+
n++;
|
|
1007
|
+
}
|
|
1008
|
+
return n;
|
|
1009
|
+
};
|
|
1010
|
+
const W_TURN = 0.55;
|
|
1011
|
+
const W_SCURVE = 1.8;
|
|
1012
|
+
const CURVE_STRAIGHT = 0.35;
|
|
1013
|
+
const curveCostPoly = (pts) => {
|
|
1014
|
+
let totalTurn = 0;
|
|
1015
|
+
let inflections = 0;
|
|
1016
|
+
let prevSign = 0;
|
|
1017
|
+
for (let i = 1; i < pts.length - 1; i++) {
|
|
1018
|
+
const ax = pts[i].x - pts[i - 1].x;
|
|
1019
|
+
const ay = pts[i].y - pts[i - 1].y;
|
|
1020
|
+
const bx = pts[i + 1].x - pts[i].x;
|
|
1021
|
+
const by = pts[i + 1].y - pts[i].y;
|
|
1022
|
+
const cross = ax * by - ay * bx;
|
|
1023
|
+
const dot = ax * bx + ay * by;
|
|
1024
|
+
if (ax === 0 && ay === 0) continue;
|
|
1025
|
+
if (bx === 0 && by === 0) continue;
|
|
1026
|
+
totalTurn += Math.abs(Math.atan2(cross, dot));
|
|
1027
|
+
const sign = cross > 1e-6 ? 1 : cross < -1e-6 ? -1 : 0;
|
|
1028
|
+
if (sign !== 0) {
|
|
1029
|
+
if (prevSign !== 0 && sign !== prevSign) inflections++;
|
|
1030
|
+
prevSign = sign;
|
|
1031
|
+
}
|
|
1032
|
+
}
|
|
1033
|
+
return totalTurn * W_TURN + inflections * W_SCURVE;
|
|
1034
|
+
};
|
|
1005
1035
|
const scoreOf = (c, g, poly, self, polys2, s, t) => {
|
|
1006
1036
|
let edgeCross = 0;
|
|
1007
1037
|
for (let j = 0; j < polys2.length; j++) {
|
|
@@ -1009,7 +1039,7 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
1009
1039
|
const pj = polys2[j];
|
|
1010
1040
|
if (pj) edgeCross += polyCrossings(poly, pj);
|
|
1011
1041
|
}
|
|
1012
|
-
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);
|
|
1042
|
+
return pathCrossings(g, c.obstacleRects) * W_NODE + edgeCross * W_EDGE + portClashCount(self, s, t) * W_PORT + portStackCount(self, s, t) * W_PORT_SAME + curveCostPoly(poly) + facingCost(c.source, c.target, s) + facingCost(c.target, c.source, t) + backFacingCost(c.source, c.target, s) + backFacingCost(c.target, c.source, t);
|
|
1013
1043
|
};
|
|
1014
1044
|
const chosen = layout.edges.map(
|
|
1015
1045
|
(_, i) => sides[i] ?? { s: "R", t: "L" }
|
|
@@ -1034,7 +1064,8 @@ function sketchEdgeGeometry(layout, offsets) {
|
|
|
1034
1064
|
if (!c || !g || !p) continue;
|
|
1035
1065
|
const cur = chosen[i];
|
|
1036
1066
|
const curScore = scoreOf(c, g, p, i, polys, cur.s, cur.t);
|
|
1037
|
-
if (curScore < W_EDGE && portClashCount(i, cur.s, cur.t) === 0)
|
|
1067
|
+
if (curScore < W_EDGE && portClashCount(i, cur.s, cur.t) === 0 && portStackCount(i, cur.s, cur.t) === 0 && curveCostPoly(p) < CURVE_STRAIGHT && backFacingCost(c.source, c.target, cur.s) === 0 && backFacingCost(c.target, c.source, cur.t) === 0)
|
|
1068
|
+
continue;
|
|
1038
1069
|
let bestScore = curScore;
|
|
1039
1070
|
let bestG = g;
|
|
1040
1071
|
let bestP = p;
|
|
@@ -1097,4 +1128,4 @@ export {
|
|
|
1097
1128
|
sketchEdgeGeometry,
|
|
1098
1129
|
renderSketchForExport
|
|
1099
1130
|
};
|
|
1100
|
-
//# sourceMappingURL=chunk-
|
|
1131
|
+
//# sourceMappingURL=chunk-3R67RRPC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CATEGORICAL_COLOR_ORDER
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EXNKNJ65.js";
|
|
4
4
|
|
|
5
5
|
// src/palettes/color-utils.ts
|
|
6
6
|
var HEX_TO_HSL_CACHE = /* @__PURE__ */ new Map();
|
|
@@ -241,4 +241,4 @@ export {
|
|
|
241
241
|
getSegmentColors,
|
|
242
242
|
politicalTints
|
|
243
243
|
};
|
|
244
|
-
//# sourceMappingURL=chunk-
|
|
244
|
+
//# sourceMappingURL=chunk-42IT4BG2.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
splitNameAndMeta,
|
|
6
6
|
tryParseSharedOption,
|
|
7
7
|
warnUnknownMetaKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OLMWTJVU.js";
|
|
13
13
|
|
|
14
14
|
// src/cycle/parser.ts
|
|
15
15
|
var BARE_EDGE_RE = /^->\s*(.*)?$/;
|
|
@@ -274,4 +274,4 @@ function parseCycle(content) {
|
|
|
274
274
|
export {
|
|
275
275
|
parseCycle
|
|
276
276
|
};
|
|
277
|
-
//# sourceMappingURL=chunk-
|
|
277
|
+
//# sourceMappingURL=chunk-4MB4UOT5.js.map
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
splitNameAndMeta,
|
|
8
8
|
warnUnknownMetaKeys,
|
|
9
9
|
withTagAliases
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
11
11
|
import {
|
|
12
12
|
makeDgmoError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OLMWTJVU.js";
|
|
14
14
|
|
|
15
15
|
// src/timeline/parser.ts
|
|
16
16
|
var TIMELINE_DURATION_RE = /^(\d+(?:\.\d{1,2})?)(min|[dwmyhs])(\?)?$/;
|
|
@@ -314,4 +314,4 @@ export {
|
|
|
314
314
|
parseTimelineDate,
|
|
315
315
|
parseTimelineEventLine
|
|
316
316
|
};
|
|
317
|
-
//# sourceMappingURL=chunk-
|
|
317
|
+
//# sourceMappingURL=chunk-4MJOBVY7.js.map
|
|
@@ -9,19 +9,19 @@ import {
|
|
|
9
9
|
tagAttrKey,
|
|
10
10
|
validateTagGroupNames,
|
|
11
11
|
validateTagValues
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-D5FANMSG.js";
|
|
13
13
|
import {
|
|
14
14
|
extractColor,
|
|
15
15
|
fillModeFromToken,
|
|
16
16
|
measureIndent,
|
|
17
17
|
parseFirstLine
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
19
19
|
import {
|
|
20
20
|
formatDgmoError,
|
|
21
21
|
makeDgmoError,
|
|
22
22
|
makeFail,
|
|
23
23
|
suggest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OLMWTJVU.js";
|
|
25
25
|
|
|
26
26
|
// src/block/parser.ts
|
|
27
27
|
function parseBlock(content, palette) {
|
|
@@ -342,4 +342,4 @@ function parseBlockTail(tail, aliasMap) {
|
|
|
342
342
|
export {
|
|
343
343
|
parseBlock
|
|
344
344
|
};
|
|
345
|
-
//# sourceMappingURL=chunk-
|
|
345
|
+
//# sourceMappingURL=chunk-5J2RQGFG.js.map
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
matchTagBlockHeading,
|
|
5
5
|
stripDefaultModifier,
|
|
6
6
|
tagAttrKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D5FANMSG.js";
|
|
8
8
|
import {
|
|
9
9
|
FILL_FAMILY_TOKENS,
|
|
10
10
|
extractColor,
|
|
11
11
|
measureIndent,
|
|
12
12
|
parseFirstLine
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
14
14
|
import {
|
|
15
15
|
emit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OLMWTJVU.js";
|
|
17
17
|
|
|
18
18
|
// src/swimlane/diagnostics.ts
|
|
19
19
|
var SWIMLANE_DX = {
|
|
@@ -692,4 +692,4 @@ export {
|
|
|
692
692
|
SWIMLANE_DIAGNOSTICS,
|
|
693
693
|
parseSwimlane
|
|
694
694
|
};
|
|
695
|
-
//# sourceMappingURL=chunk-
|
|
695
|
+
//# sourceMappingURL=chunk-5VLUAAAE.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
normalizeNumericToken,
|
|
6
6
|
parseFirstLine,
|
|
7
7
|
tryParseSharedOption
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3KOPPSUQ.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OLMWTJVU.js";
|
|
13
13
|
|
|
14
14
|
// src/goal/parser.ts
|
|
15
15
|
function parseGoalNumber(token) {
|
|
@@ -158,4 +158,4 @@ function parseGoal(content, palette) {
|
|
|
158
158
|
export {
|
|
159
159
|
parseGoal
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-5XMDSXZT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
analyzePert
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CGLBK5Q4.js";
|
|
4
4
|
import {
|
|
5
5
|
computeNodeSizing,
|
|
6
6
|
layoutPert
|
|
@@ -19,13 +19,16 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
INLINE_HEADER_PAD,
|
|
21
21
|
layoutInlineHeader
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6VJCURWU.js";
|
|
23
|
+
import {
|
|
24
|
+
serializeSvg
|
|
25
|
+
} from "./chunk-NZ5QVASG.js";
|
|
23
26
|
import {
|
|
24
27
|
renderIntegratedLegend
|
|
25
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QDOYT6UW.js";
|
|
26
29
|
import {
|
|
27
30
|
getLegendExtent
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ES66QH6J.js";
|
|
29
32
|
import {
|
|
30
33
|
CAPTION_BOX_PADDING_X,
|
|
31
34
|
CAPTION_BOX_PADDING_Y,
|
|
@@ -42,7 +45,7 @@ import {
|
|
|
42
45
|
} from "./chunk-6KFWC4CO.js";
|
|
43
46
|
import {
|
|
44
47
|
parsePert
|
|
45
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DIKIHU52.js";
|
|
46
49
|
import {
|
|
47
50
|
addCalendarDays,
|
|
48
51
|
formatDuration,
|
|
@@ -52,7 +55,7 @@ import {
|
|
|
52
55
|
} from "./chunk-3TYUXC7D.js";
|
|
53
56
|
import {
|
|
54
57
|
LEGEND_HEIGHT
|
|
55
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-SCJ7CAJF.js";
|
|
56
59
|
import {
|
|
57
60
|
measureText,
|
|
58
61
|
truncateText,
|
|
@@ -63,11 +66,11 @@ import {
|
|
|
63
66
|
mix,
|
|
64
67
|
shapeFill,
|
|
65
68
|
themeBaseBg
|
|
66
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-42IT4BG2.js";
|
|
67
70
|
import {
|
|
68
71
|
resolveActiveTagGroup,
|
|
69
72
|
resolveTagColor
|
|
70
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-D5FANMSG.js";
|
|
71
74
|
|
|
72
75
|
// src/pert/renderer.ts
|
|
73
76
|
import * as d3Selection from "d3-selection";
|
|
@@ -384,7 +387,7 @@ function renderPertForExport(content, theme, palette, now) {
|
|
|
384
387
|
else svgEl.style.background = palette.bg;
|
|
385
388
|
svgEl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
|
|
386
389
|
svgEl.style.fontFamily = FONT_FAMILY;
|
|
387
|
-
return svgEl
|
|
390
|
+
return serializeSvg(svgEl);
|
|
388
391
|
} finally {
|
|
389
392
|
document.body.removeChild(container);
|
|
390
393
|
}
|
|
@@ -1865,4 +1868,4 @@ export {
|
|
|
1865
1868
|
measurePertAnalysisBlock,
|
|
1866
1869
|
renderPertAnalysisBlock
|
|
1867
1870
|
};
|
|
1868
|
-
//# sourceMappingURL=chunk-
|
|
1871
|
+
//# sourceMappingURL=chunk-5ZDHXS5N.js.map
|