@diagrammo/dgmo 0.77.0 → 0.79.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/README.md +17 -13
- package/dist/advanced.d.ts +197 -23
- package/dist/advanced.js +161 -142
- package/dist/block.css +1 -1
- package/dist/block.d.ts +2 -2
- package/dist/block.js +62 -58
- package/dist/{calculator-CVQ54JNE.js → calculator-OHTCZSBW.js} +3 -3
- package/dist/{chart-meta-Cf_jkApJ.d.ts → chart-meta-B7lSmrzg.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +45 -44
- package/dist/charts-d3-EST3Z5VG.js +31 -0
- package/dist/{chunk-U4DS2ODO.js → chunk-253E5ISJ.js} +9 -9
- package/dist/{chunk-7IATMZSA.js → chunk-26EVL454.js} +1 -25
- package/dist/{chunk-MG3DE3VO.js → chunk-2F7AG7LA.js} +4 -4
- package/dist/{chunk-OWVDD5EC.js → chunk-2R2M2C6V.js} +2 -2
- package/dist/{chunk-LYJ53DBK.js → chunk-2RAH6GVR.js} +56 -41
- package/dist/{chunk-Q74GP3GK.js → chunk-37NDM5NW.js} +3 -3
- package/dist/{chunk-N6MZSBOL.js → chunk-3BN3WCUD.js} +5 -2
- package/dist/chunk-3DPOIW3W.js +10 -0
- package/dist/{chunk-HDLRRY3N.js → chunk-3KFGPXHD.js} +195 -135
- package/dist/{chunk-NWNSXHA5.js → chunk-3KNA7OIO.js} +3 -3
- package/dist/{chunk-M5OOAP65.js → chunk-4CA7TJ44.js} +2 -1
- package/dist/{chunk-M5JT2AU7.js → chunk-4L43NPSQ.js} +10 -6
- package/dist/{chunk-4YER7UCV.js → chunk-4T6V7JJA.js} +3 -3
- package/dist/{chunk-3E4YB6TY.js → chunk-4YSWUQKZ.js} +12 -7
- package/dist/{chunk-6BVAW7KI.js → chunk-54JYWS7D.js} +50 -43
- package/dist/{chunk-7NSNE52V.js → chunk-55DMCFGM.js} +3 -3
- package/dist/{chunk-XPBJVSRY.js → chunk-5BV5MXLY.js} +38 -32
- package/dist/{chunk-5VMUVJO4.js → chunk-5DWF3N3V.js} +3 -3
- package/dist/{chunk-SSEAULA5.js → chunk-6775W3UW.js} +19 -15
- package/dist/{chunk-2QRIMMIH.js → chunk-6EMJRAEY.js} +3 -3
- package/dist/{chunk-OZOHREFQ.js → chunk-6FUIPWTS.js} +14 -15
- package/dist/{chunk-F4V67JXG.js → chunk-6JIMYPXR.js} +4 -4
- package/dist/{chunk-CHOK7NCJ.js → chunk-7AEMAUDF.js} +29 -25
- package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
- package/dist/{chunk-UBDVAHGK.js → chunk-7EUTTKNU.js} +36 -31
- package/dist/{chunk-76NHL5UG.js → chunk-7I6NWTPE.js} +2 -2
- package/dist/{chunk-OKXWPKUC.js → chunk-7SHL2WME.js} +2 -2
- package/dist/{chunk-SWEKCK34.js → chunk-AFOHIR2O.js} +3 -3
- package/dist/{chunk-RWFMOVHG.js → chunk-AI7TZQ2R.js} +3 -3
- package/dist/{chunk-BWJLLNUX.js → chunk-ALVK3TBO.js} +3 -3
- package/dist/{chunk-GLREDNBA.js → chunk-AMQFJ7P7.js} +21 -2
- package/dist/{chunk-RGW26UAR.js → chunk-CCETDPLV.js} +11 -11
- package/dist/{chunk-5ZD4DDG7.js → chunk-CE654SL2.js} +17 -14
- package/dist/{chunk-TPN7RJOM.js → chunk-CFYTCBRH.js} +4 -4
- package/dist/{chunk-YT5ICQ4R.js → chunk-CKDYRVOC.js} +3 -3
- package/dist/{chunk-WQXD3IIN.js → chunk-CRBW2WS7.js} +11 -9
- package/dist/{chunk-J76YDS4V.js → chunk-CREALBZL.js} +3 -3
- package/dist/{chunk-MZEGUDTA.js → chunk-CSTYDCKB.js} +16 -16
- package/dist/{chunk-QBM5BURJ.js → chunk-DG5IQW74.js} +10 -10
- package/dist/{chunk-Y2CYNRL7.js → chunk-DN6K6QCF.js} +2 -2
- package/dist/{chunk-43AJKH2U.js → chunk-DQOCYWB6.js} +12 -10
- package/dist/{chunk-FTTB64OJ.js → chunk-EBEFYSVZ.js} +40 -40
- package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
- package/dist/{chunk-SWUQJ5VR.js → chunk-EOG4QKKV.js} +108 -65
- package/dist/chunk-EPDBWATV.js +38 -0
- package/dist/{chunk-5GM6BZO7.js → chunk-F66R7CPY.js} +6 -3
- package/dist/{chunk-7BMX2M3F.js → chunk-FFDHZVEL.js} +2 -2
- package/dist/{chunk-WGC42WJU.js → chunk-FWNJDD4U.js} +6 -2
- package/dist/{chunk-SI3PYDL4.js → chunk-GWA6UGNX.js} +22 -22
- package/dist/{chunk-QMFIZQTB.js → chunk-HIOJSYDA.js} +7 -5
- package/dist/{chunk-NHQ7HUAS.js → chunk-HJ5DKZPO.js} +12 -10
- package/dist/{chunk-FPRMP6YA.js → chunk-HJZ4OET2.js} +32 -17
- package/dist/{chunk-N5NQIZ56.js → chunk-HLTVEXML.js} +25 -25
- package/dist/{chunk-6IN4F4RH.js → chunk-I6DFQQER.js} +42 -44
- package/dist/chunk-ICLB27PZ.js +11 -0
- package/dist/{chunk-R3XI2VC7.js → chunk-IDJGV6VM.js} +2 -1
- package/dist/{chunk-ZM27UI5O.js → chunk-IEK2FUWO.js} +19 -6
- package/dist/{chunk-FJ57274M.js → chunk-IIEI7VK5.js} +15 -1
- package/dist/{chunk-DY7KDZUF.js → chunk-IZK2H4KU.js} +3 -3
- package/dist/{chunk-CRLVJZWX.js → chunk-JOG6W3VS.js} +2 -2
- package/dist/{chunk-XFXJXLK7.js → chunk-JTLLQT34.js} +19 -19
- package/dist/{chunk-MS5574I7.js → chunk-K3K7JHZI.js} +2 -2
- package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
- package/dist/{chunk-D3B6YEZK.js → chunk-KIF4UFD2.js} +20 -16
- package/dist/{chunk-EUVUOPRC.js → chunk-KYK6PMB5.js} +55 -34
- package/dist/{chunk-RU2HHHYA.js → chunk-LD2JSKU3.js} +12 -2
- package/dist/{chunk-CYMYZYLI.js → chunk-LJ7X6ZNV.js} +25 -28
- package/dist/{chunk-ICVIJLBA.js → chunk-LLYHYPYG.js} +4 -4
- package/dist/{chunk-VRPV6QXR.js → chunk-LLZVRWVS.js} +2 -2
- package/dist/{chunk-Z7KVOVE4.js → chunk-LXTMP3VT.js} +7 -4
- package/dist/{chunk-7CXW6EGX.js → chunk-MDUCF376.js} +28 -26
- package/dist/{chunk-KWSBNLSC.js → chunk-MQAD75AY.js} +2 -2
- package/dist/{chunk-XCFIAGT7.js → chunk-MUTZSF2A.js} +17 -16
- package/dist/{chunk-CF3I5SOG.js → chunk-NVI5G57O.js} +29 -27
- package/dist/{chunk-76LHNLGX.js → chunk-O2HU4AQN.js} +34 -5
- package/dist/{chunk-46KVXDUJ.js → chunk-O5QG5IFV.js} +12 -3
- package/dist/{chunk-V4NHFY22.js → chunk-OLRVGPJ3.js} +33 -20
- package/dist/{chunk-WHWUVDYK.js → chunk-OM6XZAKM.js} +7 -7
- package/dist/{chunk-DSXWJAOA.js → chunk-OMN4F42L.js} +17 -15
- package/dist/{chunk-LM3HY3VG.js → chunk-P4U5GST7.js} +3 -3
- package/dist/{chunk-BH3BQICT.js → chunk-PKW4TLJC.js} +88 -44
- package/dist/{chunk-GRN44Z6A.js → chunk-PQR7E3LY.js} +2 -2
- package/dist/{chunk-SH4PPRU7.js → chunk-Q5KGGW7Z.js} +2 -2
- package/dist/{chunk-RV5A3EGI.js → chunk-QDHOIBHZ.js} +21 -20
- package/dist/{chunk-UH5YTZN7.js → chunk-QDTFFVLT.js} +113 -23
- package/dist/chunk-QFIXL3OK.js +68 -0
- package/dist/{chunk-QXMHBIQG.js → chunk-QGXH64FT.js} +52 -49
- package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
- package/dist/{chunk-6ZZKEYBS.js → chunk-RN3DOUOU.js} +17 -15
- package/dist/{chunk-VBJCGGNF.js → chunk-RPP3NHKV.js} +2 -2
- package/dist/{chunk-RTTZIX34.js → chunk-RVWWCQAB.js} +3 -3
- package/dist/{chunk-FR5EVD2X.js → chunk-RWF7TCGT.js} +68 -38
- package/dist/{chunk-LKS56RDT.js → chunk-S6GPBJWG.js} +2 -2
- package/dist/{chunk-UJBP57UJ.js → chunk-S7ZJEQPW.js} +4 -4
- package/dist/{chunk-3H4PDNP4.js → chunk-SEOM2BGQ.js} +3 -3
- package/dist/{chunk-5PFNUDXR.js → chunk-T3EW35M2.js} +3 -3
- package/dist/{chunk-3SP6G4LN.js → chunk-TPQ6Q7JP.js} +3 -3
- package/dist/{chunk-B52RL5VV.js → chunk-ULUZBEFO.js} +11 -11
- package/dist/{chunk-F4X5NVKY.js → chunk-UNYOWKEC.js} +13 -4
- package/dist/{chunk-DEW62ON3.js → chunk-VSPNH7LC.js} +2 -2
- package/dist/{chunk-C2WH3BMS.js → chunk-VTWUHX4H.js} +10 -7
- package/dist/{chunk-DJL5PO27.js → chunk-W4MC3KP6.js} +2 -2
- package/dist/{chunk-MU3CJPJF.js → chunk-W6DBWWPC.js} +3 -3
- package/dist/{chunk-JLODGGN2.js → chunk-WC72PTV4.js} +3 -3
- package/dist/{chunk-NCT22MOD.js → chunk-WMIKC5XO.js} +2 -2
- package/dist/{chunk-H7BYMIVK.js → chunk-WY4L675I.js} +70 -44
- package/dist/chunk-XBJJP2HN.js +37 -0
- package/dist/{chunk-KRTLS3G6.js → chunk-XDEEYDPQ.js} +4 -4
- package/dist/{chunk-S5P5Z5Y5.js → chunk-XNAMWOPJ.js} +3 -3
- package/dist/{chunk-2MTM4E6M.js → chunk-XND5JIJA.js} +68 -65
- package/dist/{chunk-S6OXNZBM.js → chunk-XWC4RQ7T.js} +4 -4
- package/dist/{chunk-UCZBRGJN.js → chunk-XXLAZQ5E.js} +2 -2
- package/dist/{chunk-LXXVHLTH.js → chunk-Y22BJKMK.js} +3 -3
- package/dist/{chunk-OO2L2LWV.js → chunk-Y2KFQX5K.js} +89 -66
- package/dist/{chunk-TI4YUUW6.js → chunk-Y3OLUMJH.js} +31 -30
- package/dist/{chunk-CIWFL2LM.js → chunk-Y3RYIGHZ.js} +17 -15
- package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
- package/dist/{chunk-TKIPK5P6.js → chunk-YD2HPT7W.js} +5 -7
- package/dist/{chunk-3O7ZYVJV.js → chunk-YPVP6I62.js} +19 -15
- package/dist/{chunk-FF7LRT5L.js → chunk-YQIZIKCK.js} +35 -27
- package/dist/{chunk-M526IKKH.js → chunk-Z4COUG7H.js} +2 -2
- package/dist/{chunk-LTTZX6RD.js → chunk-Z5ZCTCX4.js} +3 -3
- package/dist/{chunk-QOVM5VRC.js → chunk-ZASX45SU.js} +3 -3
- package/dist/{chunk-W7UBPARG.js → chunk-ZH3BWGTE.js} +3 -3
- package/dist/{chunk-TN754B3R.js → chunk-ZZZJVDIL.js} +2 -2
- package/dist/clock.js +11 -5
- package/dist/completion-registry.js +3 -3
- package/dist/countdown.js +26 -20
- package/dist/{d3-BiaJtaSw.d.ts → d3-Bje6Mla1.d.ts} +1 -1
- package/dist/dgmo-router-OXFV43XX.js +90 -0
- package/dist/{dgmo-router-BwXHZ_P3.d.ts → dgmo-router-zWf4Uxxg.d.ts} +1 -1
- package/dist/dimensions-AN34SPVX.js +22 -0
- package/dist/{flowchart-parser-NVBP3C5D.js → flowchart-parser-MRNAVG35.js} +4 -4
- package/dist/flowchart-renderer-IGSKJFMF.js +37 -0
- package/dist/index.d.ts +7 -7
- package/dist/index.js +75 -60
- package/dist/{layout-Y2V3LYV7.js → layout-5AYAYUJH.js} +2 -2
- package/dist/{layout-ZAGUFT2G.js → layout-6APS2RRG.js} +8 -7
- package/dist/{layout-B5GQVXXY.js → layout-6VUNAH6F.js} +8 -7
- package/dist/{layout-RV2T2YTT.js → layout-74HDWQYG.js} +6 -5
- package/dist/{layout-6SKHNQYO.js → layout-FCIYZV63.js} +4 -4
- package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
- package/dist/layout-LELNMRM5.js +16 -0
- package/dist/{layout-EM4DLMAX.js → layout-OPF6KTOH.js} +5 -5
- package/dist/layout-SUND6B7D.js +9 -0
- package/dist/layout-WASEHV3S.js +19 -0
- package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
- package/dist/layout-XY45TFJ4.js +16 -0
- package/dist/layout-YPRXVCW5.js +19 -0
- package/dist/{layout-2OJ25STS.js → layout-ZJOWB27N.js} +9 -8
- package/dist/{layout-search-UOKEMER5.js → layout-search-3JKNSUTJ.js} +8 -7
- package/dist/{legend-constants-PLN2YHGM.js → legend-constants-RSWFR3L6.js} +4 -4
- package/dist/{palettes-54YSI3IX.js → palettes-IAF6WVL4.js} +5 -3
- package/dist/{parser-QOIZGW7I.js → parser-2Y7LWKNO.js} +4 -4
- package/dist/{parser-EQ4I3TSH.js → parser-4GUQUDAC.js} +5 -5
- package/dist/{parser-TA5TYZNL.js → parser-4OXANARZ.js} +5 -5
- package/dist/{parser-L7T7FY3H.js → parser-56UEMRXS.js} +4 -4
- package/dist/{parser-2GMHFSTS.js → parser-66QZQYGE.js} +4 -4
- package/dist/{parser-3AOMUX5D.js → parser-6SS7DKVW.js} +4 -4
- package/dist/{parser-QYAIFXLP.js → parser-AYURCBDZ.js} +4 -4
- package/dist/{parser-5XFGK5C5.js → parser-COPCQEHV.js} +6 -6
- package/dist/{parser-F4ZKDGUZ.js → parser-DEWJM5PX.js} +3 -3
- package/dist/{parser-ZXQZZK6W.js → parser-DQKZDA2J.js} +4 -3
- package/dist/{parser-WCFG3DZA.js → parser-EMPM3V35.js} +3 -3
- package/dist/{parser-6FUESG4N.js → parser-EP2JQJNV.js} +4 -4
- package/dist/{parser-ZYAFHXKQ.js → parser-FDDHTBRV.js} +4 -4
- package/dist/{parser-3KQONLXZ.js → parser-FDESUQ32.js} +3 -3
- package/dist/{parser-LV7PQBUG.js → parser-GK6CMK4P.js} +4 -4
- package/dist/{parser-WVE6SKB7.js → parser-H33OKBUB.js} +4 -4
- package/dist/{parser-ML3LVNDV.js → parser-HJBSWTDY.js} +4 -4
- package/dist/{parser-PR3OR3LO.js → parser-HRIKI5O3.js} +5 -5
- package/dist/{parser-H4ZUNLX4.js → parser-I77632XB.js} +3 -3
- package/dist/{parser-YWQCC33R.js → parser-JGMQE7FS.js} +4 -4
- package/dist/{parser-WMJEPZDC.js → parser-JIPG576H.js} +4 -4
- package/dist/{parser-E3OHNNTH.js → parser-JNJ2IFSO.js} +4 -4
- package/dist/{parser-CJNP7RKR.js → parser-LCUQTABE.js} +4 -4
- package/dist/{parser-4DLU4SNG.js → parser-LXU3MGG6.js} +3 -3
- package/dist/{parser-WWRRG2DV.js → parser-N4YB5EIZ.js} +4 -4
- package/dist/{parser-XVSDFO56.js → parser-NC36PRBR.js} +3 -3
- package/dist/{parser-RDBXEVI4.js → parser-O6WYAXTS.js} +4 -4
- package/dist/{parser-4KFJKLP2.js → parser-UHABNZBC.js} +3 -3
- package/dist/{parser-GCVSRQPY.js → parser-V6HULGXW.js} +4 -4
- package/dist/{parser-UTR5WE4O.js → parser-VVWZIMYS.js} +4 -4
- package/dist/{parser-B2XQNHZM.js → parser-YJGTPT7A.js} +3 -3
- package/dist/{parser-WQNT7T2P.js → parser-YQ5F7ATB.js} +3 -3
- package/dist/{parser-ZT3PU2HT.js → parser-ZUH2G7J2.js} +4 -4
- package/dist/renderer-2ZGZSSCV.js +39 -0
- package/dist/renderer-33AB7UAZ.js +35 -0
- package/dist/renderer-43KEDLTQ.js +23 -0
- package/dist/renderer-4E6NNPNU.js +29 -0
- package/dist/renderer-4HFT4HJG.js +39 -0
- package/dist/renderer-63MHARNI.js +20 -0
- package/dist/renderer-6HPV7BMG.js +23 -0
- package/dist/renderer-BVJ3NVRB.js +20 -0
- package/dist/renderer-DV44AS75.js +28 -0
- package/dist/renderer-FLLVGYUY.js +30 -0
- package/dist/renderer-FSV7MTW3.js +17 -0
- package/dist/renderer-H6XEVHKH.js +27 -0
- package/dist/renderer-HNEMQJXT.js +21 -0
- package/dist/{renderer-CVWQD442.js → renderer-IIN3RY4F.js} +6 -5
- package/dist/renderer-K2OWHNBV.js +25 -0
- package/dist/renderer-M6UIXQHH.js +27 -0
- package/dist/renderer-N5CRYFBI.js +31 -0
- package/dist/{renderer-VF7X66SL.js → renderer-O3O6A3RY.js} +16 -16
- package/dist/renderer-OVRX36WE.js +39 -0
- package/dist/renderer-PLKMHBAB.js +30 -0
- package/dist/{renderer-G2DPKJAN.js → renderer-REHVBQ57.js} +17 -16
- package/dist/{renderer-GHBF5PRH.js → renderer-RW446FGL.js} +6 -5
- package/dist/renderer-SJV75NUI.js +28 -0
- package/dist/renderer-TKWW45LZ.js +36 -0
- package/dist/{renderer-FTX67CYZ.js → renderer-UHLTPQTW.js} +7 -6
- package/dist/renderer-UNYFAMFE.js +16 -0
- package/dist/renderer-URXHBQOF.js +26 -0
- package/dist/renderer-VBAQQWDB.js +25 -0
- package/dist/renderer-VI72MVFW.js +77 -0
- package/dist/renderer-XGJIACBV.js +25 -0
- package/dist/renderer-XVTKGPYT.js +20 -0
- package/dist/{renderer-R5HIRN2M.js → renderer-YLIICO4R.js} +9 -9
- package/dist/renderer-ZG6GPWZF.js +27 -0
- package/dist/renderer-radial-7UHFYOOL.js +21 -0
- package/dist/{state-parser-TPA67IXM.js → state-parser-XT4ZPQAF.js} +5 -5
- package/dist/state-renderer-6TVII5ZJ.js +41 -0
- package/dist/{tag-groups-BAtkq0b_.d.ts → tag-groups-DIJV_50B.d.ts} +18 -9
- package/dist/{themes-DpsyRSO7.d.ts → themes-Bgkyh6gh.d.ts} +2 -2
- package/docs/architecture-report.md +3 -3
- package/docs/language-reference.md +128 -30
- package/docs/migration-sequence-color-to-tags.md +16 -8
- package/package.json +7 -6
- package/dist/charts-d3-HMEMHSSW.js +0 -29
- package/dist/chunk-53SEVJQM.js +0 -9
- package/dist/chunk-LP7EC4MI.js +0 -16
- package/dist/chunk-YM5RMLFO.js +0 -40
- package/dist/dgmo-router-A3LIHT6H.js +0 -89
- package/dist/dimensions-OFF4GRFL.js +0 -22
- package/dist/flowchart-renderer-BBJUPORB.js +0 -36
- package/dist/layout-5ILNODTP.js +0 -15
- package/dist/layout-IN53LAE6.js +0 -9
- package/dist/layout-KQUSB45X.js +0 -18
- package/dist/layout-ROORJQ4X.js +0 -18
- package/dist/layout-VUZ3MLOI.js +0 -15
- package/dist/renderer-2ANDPQWC.js +0 -16
- package/dist/renderer-2LDT4TUX.js +0 -25
- package/dist/renderer-2NYQDW37.js +0 -20
- package/dist/renderer-2RIIIO34.js +0 -39
- package/dist/renderer-3HFU3DTO.js +0 -25
- package/dist/renderer-4BF6ILP6.js +0 -27
- package/dist/renderer-5E2AH5TO.js +0 -38
- package/dist/renderer-62SLWRYF.js +0 -27
- package/dist/renderer-ANJUDBOS.js +0 -34
- package/dist/renderer-D6GJ6EVK.js +0 -30
- package/dist/renderer-DNFV2IQI.js +0 -36
- package/dist/renderer-EDVCGIQO.js +0 -76
- package/dist/renderer-EFQSMHID.js +0 -27
- package/dist/renderer-GZLRX764.js +0 -24
- package/dist/renderer-H2HYLFN3.js +0 -20
- package/dist/renderer-IR5655M7.js +0 -28
- package/dist/renderer-L237AOOZ.js +0 -16
- package/dist/renderer-LSJWYGOL.js +0 -39
- package/dist/renderer-LWXDMZOV.js +0 -28
- package/dist/renderer-MYSVPERC.js +0 -22
- package/dist/renderer-OL5QSZPC.js +0 -31
- package/dist/renderer-P26HH3NA.js +0 -30
- package/dist/renderer-RNFECJ5D.js +0 -21
- package/dist/renderer-RPZVNCTF.js +0 -26
- package/dist/renderer-SDNWZDUY.js +0 -23
- package/dist/renderer-UKHH4UWV.js +0 -25
- package/dist/renderer-Y3Y7PEUS.js +0 -20
- package/dist/renderer-radial-QNGCGKZP.js +0 -21
- package/dist/state-renderer-ELWDRXD6.js +0 -40
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSwatches
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-K3K7JHZI.js";
|
|
4
4
|
import {
|
|
5
5
|
FONT_FAMILY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ICLB27PZ.js";
|
|
7
7
|
import {
|
|
8
8
|
fixedParts,
|
|
9
9
|
fixedTimeCells,
|
|
@@ -14,19 +14,22 @@ import {
|
|
|
14
14
|
workStatus,
|
|
15
15
|
zoneParts
|
|
16
16
|
} from "./chunk-A2RUBBVT.js";
|
|
17
|
+
import {
|
|
18
|
+
now
|
|
19
|
+
} from "./chunk-3DPOIW3W.js";
|
|
17
20
|
import {
|
|
18
21
|
contrastText,
|
|
19
22
|
mix,
|
|
20
23
|
themeBaseBg
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
22
25
|
import {
|
|
23
26
|
resolveColor
|
|
24
27
|
} from "./chunk-XOGQY4EC.js";
|
|
25
28
|
|
|
26
29
|
// src/clock/renderer.ts
|
|
27
30
|
import * as d3Selection from "d3-selection";
|
|
28
|
-
function partsFor(entry,
|
|
29
|
-
return entry.kind === "fixed" ? fixedParts(entry.fixedOffsetMin ?? 0,
|
|
31
|
+
function partsFor(entry, now2) {
|
|
32
|
+
return entry.kind === "fixed" ? fixedParts(entry.fixedOffsetMin ?? 0, now2) : zoneParts(entry.zone, now2);
|
|
30
33
|
}
|
|
31
34
|
var PLACE_ACCENTS = [
|
|
32
35
|
"blue",
|
|
@@ -143,7 +146,7 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
|
|
|
143
146
|
baseWidth,
|
|
144
147
|
COL_MIN_W * Math.max(1, parsed.entries.length) + 2 * cardM
|
|
145
148
|
) : baseWidth);
|
|
146
|
-
const
|
|
149
|
+
const now2 = now();
|
|
147
150
|
const baseBg = themeBaseBg(palette, isDark);
|
|
148
151
|
const muted = mix(palette.text, baseBg, 55);
|
|
149
152
|
const faint = mix(palette.text, baseBg, 72);
|
|
@@ -167,9 +170,9 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
|
|
|
167
170
|
const titleFont = 20;
|
|
168
171
|
const meta = parsed.work ? `${hourLabel(parsed.work.startMin, parsed.hours12)}\u2013${hourLabel(parsed.work.endMin, parsed.hours12)} \xB7 ${daysLabel(parsed.work.days)}` : null;
|
|
169
172
|
const metaW = meta ? estWidth(meta, 12) + 16 : 0;
|
|
170
|
-
svg.append("text").attr("x", padX).attr("y", y + titleFont).attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", titleFont).attr("font-weight",
|
|
173
|
+
svg.append("text").attr("x", padX).attr("y", y + titleFont).attr("fill", palette.text).attr("font-family", FONT_FAMILY).attr("font-size", titleFont).attr("font-weight", "bold").attr("data-line-number", parsed.titleLineNumber).text(ellipsize(parsed.title, titleFont, rightX - padX - metaW));
|
|
171
174
|
if (meta) {
|
|
172
|
-
svg.append("text").attr("x", rightX).attr("y", y + titleFont - 3).attr("text-anchor", "end").attr("fill", faint).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight",
|
|
175
|
+
svg.append("text").attr("x", rightX).attr("y", y + titleFont - 3).attr("text-anchor", "end").attr("fill", faint).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight", "normal").text(meta);
|
|
173
176
|
}
|
|
174
177
|
y += titleFont + 12;
|
|
175
178
|
svg.append("line").attr("x1", cardM).attr("x2", width - cardM).attr("y1", y).attr("y2", y).attr("stroke", mix(palette.text, palette.bg, 22)).attr("stroke-width", 1);
|
|
@@ -191,14 +194,14 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
|
|
|
191
194
|
};
|
|
192
195
|
let bannerH;
|
|
193
196
|
if (parsed.columns) {
|
|
194
|
-
bannerH = drawColumns(body, parsed,
|
|
197
|
+
bannerH = drawColumns(body, parsed, now2, rowsTop, { width, cardM }, col);
|
|
195
198
|
} else {
|
|
196
199
|
let leftColW = rowH - 20;
|
|
197
200
|
let mainW = 0;
|
|
198
201
|
if (parsed.face === "digital") {
|
|
199
202
|
let secW = 0;
|
|
200
203
|
for (const e of parsed.entries) {
|
|
201
|
-
const p = partsFor(e,
|
|
204
|
+
const p = partsFor(e, now2);
|
|
202
205
|
const t = formatTime(p.h, p.m, p.s, parsed.hours12);
|
|
203
206
|
mainW = Math.max(mainW, estWidth(t.main, 48));
|
|
204
207
|
secW = Math.max(secW, estWidth(`:${t.sec}`, 16), estWidth(t.ap, 16));
|
|
@@ -211,7 +214,7 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
|
|
|
211
214
|
entry,
|
|
212
215
|
i,
|
|
213
216
|
parsed,
|
|
214
|
-
|
|
217
|
+
now2,
|
|
215
218
|
rowsTop + i * rowH,
|
|
216
219
|
rowH,
|
|
217
220
|
{ padX, rightX, width, leftColW, mainW },
|
|
@@ -230,13 +233,13 @@ function renderClock(container, parsed, palette, isDark, exportDims) {
|
|
|
230
233
|
function zoneFillMode(entry, parsed, col) {
|
|
231
234
|
return entry.color || parsed.colorBy === "place" ? col.fillMode : void 0;
|
|
232
235
|
}
|
|
233
|
-
function drawRow(svg, entry, index, parsed,
|
|
236
|
+
function drawRow(svg, entry, index, parsed, now2, rowTop, rowH, geom, col) {
|
|
234
237
|
const { padX } = geom;
|
|
235
238
|
const { text, muted, line2, tick, sw, cardFill } = col;
|
|
236
239
|
const center = rowTop + rowH / 2;
|
|
237
|
-
const parts = partsFor(entry,
|
|
240
|
+
const parts = partsFor(entry, now2);
|
|
238
241
|
const hasCoords = entry.lat !== null && entry.lon !== null;
|
|
239
|
-
const sun = parsed.sun && hasCoords ? sunLine(
|
|
242
|
+
const sun = parsed.sun && hasCoords ? sunLine(now2, entry.lat, entry.lon) : null;
|
|
240
243
|
const up = sun ? sun.up : parts.h >= 6 && parts.h < 18;
|
|
241
244
|
const stColor = up ? sw.day : sw.night;
|
|
242
245
|
const stTint = up ? sw.dayTint : sw.nightTint;
|
|
@@ -309,14 +312,17 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
|
|
|
309
312
|
const capTop = baseY - mainFont * 0.7;
|
|
310
313
|
const sf = 20;
|
|
311
314
|
const gap = 5;
|
|
312
|
-
const { cells, width: mainW } = fixedTimeCells(
|
|
315
|
+
const { cells, width: mainW } = fixedTimeCells(
|
|
316
|
+
ts.main,
|
|
317
|
+
contentLeft,
|
|
318
|
+
mainFont
|
|
319
|
+
);
|
|
313
320
|
const stackX = contentLeft + mainW + gap;
|
|
314
|
-
const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight",
|
|
315
|
-
for (const c of cells)
|
|
316
|
-
|
|
317
|
-
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", 600).style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
|
|
321
|
+
const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", mainFont).attr("font-weight", "bold").attr("data-dgmo-clock-x0", contentLeft).attr("data-dgmo-clock-fs", mainFont).attr("data-dgmo-clock-gap", gap);
|
|
322
|
+
for (const c of cells) mainText.append("tspan").attr("x", c.x).text(c.ch);
|
|
323
|
+
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", capTop + sf * 0.72).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "bold").style("font-variant-numeric", "tabular-nums").text(`:${ts.sec}`);
|
|
318
324
|
if (ts.ap)
|
|
319
|
-
g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight",
|
|
325
|
+
g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "bold").text(ts.ap);
|
|
320
326
|
}
|
|
321
327
|
const midLeft = contentLeft + geom.leftColW + 26;
|
|
322
328
|
const midMaxW = Math.max(40, rightColLeft - 12 - midLeft);
|
|
@@ -341,7 +347,7 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
|
|
|
341
347
|
const firstBase = aliasLines.length === 1 ? center + 16 : center - aliasLines.length * aliasLh / 2 + aliasFont * 0.72;
|
|
342
348
|
const aliasFill = auto?.solid ?? mix(muted, text, Math.round((aliasFont - 17) / 31 * 55));
|
|
343
349
|
aliasLines.forEach((ln, i) => {
|
|
344
|
-
g.append("text").attr("x", midLeft).attr("y", firstBase + i * aliasLh).attr("fill", aliasFill).attr("font-family", FONT_FAMILY).attr("font-size", aliasFont).attr("font-weight",
|
|
350
|
+
g.append("text").attr("x", midLeft).attr("y", firstBase + i * aliasLh).attr("fill", aliasFill).attr("font-family", FONT_FAMILY).attr("font-size", aliasFont).attr("font-weight", "bold").text(ln);
|
|
345
351
|
});
|
|
346
352
|
const iconX = rightColLeft + 6;
|
|
347
353
|
const textX = rightColLeft + 20;
|
|
@@ -357,11 +363,11 @@ function drawRow(svg, entry, index, parsed, now, rowTop, rowH, geom, col) {
|
|
|
357
363
|
const yy = top + i * lh;
|
|
358
364
|
if (ln.kind === "place") {
|
|
359
365
|
g.append("path").attr("transform", `translate(${iconX},${yy - 5}) scale(1.25)`).attr("d", "M0,4 L-2.3,-0.6 A2.6,2.6 0 1 1 2.3,-0.6 Z").attr("fill", muted);
|
|
360
|
-
g.append("text").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight",
|
|
366
|
+
g.append("text").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight", "normal").text(ellipsize(entry.place, 14, textMax));
|
|
361
367
|
} else if (ln.kind === "avail" && status) {
|
|
362
368
|
const stCol = status.cls === "ok" ? sw.ok : status.cls === "soon" ? sw.soon : sw.off;
|
|
363
369
|
drawStatusClock(g, iconX, yy - 5, 5, stCol);
|
|
364
|
-
g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight",
|
|
370
|
+
g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 14).attr("font-weight", "bold").text(ellipsize(status.text, 14, textMax));
|
|
365
371
|
} else if (ln.kind === "sun" && sun) {
|
|
366
372
|
drawSunMoon(g, iconX, yy - 5, up, sw, 1.25);
|
|
367
373
|
g.append("text").attr("data-dgmo-clock-sun-line", "").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 13.5).text(ellipsize(sun.text, 13.5, textMax));
|
|
@@ -394,7 +400,7 @@ function bakeAnchors(g, entry, parsed, sun, sw) {
|
|
|
394
400
|
);
|
|
395
401
|
}
|
|
396
402
|
}
|
|
397
|
-
function drawColumns(body, parsed,
|
|
403
|
+
function drawColumns(body, parsed, now2, top, geom, col) {
|
|
398
404
|
const { width, cardM } = geom;
|
|
399
405
|
const { text, muted, line2, tick, cardFill, sw } = col;
|
|
400
406
|
const n = Math.max(1, parsed.entries.length);
|
|
@@ -406,9 +412,9 @@ function drawColumns(body, parsed, now, top, geom, col) {
|
|
|
406
412
|
parsed.entries.forEach((entry, i) => {
|
|
407
413
|
const x0 = cardM + i * colW;
|
|
408
414
|
const cx = x0 + colW / 2;
|
|
409
|
-
const parts = partsFor(entry,
|
|
415
|
+
const parts = partsFor(entry, now2);
|
|
410
416
|
const hasCoords = entry.lat !== null && entry.lon !== null;
|
|
411
|
-
const sun = parsed.sun && hasCoords ? sunLine(
|
|
417
|
+
const sun = parsed.sun && hasCoords ? sunLine(now2, entry.lat, entry.lon) : null;
|
|
412
418
|
const up = sun ? sun.up : parts.h >= 6 && parts.h < 18;
|
|
413
419
|
const ts = formatTime(parts.h, parts.m, parts.s, parsed.hours12);
|
|
414
420
|
const work = parsed.work ? {
|
|
@@ -476,13 +482,13 @@ function drawColumns(body, parsed, now, top, geom, col) {
|
|
|
476
482
|
const stackW = Math.max(estWidth(`:${ts.sec}`, sf), estWidth(ts.ap, sf));
|
|
477
483
|
const gLeft = cx - (mainW + gap + stackW) / 2;
|
|
478
484
|
const baseY = cy + tf * 0.34;
|
|
479
|
-
const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight",
|
|
485
|
+
const mainText = g.append("text").attr("data-dgmo-clock-digital", "").attr("data-dgmo-clock-digital-part", "main").attr("y", baseY).attr("text-anchor", "middle").attr("fill", timeColor).attr("font-family", FONT_FAMILY).attr("font-size", tf).attr("font-weight", "bold").attr("data-dgmo-clock-x0", gLeft).attr("data-dgmo-clock-fs", tf).attr("data-dgmo-clock-gap", gap);
|
|
480
486
|
for (const c of fixedTimeCells(ts.main, gLeft, tf).cells)
|
|
481
487
|
mainText.append("tspan").attr("x", c.x).text(c.ch);
|
|
482
488
|
const stackX = gLeft + mainW + gap;
|
|
483
|
-
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", baseY - tf * cap + sf * cap).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight",
|
|
489
|
+
g.append("text").attr("data-dgmo-clock-digital-part", "sec").attr("x", stackX).attr("y", baseY - tf * cap + sf * cap).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "normal").text(`:${ts.sec}`);
|
|
484
490
|
if (ts.ap)
|
|
485
|
-
g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight",
|
|
491
|
+
g.append("text").attr("data-dgmo-clock-digital-part", "ap").attr("x", stackX).attr("y", baseY).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", sf).attr("font-weight", "normal").text(ts.ap);
|
|
486
492
|
cy += tf + 8;
|
|
487
493
|
}
|
|
488
494
|
const amax = colW - 14;
|
|
@@ -501,7 +507,7 @@ function drawColumns(body, parsed, now, top, geom, col) {
|
|
|
501
507
|
const alh = af + 3;
|
|
502
508
|
const aFill = auto?.solid ?? mix(muted, text, Math.round((af - 14) / 12 * 55));
|
|
503
509
|
alines.forEach(
|
|
504
|
-
(ln, j) => g.append("text").attr("x", cx).attr("y", cy + af * 0.72 + j * alh).attr("text-anchor", "middle").attr("fill", aFill).attr("font-family", FONT_FAMILY).attr("font-size", af).attr("font-weight",
|
|
510
|
+
(ln, j) => g.append("text").attr("x", cx).attr("y", cy + af * 0.72 + j * alh).attr("text-anchor", "middle").attr("fill", aFill).attr("font-family", FONT_FAMILY).attr("font-size", af).attr("font-weight", "bold").text(ln)
|
|
505
511
|
);
|
|
506
512
|
cy += alines.length * alh + 12;
|
|
507
513
|
const kinds = [];
|
|
@@ -523,7 +529,7 @@ function drawColumns(body, parsed, now, top, geom, col) {
|
|
|
523
529
|
} else if (kind === "avail" && status) {
|
|
524
530
|
const stCol = status.cls === "ok" ? sw.ok : status.cls === "soon" ? sw.soon : sw.off;
|
|
525
531
|
drawStatusClock(g, iconX, yy - 4, 4, stCol);
|
|
526
|
-
g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight",
|
|
532
|
+
g.append("text").attr("data-dgmo-clock-status", "").attr("x", textX).attr("y", yy).attr("fill", stCol).attr("font-family", FONT_FAMILY).attr("font-size", 12).attr("font-weight", "bold").text(ellipsize(status.text, 12, tmax));
|
|
527
533
|
} else if (kind === "sun" && sun) {
|
|
528
534
|
drawSunMoon(g, iconX, yy - 4, up, sw, 1);
|
|
529
535
|
g.append("text").attr("data-dgmo-clock-sun-line", "").attr("x", textX).attr("y", yy).attr("fill", muted).attr("font-family", FONT_FAMILY).attr("font-size", 11.5).text(ellipsize(sun.text, 11.5, tmax));
|
|
@@ -558,4 +564,4 @@ export {
|
|
|
558
564
|
renderClock,
|
|
559
565
|
renderClockForExport
|
|
560
566
|
};
|
|
561
|
-
//# sourceMappingURL=chunk-
|
|
567
|
+
//# sourceMappingURL=chunk-5BV5MXLY.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildPlacedNotes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2R2M2C6V.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-YC6GVLTI.js";
|
|
10
10
|
import {
|
|
11
11
|
resolveNotes
|
|
12
12
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -326,4 +326,4 @@ function layoutERDiagram(parsed, options) {
|
|
|
326
326
|
export {
|
|
327
327
|
layoutERDiagram
|
|
328
328
|
};
|
|
329
|
-
//# sourceMappingURL=chunk-
|
|
329
|
+
//# sourceMappingURL=chunk-5DWF3N3V.js.map
|
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
appendArrowheadMarkers
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XBJJP2HN.js";
|
|
4
|
+
import {
|
|
5
|
+
ARROWHEAD_HEIGHT,
|
|
6
|
+
ARROWHEAD_WIDTH,
|
|
7
|
+
EDGE_DASH
|
|
8
|
+
} from "./chunk-IIEI7VK5.js";
|
|
4
9
|
import {
|
|
5
10
|
TITLE_FONT_SIZE,
|
|
6
11
|
TITLE_FONT_WEIGHT,
|
|
7
12
|
TITLE_Y
|
|
8
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VSPNH7LC.js";
|
|
9
14
|
import {
|
|
10
15
|
FONT_FAMILY
|
|
11
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ICLB27PZ.js";
|
|
12
17
|
import {
|
|
18
|
+
UNTAGGED_TAG_COLOR,
|
|
13
19
|
resolveTagColor,
|
|
14
20
|
tagAttrKey
|
|
15
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-O2HU4AQN.js";
|
|
16
22
|
import {
|
|
17
23
|
fillModeFromOptions
|
|
18
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-4CA7TJ44.js";
|
|
19
25
|
import {
|
|
20
26
|
contrastText,
|
|
21
27
|
mix,
|
|
22
28
|
themeBaseBg
|
|
23
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
24
30
|
import {
|
|
25
31
|
CATEGORICAL_COLOR_ORDER,
|
|
26
32
|
resolveColor
|
|
@@ -36,8 +42,6 @@ var NODE_RX = 8;
|
|
|
36
42
|
var NODE_STROKE = 1.5;
|
|
37
43
|
var EDGE_STROKE = 1.6;
|
|
38
44
|
var EDGE_CORNER_R = 11;
|
|
39
|
-
var ARROW_W = 9;
|
|
40
|
-
var ARROW_H = 6.4;
|
|
41
45
|
var LANE_RADIUS = 10;
|
|
42
46
|
var LANE_INSET = 2;
|
|
43
47
|
function roundedPolyline(pts, radius) {
|
|
@@ -109,8 +113,8 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
|
|
|
109
113
|
};
|
|
110
114
|
appendArrowheadMarkers(defs, {
|
|
111
115
|
idPrefix: "sw",
|
|
112
|
-
width:
|
|
113
|
-
height:
|
|
116
|
+
width: ARROWHEAD_WIDTH,
|
|
117
|
+
height: ARROWHEAD_HEIGHT,
|
|
114
118
|
baseFill: palette.textMuted,
|
|
115
119
|
colors: [ev.error, ev.success]
|
|
116
120
|
});
|
|
@@ -166,14 +170,14 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
|
|
|
166
170
|
isLR ? { tl: LANE_RADIUS, bl: LANE_RADIUS } : { tl: LANE_RADIUS, tr: LANE_RADIUS }
|
|
167
171
|
)
|
|
168
172
|
).attr("fill", mix(hex, baseBg, 16)).attr("opacity", 0.6);
|
|
169
|
-
laneG.append("text").attr("x", isLR ? bx + 12 : bx + bw / 2).attr("y", isLR ? by + bh / 2 : by + band.headerSize / 2).attr("text-anchor", isLR ? "start" : "middle").attr("dominant-baseline", "middle").attr("font-size", LANE_LABEL_FONT).attr("font-weight", "
|
|
173
|
+
laneG.append("text").attr("x", isLR ? bx + 12 : bx + bw / 2).attr("y", isLR ? by + bh / 2 : by + band.headerSize / 2).attr("text-anchor", isLR ? "start" : "middle").attr("dominant-baseline", "middle").attr("font-size", LANE_LABEL_FONT).attr("font-weight", "bold").attr("fill", mix(hex, palette.text, 55)).text(band.label);
|
|
170
174
|
}
|
|
171
175
|
const phaseG = root.append("g").attr("class", "dgmo-swimlane-phases");
|
|
172
176
|
layout.phases.forEach((band, idx) => {
|
|
173
177
|
if (idx % 2 === 1) {
|
|
174
178
|
phaseG.append("rect").attr("x", band.x).attr("y", band.y).attr("width", band.width).attr("height", band.height).attr("rx", LANE_RADIUS).attr("fill", palette.text).attr("opacity", 0.05).attr("pointer-events", "none");
|
|
175
179
|
}
|
|
176
|
-
phaseG.append("text").attr("x", isLR ? band.x + band.width / 2 : band.headerSize / 2).attr("y", isLR ? band.headerSize / 2 : band.y + band.height / 2).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("font-size", PHASE_LABEL_FONT).attr("font-weight", "
|
|
180
|
+
phaseG.append("text").attr("x", isLR ? band.x + band.width / 2 : band.headerSize / 2).attr("y", isLR ? band.headerSize / 2 : band.y + band.height / 2).attr("text-anchor", "middle").attr("dominant-baseline", "middle").attr("font-size", PHASE_LABEL_FONT).attr("font-weight", "bold").attr("letter-spacing", "0.06em").attr("fill", palette.textMuted).attr("data-line-number", String(band.lineNumber)).text(band.label);
|
|
177
181
|
});
|
|
178
182
|
const activeTag = opts.activeTagGroup ?? null;
|
|
179
183
|
const outline = fillMode === "outline";
|
|
@@ -182,7 +186,7 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
|
|
|
182
186
|
const key = tagAttrKey(activeTag);
|
|
183
187
|
if (n.tags[key]) {
|
|
184
188
|
const c = resolveTagColor(n.tags, [...parsed.tagGroups], activeTag);
|
|
185
|
-
if (c && c !==
|
|
189
|
+
if (c && c !== UNTAGGED_TAG_COLOR)
|
|
186
190
|
return {
|
|
187
191
|
fill: fillMode === "solid" ? c : outline ? baseBg : mix(c, baseBg, 22),
|
|
188
192
|
stroke: c
|
|
@@ -233,7 +237,7 @@ function renderSwimlaneForExport(container, parsed, layout, palette, isDark, opt
|
|
|
233
237
|
marker = `sw-arrow-${ev.success.replace("#", "")}`;
|
|
234
238
|
}
|
|
235
239
|
const d = roundedPolyline(e.points, EDGE_CORNER_R);
|
|
236
|
-
edgeG.append("path").attr("class", "sw-edge sw-edge-group").attr("d", d).attr("fill", "none").attr("stroke", stroke).attr("stroke-width", EDGE_STROKE).attr("stroke-dasharray", e.back ?
|
|
240
|
+
edgeG.append("path").attr("class", "sw-edge sw-edge-group").attr("d", d).attr("fill", "none").attr("stroke", stroke).attr("stroke-width", EDGE_STROKE).attr("stroke-dasharray", e.back ? EDGE_DASH : null).attr("marker-end", `url(#${marker})`).attr("data-line-number", String(e.lineNumber));
|
|
237
241
|
if (e.label) {
|
|
238
242
|
const segLen = [];
|
|
239
243
|
let total = 0;
|
|
@@ -401,4 +405,4 @@ function drawCenteredLabel(g, label, cx, cy, fill, fontSize, tight = false, halo
|
|
|
401
405
|
export {
|
|
402
406
|
renderSwimlaneForExport
|
|
403
407
|
};
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
408
|
+
//# sourceMappingURL=chunk-6775W3UW.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
stripDefaultModifier,
|
|
10
10
|
tagAttrKey,
|
|
11
11
|
validateTagGroupNames
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O2HU4AQN.js";
|
|
13
13
|
import {
|
|
14
14
|
JOURNEY_MAP_REGISTRY,
|
|
15
15
|
OPTION_NOCOLON_RE,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
splitNameAndMeta,
|
|
21
21
|
warnUnknownMetaKeys,
|
|
22
22
|
withTagAliases
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4CA7TJ44.js";
|
|
24
24
|
import {
|
|
25
25
|
resolveColorWithDiagnostic
|
|
26
26
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -419,4 +419,4 @@ function parseStepLine(trimmed, lineNumber, counter, aliasMap, warn, diagnostics
|
|
|
419
419
|
export {
|
|
420
420
|
parseJourneyMap
|
|
421
421
|
};
|
|
422
|
-
//# sourceMappingURL=chunk-
|
|
422
|
+
//# sourceMappingURL=chunk-6EMJRAEY.js.map
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
FONT_FAMILY
|
|
3
|
-
|
|
2
|
+
FONT_FAMILY,
|
|
3
|
+
MONO_FAMILY
|
|
4
|
+
} from "./chunk-ICLB27PZ.js";
|
|
4
5
|
import {
|
|
5
6
|
measureText,
|
|
6
7
|
truncateText
|
|
7
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YC6GVLTI.js";
|
|
8
9
|
import {
|
|
9
10
|
encodeDiagramUrl
|
|
10
11
|
} from "./chunk-U7VO6JAA.js";
|
|
11
12
|
import {
|
|
12
13
|
parseDgmoChartType
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-EBEFYSVZ.js";
|
|
14
15
|
import {
|
|
15
16
|
chartTypes
|
|
16
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4CA7TJ44.js";
|
|
17
18
|
|
|
18
19
|
// src/error-card.ts
|
|
19
20
|
var DOCS_BASE = "https://diagrammo.app/docs";
|
|
@@ -25,7 +26,6 @@ function docsLink(source) {
|
|
|
25
26
|
label: `Read the ${chartType} guide \u2197`
|
|
26
27
|
} : { url: `${DOCS_BASE}/`, label: "Browse the DGMO docs \u2197" };
|
|
27
28
|
}
|
|
28
|
-
var MONO_FAMILY = "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace";
|
|
29
29
|
var W = 660;
|
|
30
30
|
var PAD = 24;
|
|
31
31
|
var CONTENT_W = W - PAD * 2;
|
|
@@ -48,8 +48,8 @@ function renderErrorCard(errors, source, palette, theme) {
|
|
|
48
48
|
let y = PAD + 8;
|
|
49
49
|
parts.push(frownMark(PAD + 14, y + 12, danger));
|
|
50
50
|
parts.push(
|
|
51
|
-
`<text x="${PAD + 38}" y="${y + 11}" fill="${text}" font-family="${FONT_FAMILY}" font-size="16" font-weight="
|
|
52
|
-
`<text x="${W - PAD}" y="${y + 10}" text-anchor="end" fill="${muted}" font-family="${FONT_FAMILY}" font-size="12" font-weight="
|
|
51
|
+
`<text x="${PAD + 38}" y="${y + 11}" fill="${text}" font-family="${FONT_FAMILY}" font-size="16" font-weight="bold">Couldn't render this diagram</text>`,
|
|
52
|
+
`<text x="${W - PAD}" y="${y + 10}" text-anchor="end" fill="${muted}" font-family="${FONT_FAMILY}" font-size="12" font-weight="bold" letter-spacing="0.5">dgmo</text>`
|
|
53
53
|
);
|
|
54
54
|
y += 24;
|
|
55
55
|
const errLabel = errors.length === 1 ? "1 error" : `${errors.length} errors`;
|
|
@@ -69,7 +69,7 @@ function renderErrorCard(errors, source, palette, theme) {
|
|
|
69
69
|
const badgeW = 14 + label.length * 7;
|
|
70
70
|
parts.push(
|
|
71
71
|
`<rect x="${PAD}" y="${y - 13}" width="${badgeW}" height="19" rx="4" fill="${danger}"/>`,
|
|
72
|
-
`<text x="${PAD + badgeW / 2}" y="${y + 1}" text-anchor="middle" fill="${c.bg}" font-family="${FONT_FAMILY}" font-size="11.5" font-weight="
|
|
72
|
+
`<text x="${PAD + badgeW / 2}" y="${y + 1}" text-anchor="middle" fill="${c.bg}" font-family="${FONT_FAMILY}" font-size="11.5" font-weight="bold">${escapeXml(label)}</text>`
|
|
73
73
|
);
|
|
74
74
|
msgX = PAD + badgeW + 12;
|
|
75
75
|
}
|
|
@@ -105,13 +105,13 @@ function renderErrorCard(errors, source, palette, theme) {
|
|
|
105
105
|
);
|
|
106
106
|
}
|
|
107
107
|
rowParts.push(
|
|
108
|
-
`<text x="${PAD + 8}" y="${ry + 1}" fill="${isBad ? danger : muted}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="${isBad ?
|
|
108
|
+
`<text x="${PAD + 8}" y="${ry + 1}" fill="${isBad ? danger : muted}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="${isBad ? "bold" : "normal"}">${escapeXml(`${n}`)}</text>`,
|
|
109
109
|
`<text x="${codeX}" y="${ry + 1}" fill="${text}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" xml:space="preserve">${escapeXml(codeText)}</text>`
|
|
110
110
|
);
|
|
111
111
|
if (isBad && hasCaret) {
|
|
112
112
|
const caretX = codeX + (e.column - 1) * CODE_FS * MONO_CH;
|
|
113
113
|
rowParts.push(
|
|
114
|
-
`<text x="${caretX}" y="${ry + 15}" fill="${danger}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="
|
|
114
|
+
`<text x="${caretX}" y="${ry + 15}" fill="${danger}" font-family="${MONO_FAMILY}" font-size="${CODE_FS}" font-weight="bold">^</text>`
|
|
115
115
|
);
|
|
116
116
|
ry += 14;
|
|
117
117
|
}
|
|
@@ -142,12 +142,12 @@ function renderErrorCard(errors, source, palette, theme) {
|
|
|
142
142
|
const iconSize = 18;
|
|
143
143
|
const linkColor = c.colors.blue ?? c.text;
|
|
144
144
|
parts.push(
|
|
145
|
-
`<a href="${escapeXml(editUrl)}" target="_blank" rel="noopener noreferrer">` + diagrammoIcon(PAD, y - 14, iconSize) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="
|
|
145
|
+
`<a href="${escapeXml(editUrl)}" target="_blank" rel="noopener noreferrer">` + diagrammoIcon(PAD, y - 14, iconSize) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="bold" text-decoration="underline">Edit & fix this diagram at online.diagrammo.app \u2197</text></a>`
|
|
146
146
|
);
|
|
147
147
|
y += 22;
|
|
148
148
|
const docs = docsLink(source);
|
|
149
149
|
parts.push(
|
|
150
|
-
`<a href="${escapeXml(docs.url)}" target="_blank" rel="noopener noreferrer">` + docIcon(PAD, y - 14, iconSize, linkColor) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="
|
|
150
|
+
`<a href="${escapeXml(docs.url)}" target="_blank" rel="noopener noreferrer">` + docIcon(PAD, y - 14, iconSize, linkColor) + `<text x="${PAD + iconSize + 8}" y="${y}" fill="${linkColor}" font-family="${FONT_FAMILY}" font-size="12.5" font-weight="bold" text-decoration="underline">${escapeXml(docs.label)}</text></a>`
|
|
151
151
|
);
|
|
152
152
|
y += 8;
|
|
153
153
|
const height = Math.round(y + PAD - 14);
|
|
@@ -201,7 +201,6 @@ function escapeXml(s) {
|
|
|
201
201
|
|
|
202
202
|
export {
|
|
203
203
|
docsLink,
|
|
204
|
-
MONO_FAMILY,
|
|
205
204
|
renderErrorCard
|
|
206
205
|
};
|
|
207
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-6FUIPWTS.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
measureText,
|
|
3
3
|
wrapTextToWidth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YC6GVLTI.js";
|
|
5
5
|
import {
|
|
6
6
|
fillModeFromOptions
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4CA7TJ44.js";
|
|
8
8
|
import {
|
|
9
9
|
mix,
|
|
10
10
|
shapeFill
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
12
12
|
|
|
13
13
|
// src/journey-map/layout.ts
|
|
14
14
|
var PADDING = 24;
|
|
@@ -290,4 +290,4 @@ export {
|
|
|
290
290
|
scoreToCurveY,
|
|
291
291
|
layoutJourneyMap
|
|
292
292
|
};
|
|
293
|
-
//# sourceMappingURL=chunk-
|
|
293
|
+
//# sourceMappingURL=chunk-6JIMYPXR.js.map
|
|
@@ -1,59 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutClassDiagram
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P4U5GST7.js";
|
|
4
4
|
import {
|
|
5
5
|
NOTE_BADGE_RADIUS,
|
|
6
6
|
noteConnectorPoints,
|
|
7
7
|
renderNoteBadge,
|
|
8
8
|
renderNoteBox,
|
|
9
9
|
renderNoteConnector
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-37NDM5NW.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./chunk-YM5RMLFO.js";
|
|
12
|
+
ScaleContext
|
|
13
|
+
} from "./chunk-24YPR5EH.js";
|
|
15
14
|
import {
|
|
15
|
+
ARROWHEAD_HEIGHT,
|
|
16
|
+
ARROWHEAD_WIDTH,
|
|
17
|
+
EDGE_DASH,
|
|
18
|
+
EDGE_LABEL_KNOCKOUT_OPACITY,
|
|
16
19
|
EDGE_STROKE_WIDTH,
|
|
17
20
|
NODE_STROKE_WIDTH
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-IIEI7VK5.js";
|
|
19
22
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
extractExportSvg,
|
|
24
|
+
runInExportContainer
|
|
25
|
+
} from "./chunk-QFIXL3OK.js";
|
|
22
26
|
import {
|
|
23
27
|
layoutInlineHeader
|
|
24
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2F7AG7LA.js";
|
|
25
29
|
import {
|
|
26
30
|
TITLE_FONT_SIZE,
|
|
27
31
|
TITLE_FONT_WEIGHT,
|
|
28
32
|
TITLE_Y
|
|
29
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-VSPNH7LC.js";
|
|
30
34
|
import {
|
|
31
35
|
renderIntegratedLegend
|
|
32
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-253E5ISJ.js";
|
|
33
37
|
import {
|
|
34
38
|
getLegendExtent
|
|
35
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LLZVRWVS.js";
|
|
36
40
|
import {
|
|
37
41
|
FONT_FAMILY
|
|
38
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ICLB27PZ.js";
|
|
39
43
|
import {
|
|
40
44
|
LEGEND_HEIGHT
|
|
41
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-CKDYRVOC.js";
|
|
42
46
|
import {
|
|
43
47
|
measureText
|
|
44
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YC6GVLTI.js";
|
|
45
49
|
import {
|
|
46
50
|
parseClassDiagram
|
|
47
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Z5ZCTCX4.js";
|
|
48
52
|
import {
|
|
49
53
|
fillModeFromOptions,
|
|
50
54
|
legendInlineRequested,
|
|
51
55
|
legendSuppressed
|
|
52
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-4CA7TJ44.js";
|
|
53
57
|
import {
|
|
54
58
|
contrastText,
|
|
55
59
|
shapeFill
|
|
56
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
57
61
|
|
|
58
62
|
// src/class/renderer.ts
|
|
59
63
|
import * as d3Selection from "d3-selection";
|
|
@@ -215,12 +219,12 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
|
|
|
215
219
|
svg.attr("width", "100%");
|
|
216
220
|
}
|
|
217
221
|
const defs = svg.append("defs");
|
|
218
|
-
const AW =
|
|
219
|
-
const AH =
|
|
222
|
+
const AW = ARROWHEAD_WIDTH;
|
|
223
|
+
const AH = ARROWHEAD_HEIGHT;
|
|
220
224
|
defs.append("marker").attr("id", "cd-arrow-inherit").attr("viewBox", `0 0 ${AW} ${AH}`).attr("refX", AW).attr("refY", AH / 2).attr("markerWidth", AW).attr("markerHeight", AH).attr("orient", "auto").append("polygon").attr("points", `0,0 ${AW},${AH / 2} 0,${AH}`).attr("fill", palette.textMuted).attr("stroke", palette.textMuted).attr("stroke-width", 1);
|
|
221
225
|
defs.append("marker").attr("id", "cd-arrow-implement").attr("viewBox", `0 0 ${AW} ${AH}`).attr("refX", AW).attr("refY", AH / 2).attr("markerWidth", AW).attr("markerHeight", AH).attr("orient", "auto").append("polygon").attr("points", `0,0 ${AW},${AH / 2} 0,${AH}`).attr("fill", palette.bg).attr("stroke", palette.textMuted).attr("stroke-width", 1);
|
|
222
|
-
const DW =
|
|
223
|
-
const DH =
|
|
226
|
+
const DW = ARROWHEAD_WIDTH;
|
|
227
|
+
const DH = ARROWHEAD_HEIGHT;
|
|
224
228
|
defs.append("marker").attr("id", "cd-arrow-compose").attr("viewBox", `0 0 ${DW} ${DH}`).attr("refX", 0).attr("refY", DH / 2).attr("markerWidth", DW).attr("markerHeight", DH).attr("orient", "auto").append("polygon").attr("points", `${DW / 2},0 ${DW},${DH / 2} ${DW / 2},${DH} 0,${DH / 2}`).attr("fill", palette.textMuted).attr("stroke", palette.textMuted).attr("stroke-width", 1);
|
|
225
229
|
defs.append("marker").attr("id", "cd-arrow-aggregate").attr("viewBox", `0 0 ${DW} ${DH}`).attr("refX", 0).attr("refY", DH / 2).attr("markerWidth", DW).attr("markerHeight", DH).attr("orient", "auto").append("polygon").attr("points", `${DW / 2},0 ${DW},${DH / 2} ${DW / 2},${DH} 0,${DH / 2}`).attr("fill", palette.bg).attr("stroke", palette.textMuted).attr("stroke-width", 1);
|
|
226
230
|
defs.append("marker").attr("id", "cd-arrow-depend").attr("viewBox", `0 0 ${AW} ${AH}`).attr("refX", AW).attr("refY", AH / 2).attr("markerWidth", AW).attr("markerHeight", AH).attr("orient", "auto").append("polyline").attr("points", `0,0 ${AW},${AH / 2} 0,${AH}`).attr("fill", "none").attr("stroke", palette.textMuted).attr("stroke-width", 1.5);
|
|
@@ -271,7 +275,7 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
|
|
|
271
275
|
if (pathD) {
|
|
272
276
|
const pathEl = edgeG.append("path").attr("d", pathD).attr("fill", "none").attr("stroke", edgeColor).attr("stroke-width", sEdgeStrokeWidth).attr("class", "cd-edge");
|
|
273
277
|
if (dashed) {
|
|
274
|
-
pathEl.attr("stroke-dasharray",
|
|
278
|
+
pathEl.attr("stroke-dasharray", EDGE_DASH);
|
|
275
279
|
}
|
|
276
280
|
if (sourceMarker) {
|
|
277
281
|
pathEl.attr("marker-start", `url(#${markerId})`);
|
|
@@ -284,7 +288,7 @@ function renderClassDiagram(container, parsed, layout, palette, isDark, onClickI
|
|
|
284
288
|
const midPt = edge.points[midIdx];
|
|
285
289
|
const bgW = measureText(edge.label, sEdgeLabelFontSize) + 8;
|
|
286
290
|
const bgH = 16;
|
|
287
|
-
edgeG.append("rect").attr("x", midPt.x - bgW / 2).attr("y", midPt.y - bgH / 2 - 1).attr("width", bgW).attr("height", bgH).attr("rx", 3).attr("fill", palette.bg).attr("opacity",
|
|
291
|
+
edgeG.append("rect").attr("x", midPt.x - bgW / 2).attr("y", midPt.y - bgH / 2 - 1).attr("width", bgW).attr("height", bgH).attr("rx", 3).attr("fill", palette.bg).attr("opacity", EDGE_LABEL_KNOCKOUT_OPACITY).attr("class", "cd-edge-label-bg");
|
|
288
292
|
edgeG.append("text").attr("x", midPt.x).attr("y", midPt.y + 4).attr("text-anchor", "middle").attr("fill", edgeColor).attr("font-size", sEdgeLabelFontSize).attr("class", "cd-edge-label").text(edge.label);
|
|
289
293
|
}
|
|
290
294
|
}
|
|
@@ -448,4 +452,4 @@ export {
|
|
|
448
452
|
renderClassDiagram,
|
|
449
453
|
renderClassDiagramForExport
|
|
450
454
|
};
|
|
451
|
-
//# sourceMappingURL=chunk-
|
|
455
|
+
//# sourceMappingURL=chunk-7AEMAUDF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
measureText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YC6GVLTI.js";
|
|
4
4
|
|
|
5
5
|
// src/wireframe/layout.ts
|
|
6
6
|
var DESKTOP_WIDTH = 1200;
|
|
@@ -302,4 +302,4 @@ function computeFieldAlignX(children) {
|
|
|
302
302
|
export {
|
|
303
303
|
layoutWireframe
|
|
304
304
|
};
|
|
305
|
-
//# sourceMappingURL=chunk-
|
|
305
|
+
//# sourceMappingURL=chunk-7DCM3CB5.js.map
|