@diagrammo/dgmo 0.78.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/dist/advanced.d.ts +186 -19
- package/dist/advanced.js +129 -114
- package/dist/block.d.ts +2 -2
- package/dist/block.js +53 -53
- package/dist/{calculator-CVQ54JNE.js → calculator-OHTCZSBW.js} +3 -3
- package/dist/{chart-meta-BKN2ORkc.d.ts → chart-meta-B7lSmrzg.d.ts} +2 -2
- package/dist/chart-meta.d.ts +3 -3
- package/dist/chart-meta.js +43 -43
- package/dist/{charts-d3-KEQ7XVSM.js → charts-d3-EST3Z5VG.js} +12 -12
- package/dist/{chunk-67I3HFSF.js → chunk-253E5ISJ.js} +5 -5
- package/dist/{chunk-FLMXJMMY.js → chunk-2F7AG7LA.js} +3 -3
- package/dist/{chunk-LMWXBFLA.js → chunk-2R2M2C6V.js} +2 -2
- package/dist/{chunk-GJH7ZEPH.js → chunk-2RAH6GVR.js} +22 -12
- package/dist/{chunk-KO6DGOOB.js → chunk-37NDM5NW.js} +2 -2
- package/dist/{chunk-AN7T6VP7.js → chunk-3BN3WCUD.js} +5 -2
- package/dist/{chunk-IE47TYZT.js → chunk-3KFGPXHD.js} +102 -101
- package/dist/{chunk-NWNSXHA5.js → chunk-3KNA7OIO.js} +3 -3
- package/dist/{chunk-M5OOAP65.js → chunk-4CA7TJ44.js} +2 -1
- package/dist/{chunk-6Z2NUJSX.js → chunk-4L43NPSQ.js} +10 -6
- package/dist/{chunk-VUJQ6RU6.js → chunk-4T6V7JJA.js} +3 -3
- package/dist/{chunk-3XFOE3DQ.js → chunk-4YSWUQKZ.js} +3 -3
- package/dist/{chunk-ZMCFUGKO.js → chunk-54JYWS7D.js} +8 -8
- package/dist/{chunk-XCR3PDFF.js → chunk-55DMCFGM.js} +3 -3
- package/dist/{chunk-IMO46ROR.js → chunk-5BV5MXLY.js} +3 -3
- package/dist/{chunk-5G55TS3H.js → chunk-5DWF3N3V.js} +3 -3
- package/dist/{chunk-U4ND3J6C.js → chunk-6775W3UW.js} +4 -4
- package/dist/{chunk-N56W4R66.js → chunk-6EMJRAEY.js} +3 -3
- package/dist/{chunk-RC3FM3FE.js → chunk-6FUIPWTS.js} +4 -4
- package/dist/{chunk-CTERZC4K.js → chunk-6JIMYPXR.js} +4 -4
- package/dist/{chunk-VZD3ZV4Y.js → chunk-7AEMAUDF.js} +11 -11
- package/dist/{chunk-NVOU7N6C.js → chunk-7DCM3CB5.js} +2 -2
- package/dist/{chunk-XDPJMLOH.js → chunk-7EUTTKNU.js} +15 -13
- package/dist/{chunk-76NHL5UG.js → chunk-7I6NWTPE.js} +2 -2
- package/dist/{chunk-OKXWPKUC.js → chunk-7SHL2WME.js} +2 -2
- package/dist/{chunk-QAPFXLAC.js → chunk-AFOHIR2O.js} +3 -3
- package/dist/{chunk-KAZQX2EY.js → chunk-AI7TZQ2R.js} +3 -3
- package/dist/{chunk-7BNRHSSF.js → chunk-ALVK3TBO.js} +3 -3
- package/dist/{chunk-YVLTNNME.js → chunk-AMQFJ7P7.js} +10 -1
- package/dist/{chunk-UDYJVX6Y.js → chunk-CCETDPLV.js} +4 -4
- package/dist/{chunk-L26M3X7K.js → chunk-CE654SL2.js} +8 -8
- package/dist/{chunk-FJADQOFQ.js → chunk-CFYTCBRH.js} +4 -4
- package/dist/{chunk-MFK7LF66.js → chunk-CKDYRVOC.js} +3 -3
- package/dist/{chunk-6B3M6LW6.js → chunk-CRBW2WS7.js} +4 -4
- package/dist/{chunk-DCPD5SHV.js → chunk-CREALBZL.js} +2 -2
- package/dist/{chunk-P64NBPSK.js → chunk-CSTYDCKB.js} +4 -4
- package/dist/{chunk-SNBEAO4Q.js → chunk-DG5IQW74.js} +7 -7
- package/dist/{chunk-Y2CYNRL7.js → chunk-DN6K6QCF.js} +2 -2
- package/dist/{chunk-VQGQF7O7.js → chunk-DQOCYWB6.js} +4 -4
- package/dist/{chunk-7SMVTA7I.js → chunk-EBEFYSVZ.js} +40 -40
- package/dist/{chunk-L65WI4HO.js → chunk-EDU2OCIQ.js} +2 -2
- package/dist/{chunk-4IGUEGD6.js → chunk-EOG4QKKV.js} +36 -12
- package/dist/{chunk-4AWLEWSD.js → chunk-F66R7CPY.js} +2 -2
- package/dist/{chunk-7BMX2M3F.js → chunk-FFDHZVEL.js} +2 -2
- package/dist/{chunk-BJB4YDJP.js → chunk-GWA6UGNX.js} +8 -8
- package/dist/{chunk-IDGQB6XD.js → chunk-HIOJSYDA.js} +3 -3
- package/dist/{chunk-KGX5LIUG.js → chunk-HJ5DKZPO.js} +5 -5
- package/dist/{chunk-AHN2CVCH.js → chunk-HJZ4OET2.js} +25 -13
- package/dist/{chunk-36UQ77JV.js → chunk-HLTVEXML.js} +10 -10
- package/dist/{chunk-M3LZCDB6.js → chunk-I6DFQQER.js} +10 -10
- package/dist/{chunk-A7Y32YD6.js → chunk-IEK2FUWO.js} +19 -6
- package/dist/{chunk-3OWIYK52.js → chunk-IZK2H4KU.js} +3 -3
- package/dist/{chunk-CRLVJZWX.js → chunk-JOG6W3VS.js} +2 -2
- package/dist/{chunk-HHHYVTVS.js → chunk-JTLLQT34.js} +5 -5
- package/dist/{chunk-RIXWLFB4.js → chunk-K3K7JHZI.js} +2 -2
- package/dist/{chunk-GOW5VO6M.js → chunk-KHRZCKKG.js} +2 -2
- package/dist/{chunk-RUNI4OXP.js → chunk-KIF4UFD2.js} +6 -6
- package/dist/{chunk-VAA7QSZ7.js → chunk-KYK6PMB5.js} +6 -6
- package/dist/{chunk-U2JIFCJN.js → chunk-LJ7X6ZNV.js} +16 -19
- package/dist/{chunk-SFSJ6XWV.js → chunk-LLYHYPYG.js} +4 -4
- package/dist/{chunk-IZTU6WVR.js → chunk-LLZVRWVS.js} +2 -2
- package/dist/{chunk-7WTFX6OA.js → chunk-LXTMP3VT.js} +2 -2
- package/dist/{chunk-UQY2VLUK.js → chunk-MDUCF376.js} +7 -7
- package/dist/{chunk-KWSBNLSC.js → chunk-MQAD75AY.js} +2 -2
- package/dist/{chunk-JUNTVLOU.js → chunk-MUTZSF2A.js} +4 -4
- package/dist/{chunk-YKDZ3ZRI.js → chunk-NVI5G57O.js} +10 -10
- package/dist/{chunk-R4YGH7DJ.js → chunk-O2HU4AQN.js} +30 -3
- package/dist/{chunk-NS3KIRSW.js → chunk-O5QG5IFV.js} +12 -3
- package/dist/{chunk-TLM3I4XF.js → chunk-OLRVGPJ3.js} +24 -11
- package/dist/{chunk-CYLSQO4L.js → chunk-OM6XZAKM.js} +6 -6
- package/dist/{chunk-SXD6VY7D.js → chunk-OMN4F42L.js} +9 -9
- package/dist/{chunk-P2DM7Q5U.js → chunk-P4U5GST7.js} +3 -3
- package/dist/{chunk-32VR65TL.js → chunk-PKW4TLJC.js} +33 -16
- package/dist/{chunk-GRN44Z6A.js → chunk-PQR7E3LY.js} +2 -2
- package/dist/{chunk-SH4PPRU7.js → chunk-Q5KGGW7Z.js} +2 -2
- package/dist/{chunk-BB2ORSTF.js → chunk-QDHOIBHZ.js} +12 -12
- package/dist/{chunk-MJYFPFZT.js → chunk-QDTFFVLT.js} +10 -10
- package/dist/{chunk-UCF6TKWV.js → chunk-QGXH64FT.js} +7 -7
- package/dist/{chunk-VS2M72PF.js → chunk-RLJKH4ZO.js} +4 -2
- package/dist/{chunk-ZGOBAMQ2.js → chunk-RN3DOUOU.js} +9 -9
- package/dist/{chunk-VBJCGGNF.js → chunk-RPP3NHKV.js} +2 -2
- package/dist/{chunk-EOB7XVYR.js → chunk-RVWWCQAB.js} +2 -2
- package/dist/{chunk-BPM52K3Z.js → chunk-RWF7TCGT.js} +31 -8
- package/dist/{chunk-LKS56RDT.js → chunk-S6GPBJWG.js} +2 -2
- package/dist/{chunk-RC6GGF6X.js → chunk-S7ZJEQPW.js} +4 -4
- package/dist/{chunk-2NLBIZEW.js → chunk-SEOM2BGQ.js} +3 -3
- package/dist/{chunk-6VTLVU7D.js → chunk-T3EW35M2.js} +3 -3
- package/dist/{chunk-3GLTQZKE.js → chunk-TPQ6Q7JP.js} +3 -3
- package/dist/{chunk-P54AX5XN.js → chunk-ULUZBEFO.js} +4 -4
- package/dist/{chunk-B6PVPAS5.js → chunk-UNYOWKEC.js} +13 -4
- package/dist/{chunk-X326N4GN.js → chunk-VTWUHX4H.js} +3 -3
- package/dist/{chunk-P4SQV3XD.js → chunk-W4MC3KP6.js} +2 -2
- package/dist/{chunk-LGI735AJ.js → chunk-W6DBWWPC.js} +2 -2
- package/dist/{chunk-7NNJXYXU.js → chunk-WC72PTV4.js} +3 -3
- package/dist/{chunk-ENDB5YSV.js → chunk-WY4L675I.js} +10 -24
- package/dist/{chunk-QVMV4KCA.js → chunk-XDEEYDPQ.js} +4 -4
- package/dist/{chunk-GINNZHVN.js → chunk-XNAMWOPJ.js} +3 -3
- package/dist/{chunk-GQEXY7XL.js → chunk-XND5JIJA.js} +2 -2
- package/dist/{chunk-RHZZVIGA.js → chunk-XWC4RQ7T.js} +4 -4
- package/dist/{chunk-UCZBRGJN.js → chunk-XXLAZQ5E.js} +2 -2
- package/dist/{chunk-NN5IDH2I.js → chunk-Y22BJKMK.js} +3 -3
- package/dist/{chunk-LEBPWFVF.js → chunk-Y2KFQX5K.js} +47 -28
- package/dist/{chunk-BSREARWG.js → chunk-Y3OLUMJH.js} +9 -9
- package/dist/{chunk-JOD2CK2M.js → chunk-Y3RYIGHZ.js} +8 -8
- package/dist/{chunk-MTGGOCND.js → chunk-YC6GVLTI.js} +61 -10
- package/dist/{chunk-6PHOZBW5.js → chunk-YD2HPT7W.js} +2 -2
- package/dist/{chunk-TO6TWNMF.js → chunk-YPVP6I62.js} +2 -2
- package/dist/{chunk-PIWUZFG7.js → chunk-YQIZIKCK.js} +13 -13
- package/dist/{chunk-M526IKKH.js → chunk-Z4COUG7H.js} +2 -2
- package/dist/{chunk-LTTZX6RD.js → chunk-Z5ZCTCX4.js} +3 -3
- package/dist/{chunk-57GSSHBR.js → chunk-ZASX45SU.js} +3 -3
- package/dist/{chunk-3ZLQM6XN.js → chunk-ZH3BWGTE.js} +3 -3
- package/dist/{chunk-TN754B3R.js → chunk-ZZZJVDIL.js} +2 -2
- package/dist/completion-registry.js +3 -3
- package/dist/{d3-CQT5bwpb.d.ts → d3-Bje6Mla1.d.ts} +1 -1
- package/dist/dgmo-router-OXFV43XX.js +90 -0
- package/dist/{dgmo-router-C9CsswPZ.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-FDJ4QQXE.js → flowchart-renderer-IGSKJFMF.js} +10 -10
- package/dist/index.d.ts +7 -7
- package/dist/index.js +53 -53
- package/dist/{layout-5DZ2LI2R.js → layout-5AYAYUJH.js} +2 -2
- package/dist/{layout-6I6LSBUR.js → layout-6APS2RRG.js} +7 -7
- package/dist/{layout-YVY72CIG.js → layout-6VUNAH6F.js} +5 -5
- package/dist/{layout-ZDN252GR.js → layout-74HDWQYG.js} +5 -5
- package/dist/{layout-CHWKNE3O.js → layout-FCIYZV63.js} +3 -3
- package/dist/{layout-4LNMXLVK.js → layout-J2Z2SYH5.js} +3 -3
- package/dist/layout-LELNMRM5.js +16 -0
- package/dist/{layout-K4KML2DL.js → layout-OPF6KTOH.js} +5 -5
- package/dist/layout-SUND6B7D.js +9 -0
- package/dist/{layout-S53FSD6R.js → layout-WASEHV3S.js} +5 -5
- package/dist/{layout-SGYR6HBX.js → layout-XAJLQPI6.js} +3 -3
- package/dist/layout-XY45TFJ4.js +16 -0
- package/dist/{layout-TCFXB5XH.js → layout-YPRXVCW5.js} +5 -5
- package/dist/{layout-C2SCZV5M.js → layout-ZJOWB27N.js} +6 -6
- package/dist/{layout-search-TSV4FURP.js → layout-search-3JKNSUTJ.js} +5 -5
- package/dist/{legend-constants-SB4PLHV5.js → legend-constants-RSWFR3L6.js} +4 -4
- package/dist/{palettes-YIPSRYXP.js → palettes-IAF6WVL4.js} +2 -2
- package/dist/{parser-GFGU5ZLQ.js → parser-2Y7LWKNO.js} +4 -4
- package/dist/{parser-IK3FXZ7D.js → parser-4GUQUDAC.js} +5 -5
- package/dist/{parser-RUJNN5PK.js → parser-4OXANARZ.js} +5 -5
- package/dist/{parser-GKZWI5SZ.js → parser-56UEMRXS.js} +4 -4
- package/dist/{parser-EPKXJ2RL.js → parser-66QZQYGE.js} +4 -4
- package/dist/{parser-Z5UK6ADF.js → parser-6SS7DKVW.js} +4 -4
- package/dist/{parser-HSPODF4H.js → parser-AYURCBDZ.js} +4 -4
- package/dist/{parser-4IHIVDJD.js → parser-COPCQEHV.js} +5 -5
- package/dist/{parser-F4ZKDGUZ.js → parser-DEWJM5PX.js} +3 -3
- package/dist/{parser-6ZFQLLVE.js → parser-DQKZDA2J.js} +3 -3
- package/dist/{parser-WCFG3DZA.js → parser-EMPM3V35.js} +3 -3
- package/dist/{parser-PD4TP6NM.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-LJWPKRDM.js → parser-GK6CMK4P.js} +4 -4
- package/dist/{parser-3UNIPVNY.js → parser-H33OKBUB.js} +4 -4
- package/dist/{parser-G7E2BURB.js → parser-HJBSWTDY.js} +4 -4
- package/dist/{parser-6JNJHQAG.js → parser-HRIKI5O3.js} +5 -5
- package/dist/{parser-H4ZUNLX4.js → parser-I77632XB.js} +3 -3
- package/dist/{parser-ZO5YT5SV.js → parser-JGMQE7FS.js} +4 -4
- package/dist/{parser-BOPXE6RP.js → parser-JIPG576H.js} +4 -4
- package/dist/{parser-R2JHC7LQ.js → parser-JNJ2IFSO.js} +4 -4
- package/dist/{parser-RMZ6YI7H.js → parser-LCUQTABE.js} +4 -4
- package/dist/{parser-4DLU4SNG.js → parser-LXU3MGG6.js} +3 -3
- package/dist/{parser-DFBQ2RID.js → parser-N4YB5EIZ.js} +4 -4
- package/dist/{parser-XVSDFO56.js → parser-NC36PRBR.js} +3 -3
- package/dist/{parser-OYWUBQV4.js → parser-O6WYAXTS.js} +4 -4
- package/dist/{parser-4KFJKLP2.js → parser-UHABNZBC.js} +3 -3
- package/dist/{parser-2BX2EJUB.js → parser-V6HULGXW.js} +4 -4
- package/dist/{parser-YWE7GHW6.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-62VNEQRT.js → parser-ZUH2G7J2.js} +4 -4
- package/dist/{renderer-E2JTYQY5.js → renderer-2ZGZSSCV.js} +16 -16
- package/dist/{renderer-KD5X4RIS.js → renderer-33AB7UAZ.js} +12 -12
- package/dist/renderer-43KEDLTQ.js +23 -0
- package/dist/{renderer-LRL4SU43.js → renderer-4E6NNPNU.js} +11 -11
- package/dist/{renderer-J7J3OVLQ.js → renderer-4HFT4HJG.js} +14 -14
- package/dist/{renderer-FA4BTAOL.js → renderer-63MHARNI.js} +5 -5
- package/dist/{renderer-J6HK2KOW.js → renderer-6HPV7BMG.js} +9 -9
- package/dist/{renderer-AIVALEQR.js → renderer-BVJ3NVRB.js} +5 -5
- package/dist/{renderer-JRITSZY3.js → renderer-DV44AS75.js} +11 -11
- package/dist/{renderer-DI66RLAG.js → renderer-FLLVGYUY.js} +12 -12
- package/dist/{renderer-CRRW7LTW.js → renderer-FSV7MTW3.js} +5 -5
- package/dist/{renderer-CXU2MGSC.js → renderer-H6XEVHKH.js} +10 -10
- package/dist/renderer-HNEMQJXT.js +21 -0
- package/dist/{renderer-KWNNWCGD.js → renderer-IIN3RY4F.js} +4 -4
- package/dist/{renderer-WYNLGZRF.js → renderer-K2OWHNBV.js} +10 -10
- package/dist/renderer-M6UIXQHH.js +27 -0
- package/dist/{renderer-OR5QHR7X.js → renderer-N5CRYFBI.js} +12 -12
- package/dist/{renderer-JHQC5RGJ.js → renderer-O3O6A3RY.js} +11 -11
- package/dist/{renderer-NA3DTAWF.js → renderer-OVRX36WE.js} +16 -16
- package/dist/{renderer-SBVWHQVW.js → renderer-PLKMHBAB.js} +12 -12
- package/dist/{renderer-FFGFTIT4.js → renderer-REHVBQ57.js} +11 -11
- package/dist/{renderer-JC7MK7SD.js → renderer-RW446FGL.js} +3 -3
- package/dist/{renderer-ZUAXGHFC.js → renderer-SJV75NUI.js} +11 -11
- package/dist/{renderer-TLOSBJKW.js → renderer-TKWW45LZ.js} +12 -12
- package/dist/{renderer-LGMIAG6N.js → renderer-UHLTPQTW.js} +3 -3
- package/dist/{renderer-W5UG2HWT.js → renderer-UNYFAMFE.js} +5 -5
- package/dist/{renderer-5TPUPMZ7.js → renderer-URXHBQOF.js} +10 -10
- package/dist/{renderer-WOOKJOBQ.js → renderer-VBAQQWDB.js} +10 -10
- package/dist/renderer-VI72MVFW.js +77 -0
- package/dist/{renderer-BF7FYXG3.js → renderer-XGJIACBV.js} +9 -9
- package/dist/{renderer-VHK6UAW2.js → renderer-XVTKGPYT.js} +7 -7
- package/dist/{renderer-MBL64AJI.js → renderer-YLIICO4R.js} +6 -6
- package/dist/{renderer-IVAM7Z3Y.js → renderer-ZG6GPWZF.js} +10 -10
- package/dist/renderer-radial-7UHFYOOL.js +21 -0
- package/dist/{state-parser-CT5HQQ7E.js → state-parser-XT4ZPQAF.js} +5 -5
- package/dist/{state-renderer-7O3QGNJ5.js → state-renderer-6TVII5ZJ.js} +15 -15
- package/dist/{tag-groups-BoJg3lFV.d.ts → tag-groups-DIJV_50B.d.ts} +26 -1
- package/dist/{themes-CXYnNA4e.d.ts → themes-Bgkyh6gh.d.ts} +2 -2
- package/docs/language-reference.md +6 -0
- package/package.json +4 -3
- package/dist/dgmo-router-XZNCLYTV.js +0 -90
- package/dist/dimensions-SIZMZ4DC.js +0 -22
- package/dist/layout-IN53LAE6.js +0 -9
- package/dist/layout-XK6ZD7BU.js +0 -16
- package/dist/layout-YY6VH5XH.js +0 -16
- package/dist/renderer-AMELXBNW.js +0 -23
- package/dist/renderer-LQN3FXAP.js +0 -77
- package/dist/renderer-UDWJRRIC.js +0 -27
- package/dist/renderer-Y74Y54C3.js +0 -21
- package/dist/renderer-radial-YVUDGR7C.js +0 -21
|
@@ -12,18 +12,18 @@ import {
|
|
|
12
12
|
LEGEND_PILL_FONT_SIZE,
|
|
13
13
|
LEGEND_PILL_PAD,
|
|
14
14
|
measureLegendText
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-CKDYRVOC.js";
|
|
16
16
|
import {
|
|
17
17
|
measureText,
|
|
18
18
|
wrapTextToWidth
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YC6GVLTI.js";
|
|
20
20
|
import {
|
|
21
21
|
UNTAGGED_TAG_COLOR,
|
|
22
22
|
tagAttrKey
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O2HU4AQN.js";
|
|
24
24
|
import {
|
|
25
25
|
legendSuppressed
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4CA7TJ44.js";
|
|
27
27
|
|
|
28
28
|
// src/c4/layout.ts
|
|
29
29
|
import dagre from "@dagrejs/dagre";
|
|
@@ -687,7 +687,8 @@ function layoutC4Containers(parsed, systemName, activeTagGroup) {
|
|
|
687
687
|
if (child.type === "container") {
|
|
688
688
|
elementToGroup.set(child.name, {
|
|
689
689
|
name: group.name,
|
|
690
|
-
lineNumber: group.lineNumber
|
|
690
|
+
lineNumber: group.lineNumber,
|
|
691
|
+
...group.metadata && { metadata: group.metadata }
|
|
691
692
|
});
|
|
692
693
|
}
|
|
693
694
|
}
|
|
@@ -877,11 +878,15 @@ function layoutC4Containers(parsed, systemName, activeTagGroup) {
|
|
|
877
878
|
const node = nodeMap.get(elName);
|
|
878
879
|
if (!node) continue;
|
|
879
880
|
if (!seenGroups.has(grp.name)) {
|
|
880
|
-
seenGroups.set(grp.name, {
|
|
881
|
+
seenGroups.set(grp.name, {
|
|
882
|
+
lineNumber: grp.lineNumber,
|
|
883
|
+
members: [],
|
|
884
|
+
...grp.metadata && { metadata: grp.metadata }
|
|
885
|
+
});
|
|
881
886
|
}
|
|
882
887
|
seenGroups.get(grp.name).members.push(node);
|
|
883
888
|
}
|
|
884
|
-
for (const [groupName, { lineNumber, members }] of seenGroups) {
|
|
889
|
+
for (const [groupName, { lineNumber, members, metadata }] of seenGroups) {
|
|
885
890
|
if (members.length === 0) continue;
|
|
886
891
|
let gMinX = Infinity, gMinY = Infinity, gMaxX = -Infinity, gMaxY = -Infinity;
|
|
887
892
|
for (const m of members) {
|
|
@@ -901,7 +906,8 @@ function layoutC4Containers(parsed, systemName, activeTagGroup) {
|
|
|
901
906
|
x: gMinX - GROUP_BOUNDARY_PAD,
|
|
902
907
|
y: gMinY - GROUP_BOUNDARY_PAD,
|
|
903
908
|
width: gMaxX - gMinX + GROUP_BOUNDARY_PAD * 2,
|
|
904
|
-
height: gMaxY - gMinY + GROUP_BOUNDARY_PAD * 2
|
|
909
|
+
height: gMaxY - gMinY + GROUP_BOUNDARY_PAD * 2,
|
|
910
|
+
...metadata && { metadata }
|
|
905
911
|
});
|
|
906
912
|
}
|
|
907
913
|
}
|
|
@@ -1098,7 +1104,8 @@ function layoutC4Components(parsed, systemName, containerName, activeTagGroup) {
|
|
|
1098
1104
|
if (child.type === "component") {
|
|
1099
1105
|
elementToGroup.set(child.name, {
|
|
1100
1106
|
name: group.name,
|
|
1101
|
-
lineNumber: group.lineNumber
|
|
1107
|
+
lineNumber: group.lineNumber,
|
|
1108
|
+
...group.metadata && { metadata: group.metadata }
|
|
1102
1109
|
});
|
|
1103
1110
|
}
|
|
1104
1111
|
}
|
|
@@ -1296,11 +1303,15 @@ function layoutC4Components(parsed, systemName, containerName, activeTagGroup) {
|
|
|
1296
1303
|
const node = nodeMap.get(elName);
|
|
1297
1304
|
if (!node) continue;
|
|
1298
1305
|
if (!seenGroups.has(grp.name)) {
|
|
1299
|
-
seenGroups.set(grp.name, {
|
|
1306
|
+
seenGroups.set(grp.name, {
|
|
1307
|
+
lineNumber: grp.lineNumber,
|
|
1308
|
+
members: [],
|
|
1309
|
+
...grp.metadata && { metadata: grp.metadata }
|
|
1310
|
+
});
|
|
1300
1311
|
}
|
|
1301
1312
|
seenGroups.get(grp.name).members.push(node);
|
|
1302
1313
|
}
|
|
1303
|
-
for (const [groupName, { lineNumber, members }] of seenGroups) {
|
|
1314
|
+
for (const [groupName, { lineNumber, members, metadata }] of seenGroups) {
|
|
1304
1315
|
if (members.length === 0) continue;
|
|
1305
1316
|
let gMinX = Infinity, gMinY = Infinity, gMaxX = -Infinity, gMaxY = -Infinity;
|
|
1306
1317
|
for (const m of members) {
|
|
@@ -1320,7 +1331,8 @@ function layoutC4Components(parsed, systemName, containerName, activeTagGroup) {
|
|
|
1320
1331
|
x: gMinX - GROUP_BOUNDARY_PAD,
|
|
1321
1332
|
y: gMinY - GROUP_BOUNDARY_PAD,
|
|
1322
1333
|
width: gMaxX - gMinX + GROUP_BOUNDARY_PAD * 2,
|
|
1323
|
-
height: gMaxY - gMinY + GROUP_BOUNDARY_PAD * 2
|
|
1334
|
+
height: gMaxY - gMinY + GROUP_BOUNDARY_PAD * 2,
|
|
1335
|
+
...metadata && { metadata }
|
|
1324
1336
|
});
|
|
1325
1337
|
}
|
|
1326
1338
|
}
|
|
@@ -1721,4 +1733,4 @@ export {
|
|
|
1721
1733
|
layoutC4Components,
|
|
1722
1734
|
layoutC4Deployment
|
|
1723
1735
|
};
|
|
1724
|
-
//# sourceMappingURL=chunk-
|
|
1736
|
+
//# sourceMappingURL=chunk-HJZ4OET2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
computeNodeText,
|
|
3
3
|
layoutMindmap
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HIOJSYDA.js";
|
|
5
5
|
import {
|
|
6
6
|
renderInlineText
|
|
7
7
|
} from "./chunk-FWNJDD4U.js";
|
|
@@ -21,42 +21,42 @@ import {
|
|
|
21
21
|
} from "./chunk-QFIXL3OK.js";
|
|
22
22
|
import {
|
|
23
23
|
layoutInlineHeader
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2F7AG7LA.js";
|
|
25
25
|
import {
|
|
26
26
|
TITLE_FONT_SIZE,
|
|
27
27
|
TITLE_FONT_WEIGHT
|
|
28
28
|
} from "./chunk-VSPNH7LC.js";
|
|
29
29
|
import {
|
|
30
30
|
renderIntegratedLegend
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-253E5ISJ.js";
|
|
32
32
|
import {
|
|
33
33
|
getLegendExtent,
|
|
34
34
|
getMaxLegendReservedHeight
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LLZVRWVS.js";
|
|
36
36
|
import {
|
|
37
37
|
FONT_FAMILY
|
|
38
38
|
} from "./chunk-ICLB27PZ.js";
|
|
39
39
|
import {
|
|
40
40
|
LEGEND_GROUP_GAP
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-CKDYRVOC.js";
|
|
42
42
|
import {
|
|
43
43
|
parseMindmap
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZASX45SU.js";
|
|
45
45
|
import {
|
|
46
46
|
preprocessDescriptionLine
|
|
47
47
|
} from "./chunk-IYULMRBE.js";
|
|
48
48
|
import {
|
|
49
49
|
tagAttrKey
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-O2HU4AQN.js";
|
|
51
51
|
import {
|
|
52
52
|
fillModeFromOptions,
|
|
53
53
|
legendInlineRequested,
|
|
54
54
|
legendSuppressed
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4CA7TJ44.js";
|
|
56
56
|
import {
|
|
57
57
|
contrastText,
|
|
58
58
|
shapeFill
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
60
60
|
|
|
61
61
|
// src/mindmap/renderer.ts
|
|
62
62
|
import * as d3Selection from "d3-selection";
|
|
@@ -426,4 +426,4 @@ export {
|
|
|
426
426
|
renderMindmap,
|
|
427
427
|
renderMindmapForExport
|
|
428
428
|
};
|
|
429
|
-
//# sourceMappingURL=chunk-
|
|
429
|
+
//# sourceMappingURL=chunk-HLTVEXML.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-IIEI7VK5.js";
|
|
17
17
|
import {
|
|
18
18
|
layoutInlineHeader
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-2F7AG7LA.js";
|
|
20
20
|
import {
|
|
21
21
|
TITLE_FONT_SIZE,
|
|
22
22
|
TITLE_FONT_WEIGHT,
|
|
@@ -24,41 +24,41 @@ import {
|
|
|
24
24
|
} from "./chunk-VSPNH7LC.js";
|
|
25
25
|
import {
|
|
26
26
|
renderIntegratedLegend
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-253E5ISJ.js";
|
|
28
28
|
import {
|
|
29
29
|
getLegendExtent,
|
|
30
30
|
getMaxLegendReservedHeight
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-LLZVRWVS.js";
|
|
32
32
|
import {
|
|
33
33
|
FONT_FAMILY
|
|
34
34
|
} from "./chunk-ICLB27PZ.js";
|
|
35
35
|
import {
|
|
36
36
|
legendChromeColors
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CKDYRVOC.js";
|
|
38
38
|
import {
|
|
39
39
|
measureText,
|
|
40
40
|
truncateText
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YC6GVLTI.js";
|
|
42
42
|
import {
|
|
43
43
|
isSequenceBlock,
|
|
44
44
|
isSequenceNote,
|
|
45
45
|
isSequenceSection
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-55DMCFGM.js";
|
|
47
47
|
import {
|
|
48
48
|
resolveActiveTagGroup,
|
|
49
49
|
tagAttrKey
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-O2HU4AQN.js";
|
|
51
51
|
import {
|
|
52
52
|
fillModeFromOptions,
|
|
53
53
|
legendInlineRequested,
|
|
54
54
|
legendSuppressed
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-4CA7TJ44.js";
|
|
56
56
|
import {
|
|
57
57
|
contrastText,
|
|
58
58
|
mix,
|
|
59
59
|
shapeFill,
|
|
60
60
|
themeBaseBg
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
62
62
|
|
|
63
63
|
// src/sequence/renderer.ts
|
|
64
64
|
import * as d3Selection from "d3-selection";
|
|
@@ -2072,4 +2072,4 @@ export {
|
|
|
2072
2072
|
renderSequenceDiagram,
|
|
2073
2073
|
buildNoteMessageMap
|
|
2074
2074
|
};
|
|
2075
|
-
//# sourceMappingURL=chunk-
|
|
2075
|
+
//# sourceMappingURL=chunk-I6DFQQER.js.map
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
stripDefaultModifier,
|
|
19
19
|
tagAttrKey,
|
|
20
20
|
validateTagGroupNames
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-O2HU4AQN.js";
|
|
22
22
|
import {
|
|
23
23
|
AliasRegistry,
|
|
24
24
|
C4_REGISTRY,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
splitNameAndMeta,
|
|
31
31
|
warnUnknownMetaKeys,
|
|
32
32
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-4CA7TJ44.js";
|
|
34
34
|
import {
|
|
35
35
|
formatDgmoError,
|
|
36
36
|
makeDgmoError,
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
|
|
41
41
|
// src/c4/parser.ts
|
|
42
42
|
var CONTAINER_RE = /^\[([^\]]+)\](?:\s+(collapsed)|\s+collapsed:\s*(\S+))?$/;
|
|
43
|
+
var CONTAINER_META_RE = /^\[([^\]]+)\]\s+(.+)$/;
|
|
43
44
|
var ELEMENT_RE = /^(person|system|container|component)\s+(.+)$/i;
|
|
44
45
|
var IS_A_RE = /\s+is\s+a(?:n)?\s+(\w+)\s*$/i;
|
|
45
46
|
var C4_IS_A_RE = /^([^:]+?)\s+is\s+an?\s+(person|system|container|component|external|database)\b(.*)$/i;
|
|
@@ -389,15 +390,27 @@ function parseC4(content, palette) {
|
|
|
389
390
|
stack.pop();
|
|
390
391
|
}
|
|
391
392
|
const containerMatch = trimmed.match(CONTAINER_RE);
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
393
|
+
let containerMeta = {};
|
|
394
|
+
let metaMatch = null;
|
|
395
|
+
if (!containerMatch) {
|
|
396
|
+
metaMatch = trimmed.match(CONTAINER_META_RE);
|
|
397
|
+
if (metaMatch) {
|
|
398
|
+
containerMeta = parseC4MetaTail(metaMatch[2], metaAliasMap);
|
|
399
|
+
if (Object.keys(containerMeta).length === 0) metaMatch = null;
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
if (containerMatch || metaMatch) {
|
|
403
|
+
const groupName = (containerMatch ?? metaMatch)[1].trim();
|
|
404
|
+
const groupCollapsed = containerMatch !== null && (containerMatch[2] !== void 0 || containerMatch[3]?.toLowerCase() === "true");
|
|
395
405
|
const parentEntry = findParentElement(indent, stack);
|
|
396
406
|
if (parentEntry) {
|
|
397
407
|
const group = {
|
|
398
408
|
name: groupName,
|
|
399
409
|
children: [],
|
|
400
410
|
...groupCollapsed && { collapsed: true },
|
|
411
|
+
...Object.keys(containerMeta).length > 0 && {
|
|
412
|
+
metadata: containerMeta
|
|
413
|
+
},
|
|
401
414
|
lineNumber
|
|
402
415
|
};
|
|
403
416
|
parentEntry.element.groups.push(group);
|
|
@@ -849,4 +862,4 @@ function validateDeploymentRefs(result, knownNames, pushWarning) {
|
|
|
849
862
|
export {
|
|
850
863
|
parseC4
|
|
851
864
|
};
|
|
852
|
-
//# sourceMappingURL=chunk-
|
|
865
|
+
//# sourceMappingURL=chunk-IEK2FUWO.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTagBlockHeading
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O2HU4AQN.js";
|
|
4
4
|
import {
|
|
5
5
|
OPTION_NOCOLON_RE,
|
|
6
6
|
measureIndent,
|
|
7
7
|
parseFirstLine,
|
|
8
8
|
tryParseSharedOption
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4CA7TJ44.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDgmoError,
|
|
12
12
|
makeDgmoError
|
|
@@ -690,4 +690,4 @@ export {
|
|
|
690
690
|
resetWireframeIds,
|
|
691
691
|
parseWireframe
|
|
692
692
|
};
|
|
693
|
-
//# sourceMappingURL=chunk-
|
|
693
|
+
//# sourceMappingURL=chunk-IZK2H4KU.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
splitNameAndMeta,
|
|
6
6
|
tryParseSharedOption,
|
|
7
7
|
warnUnknownMetaKeys
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4CA7TJ44.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-JOG6W3VS.js.map
|
|
@@ -16,22 +16,22 @@ import {
|
|
|
16
16
|
measureText,
|
|
17
17
|
truncateText,
|
|
18
18
|
wrapTextToWidth
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-YC6GVLTI.js";
|
|
20
20
|
import {
|
|
21
21
|
allTasks
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZZZJVDIL.js";
|
|
23
23
|
import {
|
|
24
24
|
VARIANTS
|
|
25
25
|
} from "./chunk-MSVQ2YCY.js";
|
|
26
26
|
import {
|
|
27
27
|
fillModeFromOptions,
|
|
28
28
|
legendSuppressed
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4CA7TJ44.js";
|
|
30
30
|
import {
|
|
31
31
|
contrastText,
|
|
32
32
|
mix,
|
|
33
33
|
themeBaseBg
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
35
35
|
|
|
36
36
|
// src/raci/renderer.ts
|
|
37
37
|
import * as d3Selection from "d3-selection";
|
|
@@ -859,4 +859,4 @@ export {
|
|
|
859
859
|
renderRaci,
|
|
860
860
|
renderRaciForExport
|
|
861
861
|
};
|
|
862
|
-
//# sourceMappingURL=chunk-
|
|
862
|
+
//# sourceMappingURL=chunk-JTLLQT34.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mix
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveColor
|
|
6
6
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -32,4 +32,4 @@ function buildSwatches(palette, muted) {
|
|
|
32
32
|
export {
|
|
33
33
|
buildSwatches
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-K3K7JHZI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
measureText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YC6GVLTI.js";
|
|
4
4
|
import {
|
|
5
5
|
formatDuration,
|
|
6
6
|
formatScheduleValue,
|
|
@@ -603,4 +603,4 @@ export {
|
|
|
603
603
|
layoutPert,
|
|
604
604
|
relayoutPert
|
|
605
605
|
};
|
|
606
|
-
//# sourceMappingURL=chunk-
|
|
606
|
+
//# sourceMappingURL=chunk-KHRZCKKG.js.map
|
|
@@ -18,24 +18,24 @@ import {
|
|
|
18
18
|
} from "./chunk-VSPNH7LC.js";
|
|
19
19
|
import {
|
|
20
20
|
renderIntegratedLegend
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-253E5ISJ.js";
|
|
22
22
|
import {
|
|
23
23
|
FONT_FAMILY
|
|
24
24
|
} from "./chunk-ICLB27PZ.js";
|
|
25
25
|
import {
|
|
26
26
|
LEGEND_HEIGHT
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-CKDYRVOC.js";
|
|
28
28
|
import {
|
|
29
29
|
measureText,
|
|
30
30
|
wrapTextToWidth
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-YC6GVLTI.js";
|
|
32
32
|
import {
|
|
33
33
|
fillModeFromOptions
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4CA7TJ44.js";
|
|
35
35
|
import {
|
|
36
36
|
contrastText,
|
|
37
37
|
shapeFill
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveColor
|
|
41
41
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -989,4 +989,4 @@ export {
|
|
|
989
989
|
renderCycle,
|
|
990
990
|
renderCycleForExport
|
|
991
991
|
};
|
|
992
|
-
//# sourceMappingURL=chunk-
|
|
992
|
+
//# sourceMappingURL=chunk-KIF4UFD2.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-VSPNH7LC.js";
|
|
11
11
|
import {
|
|
12
12
|
renderIntegratedLegend
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-253E5ISJ.js";
|
|
14
14
|
import {
|
|
15
15
|
getMaxLegendReservedHeight
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LLZVRWVS.js";
|
|
17
17
|
import {
|
|
18
18
|
FONT_FAMILY
|
|
19
19
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -21,16 +21,16 @@ import {
|
|
|
21
21
|
measureText,
|
|
22
22
|
truncateText,
|
|
23
23
|
wrapTextToWidth
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-YC6GVLTI.js";
|
|
25
25
|
import {
|
|
26
26
|
fillModeFromOptions,
|
|
27
27
|
legendSuppressed
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4CA7TJ44.js";
|
|
29
29
|
import {
|
|
30
30
|
contrastText,
|
|
31
31
|
mix,
|
|
32
32
|
shapeFill
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
34
34
|
|
|
35
35
|
// src/tech-radar/renderer.ts
|
|
36
36
|
import * as d3Selection2 from "d3-selection";
|
|
@@ -1624,4 +1624,4 @@ export {
|
|
|
1624
1624
|
renderTechRadar,
|
|
1625
1625
|
renderTechRadarForExport
|
|
1626
1626
|
};
|
|
1627
|
-
//# sourceMappingURL=chunk-
|
|
1627
|
+
//# sourceMappingURL=chunk-KYK6PMB5.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutOrg
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HJ5DKZPO.js";
|
|
4
4
|
import {
|
|
5
5
|
renderCollapseBar,
|
|
6
6
|
renderNodeCard
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F66R7CPY.js";
|
|
8
8
|
import {
|
|
9
9
|
ScaleContext
|
|
10
10
|
} from "./chunk-24YPR5EH.js";
|
|
@@ -35,10 +35,10 @@ import {
|
|
|
35
35
|
} from "./chunk-VSPNH7LC.js";
|
|
36
36
|
import {
|
|
37
37
|
renderIntegratedLegend
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-253E5ISJ.js";
|
|
39
39
|
import {
|
|
40
40
|
getMaxLegendReservedHeight
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-LLZVRWVS.js";
|
|
42
42
|
import {
|
|
43
43
|
FONT_FAMILY
|
|
44
44
|
} from "./chunk-ICLB27PZ.js";
|
|
@@ -48,26 +48,26 @@ import {
|
|
|
48
48
|
LEGEND_EYE_GAP,
|
|
49
49
|
LEGEND_EYE_SIZE,
|
|
50
50
|
LEGEND_HEIGHT
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CKDYRVOC.js";
|
|
52
52
|
import {
|
|
53
53
|
measureText
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YC6GVLTI.js";
|
|
55
55
|
import {
|
|
56
56
|
parseOrg
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-AFOHIR2O.js";
|
|
58
58
|
import {
|
|
59
59
|
resolveTagColor,
|
|
60
60
|
tagAttrKey
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-O2HU4AQN.js";
|
|
62
62
|
import {
|
|
63
63
|
fillModeFromOptions
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-4CA7TJ44.js";
|
|
65
65
|
import {
|
|
66
66
|
contrastText,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
67
|
+
groupFill,
|
|
68
|
+
groupStroke,
|
|
69
|
+
shapeFill
|
|
70
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
71
71
|
|
|
72
72
|
// src/org/renderer.ts
|
|
73
73
|
import * as d3Selection from "d3-selection";
|
|
@@ -93,13 +93,10 @@ function nodeStroke(palette, nodeColor) {
|
|
|
93
93
|
return nodeColor ?? palette.primary;
|
|
94
94
|
}
|
|
95
95
|
function containerFill(palette, isDark, nodeColor) {
|
|
96
|
-
|
|
97
|
-
return mix(nodeColor, themeBaseBg(palette, isDark), 10);
|
|
98
|
-
}
|
|
99
|
-
return mix(palette.surface, palette.bg, 40);
|
|
96
|
+
return groupFill(palette, isDark, nodeColor);
|
|
100
97
|
}
|
|
101
98
|
function containerStroke(palette, nodeColor) {
|
|
102
|
-
return nodeColor
|
|
99
|
+
return groupStroke(palette, nodeColor);
|
|
103
100
|
}
|
|
104
101
|
function renderOrg(container, parsed, layout, palette, isDark, onClickItem, exportDims, activeTagGroup, hiddenAttributes, ancestorPath, exportMode) {
|
|
105
102
|
d3Selection.select(container).selectAll(":not([data-d3-tooltip])").remove();
|
|
@@ -493,4 +490,4 @@ export {
|
|
|
493
490
|
renderOrg,
|
|
494
491
|
renderOrgForExport
|
|
495
492
|
};
|
|
496
|
-
//# sourceMappingURL=chunk-
|
|
493
|
+
//# sourceMappingURL=chunk-LJ7X6ZNV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tryCollectNote
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7I6NWTPE.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveNotes
|
|
6
6
|
} from "./chunk-E6PNTYRK.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
tagAttrKey,
|
|
21
21
|
validateTagGroupNames,
|
|
22
22
|
validateTagValues
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-O2HU4AQN.js";
|
|
24
24
|
import {
|
|
25
25
|
AliasRegistry,
|
|
26
26
|
ER_REGISTRY,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
tryParseSharedOption,
|
|
35
35
|
warnUnknownMetaKeys,
|
|
36
36
|
withTagAliases
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4CA7TJ44.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveColorWithDiagnostic
|
|
40
40
|
} from "./chunk-XOGQY4EC.js";
|
|
@@ -559,4 +559,4 @@ export {
|
|
|
559
559
|
looksLikeERDiagram,
|
|
560
560
|
extractSymbols
|
|
561
561
|
};
|
|
562
|
-
//# sourceMappingURL=chunk-
|
|
562
|
+
//# sourceMappingURL=chunk-LLYHYPYG.js.map
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
LEGEND_TOGGLE_DOT_R,
|
|
14
14
|
measureLegendText,
|
|
15
15
|
truncateLegendText
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CKDYRVOC.js";
|
|
17
17
|
|
|
18
18
|
// src/utils/number-format.ts
|
|
19
19
|
function compactNumber(n) {
|
|
@@ -577,4 +577,4 @@ export {
|
|
|
577
577
|
getMaxLegendReservedHeight,
|
|
578
578
|
getLegendExtent
|
|
579
579
|
};
|
|
580
|
-
//# sourceMappingURL=chunk-
|
|
580
|
+
//# sourceMappingURL=chunk-LLZVRWVS.js.map
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
fillModeFromToken,
|
|
17
17
|
measureIndent,
|
|
18
18
|
parseFirstLine
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4CA7TJ44.js";
|
|
20
20
|
import {
|
|
21
21
|
makeDgmoError,
|
|
22
22
|
makeFail
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
targetToMs2 as targetToMs,
|
|
425
425
|
parseCountdown
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-LXTMP3VT.js.map
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-26EVL454.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutGraph
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3BN3WCUD.js";
|
|
7
7
|
import {
|
|
8
8
|
NOTE_BADGE_RADIUS,
|
|
9
9
|
noteConnectorPoints,
|
|
10
10
|
renderNoteBadge,
|
|
11
11
|
renderNoteBox,
|
|
12
12
|
renderNoteConnector
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-37NDM5NW.js";
|
|
14
14
|
import {
|
|
15
15
|
appendArrowheadMarkers
|
|
16
16
|
} from "./chunk-XBJJP2HN.js";
|
|
@@ -40,17 +40,17 @@ import {
|
|
|
40
40
|
} from "./chunk-ICLB27PZ.js";
|
|
41
41
|
import {
|
|
42
42
|
measureText
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YC6GVLTI.js";
|
|
44
44
|
import {
|
|
45
45
|
parseFlowchart
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3KNA7OIO.js";
|
|
47
47
|
import {
|
|
48
48
|
fillModeFromOptions
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-4CA7TJ44.js";
|
|
50
50
|
import {
|
|
51
51
|
contrastText,
|
|
52
52
|
shapeFill
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-AMQFJ7P7.js";
|
|
54
54
|
|
|
55
55
|
// src/graph/flowchart-renderer.ts
|
|
56
56
|
import * as d3Selection from "d3-selection";
|
|
@@ -588,4 +588,4 @@ export {
|
|
|
588
588
|
renderFlowchart,
|
|
589
589
|
renderFlowchartForExport
|
|
590
590
|
};
|
|
591
|
-
//# sourceMappingURL=chunk-
|
|
591
|
+
//# sourceMappingURL=chunk-MDUCF376.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
normalizeNumericToken,
|
|
6
6
|
parseFirstLine,
|
|
7
7
|
tryParseSharedOption
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4CA7TJ44.js";
|
|
9
9
|
import {
|
|
10
10
|
makeDgmoError,
|
|
11
11
|
makeFail
|
|
@@ -158,4 +158,4 @@ function parseGoal(content, palette) {
|
|
|
158
158
|
export {
|
|
159
159
|
parseGoal
|
|
160
160
|
};
|
|
161
|
-
//# sourceMappingURL=chunk-
|
|
161
|
+
//# sourceMappingURL=chunk-MQAD75AY.js.map
|