@diagrammo/dgmo 0.60.0 → 0.62.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 +1 -1
- package/dist/advanced.d.ts +382 -396
- package/dist/advanced.js +217 -105
- package/dist/auto.js +142 -141
- package/dist/block.js +51 -106
- package/dist/{calculator-ORAKSL5D.js → calculator-M326KQFW.js} +3 -3
- package/dist/{chart-meta-C6UaqhTP.d.ts → chart-meta-D98NbYDp.d.ts} +9 -3
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +44 -46
- package/dist/{charts-d3-FSNSASP7.js → charts-d3-3WMDA5Z5.js} +6 -6
- package/dist/{chunk-ON4MEUC4.js → chunk-23RWHHI5.js} +11 -2
- package/dist/{chunk-SLGHGT76.js → chunk-2CMM36O7.js} +2 -2
- package/dist/{chunk-XVOGT46C.js → chunk-2PTK46E2.js} +2 -2
- package/dist/{chunk-DXSRQLD4.js → chunk-37EHGTQ2.js} +2205 -2019
- package/dist/{chunk-4IFPX4J6.js → chunk-3A2HZBFD.js} +2 -2
- package/dist/{chunk-OJD4FU6H.js → chunk-3A7KMF33.js} +2 -2
- package/dist/{chunk-DKCEG3N6.js → chunk-3HYRJAXO.js} +4 -4
- package/dist/{chunk-V5OBLPLA.js → chunk-3OLO2MZ6.js} +4 -4
- package/dist/{chunk-P3343TTF.js → chunk-3PVUGECM.js} +95 -117
- package/dist/{chunk-Y5KXCKI5.js → chunk-4BEAHH6G.js} +5 -5
- package/dist/{chunk-ZPUVAJTW.js → chunk-4C3BTTOL.js} +4 -4
- package/dist/{chunk-EKKS325Q.js → chunk-4GQ6I46C.js} +2 -2
- package/dist/{chunk-4B5YISOR.js → chunk-536EBUPG.js} +16 -1
- package/dist/{chunk-DKG2ADEN.js → chunk-63WPPHOM.js} +2 -2
- package/dist/{chunk-I53E3L5M.js → chunk-65QX6LYT.js} +3 -3
- package/dist/{chunk-243KZTTS.js → chunk-6BVIZW5N.js} +7 -7
- package/dist/{chunk-6RR4XUOB.js → chunk-7BJQUII6.js} +6 -6
- package/dist/{chunk-X5CJAFZF.js → chunk-7FTGNJQ2.js} +3 -3
- package/dist/{chunk-PTYUSRGT.js → chunk-7QCYHZVO.js} +5 -5
- package/dist/{chunk-ZU2EXJEL.js → chunk-A34FVVVI.js} +2 -2
- package/dist/{chunk-BGBGWFUI.js → chunk-A5FNLWKP.js} +3 -3
- package/dist/{chunk-BG23Y7JD.js → chunk-AFCVHK3G.js} +3 -3
- package/dist/{chunk-QMKFLQL4.js → chunk-AKD3YZ54.js} +3 -3
- package/dist/{chunk-BVPRRSMX.js → chunk-B25BEH3F.js} +3 -3
- package/dist/{chunk-GCZQAT4Z.js → chunk-CHOKOYSC.js} +3 -3
- package/dist/{chunk-2NSR6INI.js → chunk-CSUF6PNF.js} +3 -3
- package/dist/{chunk-ZTSBP3AH.js → chunk-CUYDE77F.js} +3 -3
- package/dist/{chunk-VHO3YBTB.js → chunk-CVVICCSB.js} +24 -2
- package/dist/{chunk-K5L3LXT3.js → chunk-DHIBVN2D.js} +104 -93
- package/dist/{chunk-ZBOSGLES.js → chunk-DJC5M7VC.js} +3 -3
- package/dist/{chunk-6XWZKCVS.js → chunk-DPFCFU2K.js} +3 -3
- package/dist/{chunk-CDIBHGPW.js → chunk-DY4VJYG7.js} +3 -3
- package/dist/{chunk-32G7X6BX.js → chunk-DZZWR6GT.js} +6 -6
- package/dist/{chunk-6YY56KU2.js → chunk-E2GEV3BI.js} +3 -3
- package/dist/{chunk-PSWWCLLI.js → chunk-EK4QX7NQ.js} +3 -3
- package/dist/{chunk-N4NFZIXE.js → chunk-FVYHDZ6Q.js} +2 -2
- package/dist/{chunk-DC3EBYIG.js → chunk-FXLGBUIQ.js} +5 -5
- package/dist/{chunk-VVCYOF3P.js → chunk-HBSKE3ML.js} +3 -3
- package/dist/{chunk-IO436ODZ.js → chunk-HJ6TMHQG.js} +4 -4
- package/dist/{chunk-6F74K4JL.js → chunk-I7IQ2NEJ.js} +3 -3
- package/dist/{chunk-VGFUVFJA.js → chunk-IL5UVUMK.js} +3 -3
- package/dist/{chunk-S5OQWV54.js → chunk-INLEOJIX.js} +2 -2
- package/dist/{chunk-35SOKGIP.js → chunk-JU2VMFYC.js} +2 -2
- package/dist/{chunk-DDQ47BMP.js → chunk-JWJBWNQL.js} +3 -3
- package/dist/{chunk-ZJR2YBVN.js → chunk-KOHIF4LD.js} +2 -2
- package/dist/{chunk-CWOKQSBQ.js → chunk-KRTO7NRK.js} +2 -2
- package/dist/{chunk-TL6WZWSZ.js → chunk-LALFMQ7Q.js} +2 -2
- package/dist/{chunk-MROSEZHE.js → chunk-LFAQ4BLZ.js} +3 -3
- package/dist/{chunk-EYP34TFP.js → chunk-LQR46XGR.js} +2 -2
- package/dist/{chunk-QABZKAKF.js → chunk-LRKGF7RN.js} +6 -6
- package/dist/{chunk-LLA5C2TM.js → chunk-MDI5FMWO.js} +2 -2
- package/dist/{chunk-GZAKQDX7.js → chunk-MRD4QWFK.js} +3 -3
- package/dist/{chunk-EZGWUS5G.js → chunk-NEV5IW33.js} +5 -5
- package/dist/{chunk-HQI7S72D.js → chunk-NKRVFQGO.js} +4 -4
- package/dist/{chunk-V5PHEH2M.js → chunk-NMIWEUIG.js} +2 -2
- package/dist/{chunk-OSXJY6SY.js → chunk-NSJK7F2V.js} +3 -3
- package/dist/{chunk-6KWE5553.js → chunk-O42EAZUV.js} +3 -3
- package/dist/{chunk-LXUBC5H4.js → chunk-OIK6Y2EJ.js} +5 -5
- package/dist/{chunk-EQGLGTU2.js → chunk-OLPWKS5L.js} +3 -3
- package/dist/{chunk-IXY2IPOW.js → chunk-P2PUWV3Y.js} +233 -58
- package/dist/{chunk-4VFQPEC6.js → chunk-PFGJ7SCM.js} +6 -6
- package/dist/{chunk-DNSEG6P2.js → chunk-PJDX4IKR.js} +2 -2
- package/dist/{chunk-JAHV7RFV.js → chunk-PTKCX5ZE.js} +4 -4
- package/dist/{chunk-U5UKFXHB.js → chunk-Q3XVMFVF.js} +2 -2
- package/dist/{chunk-SJT4W23S.js → chunk-QE4GTFZS.js} +2 -2
- package/dist/{chunk-TR7WNZFJ.js → chunk-QFNRHY62.js} +3 -3
- package/dist/{chunk-R53THUTP.js → chunk-QMYJO4EL.js} +4 -4
- package/dist/{chunk-IH3GHOHU.js → chunk-QQADQBKG.js} +4 -4
- package/dist/{chunk-TDZRLG7I.js → chunk-RF5YDIYT.js} +2 -2
- package/dist/{chunk-HFOSP6E2.js → chunk-RKTIIU7Z.js} +3 -3
- package/dist/{chunk-SEDLXFTX.js → chunk-SBOG6R6A.js} +4 -4
- package/dist/{chunk-T7FMXKIG.js → chunk-SF3JAWMY.js} +3 -3
- package/dist/{chunk-GSSCUREO.js → chunk-SMHTYVMK.js} +6 -6
- package/dist/{chunk-SQLVM3G7.js → chunk-SR7NGZNM.js} +4 -4
- package/dist/{chunk-VGCL263O.js → chunk-SSR6JAR3.js} +2 -2
- package/dist/{chunk-HPNOT5GQ.js → chunk-TJCHULP5.js} +2 -2
- package/dist/{chunk-PLDCXGLQ.js → chunk-TRP7PC5Z.js} +5 -5
- package/dist/{chunk-3O3W2JS2.js → chunk-U42ZEK7L.js} +2 -2
- package/dist/{chunk-UYY7MVJK.js → chunk-U7CXUGQS.js} +3 -3
- package/dist/{chunk-IOUUQLDE.js → chunk-UKZ7K5GS.js} +2 -2
- package/dist/{chunk-X5AIFXB7.js → chunk-USHDV2AF.js} +4 -4
- package/dist/{chunk-TJV3J74Y.js → chunk-UTOELEK2.js} +3 -3
- package/dist/{chunk-E5G55SYS.js → chunk-UZ3JPYD3.js} +3 -3
- package/dist/{chunk-ZP2FV4WO.js → chunk-VWCGN2ST.js} +3 -3
- package/dist/{chunk-W2Z4KS72.js → chunk-VXBEG3IB.js} +3 -3
- package/dist/{chunk-Z4RFILRE.js → chunk-W32HMBPW.js} +3 -3
- package/dist/{chunk-KZFAEMQQ.js → chunk-X2X7MTKH.js} +3 -3
- package/dist/{chunk-5USRKIR3.js → chunk-X4FCKGK2.js} +4 -4
- package/dist/{chunk-MM4Z32EH.js → chunk-XC7BUB3P.js} +2 -2
- package/dist/{chunk-XS7CL7NX.js → chunk-XHFXA6RP.js} +2 -2
- package/dist/{chunk-JQDZHYGU.js → chunk-XJZCXNWR.js} +3 -3
- package/dist/{chunk-XZXXSZ7E.js → chunk-YJCILMEA.js} +4 -4
- package/dist/{chunk-GSVHOF3J.js → chunk-YXI6Y7YY.js} +2 -2
- package/dist/cloud-reference.d.ts +24 -4
- package/dist/cloud-reference.js +5 -1
- package/dist/completion-registry.js +5 -7
- package/dist/{registry-C0HvobTb.d.ts → dgmo-router-Dd5PTjxl.d.ts} +271 -98
- package/dist/dgmo-router-Z5N6QLIC.js +89 -0
- package/dist/{dimensions-PC6WLKCC.js → dimensions-ES6O2T4H.js} +6 -6
- package/dist/editor.d.ts +9 -2
- package/dist/editor.js +229 -57
- package/dist/element.js +143 -142
- package/dist/{flowchart-parser-PZQY2UC4.js → flowchart-parser-T4XZRSA7.js} +4 -4
- package/dist/{flowchart-renderer-RS6IRRE7.js → flowchart-renderer-XFDCX7MZ.js} +5 -5
- package/dist/highlight.js +229 -57
- package/dist/index.d.ts +21 -10
- package/dist/index.js +55 -66
- package/dist/{layout-GKWT37FH.js → layout-H4H4OFE4.js} +3 -3
- package/dist/{layout-W423CCED.js → layout-OH4VQ3OI.js} +4 -4
- package/dist/{layout-LH6LNIUV.js → layout-QTZO6CW5.js} +3 -3
- package/dist/{layout-AUAW5U74.js → layout-SKQMIXTG.js} +4 -4
- package/dist/{layout-GU6POUGD.js → layout-UU4VJTOP.js} +4 -4
- package/dist/{layout-MNQZ3Q45.js → layout-WCOEZPOI.js} +4 -4
- package/dist/live-link-resolve.js +1 -1
- package/dist/{parser-NJGZF5MK.js → parser-2BGDJJ2L.js} +5 -5
- package/dist/{parser-3QHLZK6F.js → parser-2K4Z7RNT.js} +3 -3
- package/dist/{parser-6HT34DZ3.js → parser-3KFNCRLD.js} +4 -4
- package/dist/{parser-WXZU47Z4.js → parser-4CMMKTRS.js} +3 -3
- package/dist/{parser-BNGLB2VS.js → parser-56746U6W.js} +4 -4
- package/dist/{parser-56HMQG5C.js → parser-5JS6VM6L.js} +5 -5
- package/dist/{parser-2OJSWKXO.js → parser-5ZUEF4WE.js} +4 -4
- package/dist/{parser-7C5GZCAU.js → parser-63BQDUWB.js} +4 -4
- package/dist/{parser-TPCKCQ4Z.js → parser-6VNVZO5F.js} +4 -4
- package/dist/{parser-6S65S3DX.js → parser-AZZHRVJF.js} +4 -4
- package/dist/{parser-WI2B7IL3.js → parser-BGX5ODHF.js} +3 -3
- package/dist/{parser-TABGTEHH.js → parser-DLUOCPMD.js} +3 -3
- package/dist/{parser-CXLR6MAY.js → parser-DSNINT2K.js} +3 -3
- package/dist/{parser-RMUGOZO3.js → parser-FTC7FZ6Z.js} +4 -4
- package/dist/{parser-5I7W54EA.js → parser-GHLWPCIX.js} +4 -4
- package/dist/{parser-BVC642CN.js → parser-J75RSQFI.js} +4 -4
- package/dist/{parser-IWQQY5VU.js → parser-JZPSIWRC.js} +4 -4
- package/dist/{parser-QCSDU4FU.js → parser-KN7H2RQC.js} +3 -3
- package/dist/{parser-4QYDFXV2.js → parser-KRF4S5RW.js} +4 -4
- package/dist/{parser-4OU5P3BM.js → parser-KSIYWKYF.js} +4 -4
- package/dist/{parser-UB6XGLTC.js → parser-MCUKPCYE.js} +4 -4
- package/dist/{parser-G7KP6LZH.js → parser-MUYBWGUB.js} +3 -3
- package/dist/{parser-QCYEJOLZ.js → parser-NWERESX3.js} +4 -4
- package/dist/{parser-63LK7YBR.js → parser-OEBFJHT4.js} +5 -5
- package/dist/{parser-DROHJTBZ.js → parser-P7T2BGAI.js} +4 -4
- package/dist/{parser-7W7DPIGR.js → parser-RAKD267X.js} +4 -4
- package/dist/{parser-AD5OAVX6.js → parser-RBY2UFTE.js} +3 -3
- package/dist/{parser-5BHZMV3O.js → parser-SRUPRH77.js} +4 -4
- package/dist/{parser-QJ7XK7AB.js → parser-SSUMVOJA.js} +4 -4
- package/dist/{parser-BLCDJB7N.js → parser-UKQC7N6K.js} +4 -4
- package/dist/{parser-AWO3N6YH.js → parser-VMGTNHP2.js} +3 -3
- package/dist/{parser-55CSWK3N.js → parser-WHDC7OV2.js} +4 -4
- package/dist/{parser-453DEZ4P.js → parser-YO2JBE52.js} +4 -4
- package/dist/{renderer-G24W6J6H.js → renderer-2DKA5QXA.js} +4 -4
- package/dist/{renderer-66YB63F4.js → renderer-2PGIIOFN.js} +7 -7
- package/dist/{renderer-RH5OJ6Q6.js → renderer-35F3XMZH.js} +5 -5
- package/dist/{renderer-3Z5MSBWR.js → renderer-4RQ5PGHY.js} +6 -6
- package/dist/{renderer-LGSSP3JI.js → renderer-62FFDWMY.js} +6 -6
- package/dist/{renderer-SHMFNFE4.js → renderer-63MLWS6L.js} +7 -7
- package/dist/{renderer-GFZT6Q5F.js → renderer-6QW5OAJG.js} +5 -5
- package/dist/renderer-A5GFW2XH.js +76 -0
- package/dist/{renderer-H5C2JN62.js → renderer-AMCTCBV3.js} +5 -5
- package/dist/{renderer-PGMTAQIE.js → renderer-AS6LLDZM.js} +5 -5
- package/dist/{renderer-YYG4LYKS.js → renderer-AVR3LBTS.js} +6 -6
- package/dist/{renderer-LPQUBMXZ.js → renderer-BBBN7QNX.js} +4 -4
- package/dist/{renderer-DQLSUTSU.js → renderer-CHHYNEK7.js} +5 -5
- package/dist/{renderer-J76L474X.js → renderer-CU6BEHHV.js} +3 -3
- package/dist/{renderer-NE2GQBAU.js → renderer-CXRSD26Q.js} +7 -7
- package/dist/{renderer-JO27QMZB.js → renderer-DJ5DP3RH.js} +5 -5
- package/dist/{renderer-ZMAPGMF2.js → renderer-DRLZELXM.js} +5 -5
- package/dist/{renderer-BTFZWWIG.js → renderer-GESKWINV.js} +7 -7
- package/dist/{renderer-RB4FJJYN.js → renderer-IG5PQXEM.js} +7 -7
- package/dist/{renderer-PTLCAUC6.js → renderer-JBF2PAVP.js} +5 -5
- package/dist/{renderer-RRIXAQSF.js → renderer-JL7L5Y5M.js} +5 -5
- package/dist/{renderer-A3QD5R2C.js → renderer-JSFWNV37.js} +6 -6
- package/dist/{renderer-U55GLRDJ.js → renderer-M7YOXAGC.js} +3 -3
- package/dist/{renderer-5INUWSXC.js → renderer-Q2YHQQSN.js} +8 -8
- package/dist/{renderer-2HFRMVHO.js → renderer-RN5ZFIEK.js} +6 -6
- package/dist/{renderer-CQWF3JE3.js → renderer-TDFRMG3O.js} +3 -3
- package/dist/{renderer-MFD57VGM.js → renderer-UTXVIAS7.js} +5 -5
- package/dist/{renderer-S7ZTD4XM.js → renderer-VYMTBSF4.js} +7 -7
- package/dist/{renderer-NVT3RP5Q.js → renderer-XSHOMUJQ.js} +7 -7
- package/dist/{renderer-T4DY572A.js → renderer-ZHBFOSK5.js} +5 -5
- package/dist/{renderer-radial-2DDUIUWA.js → renderer-radial-4J2KO4GZ.js} +6 -6
- package/dist/{resolver-W3WKLWDP.js → resolver-ZLYSMILY.js} +3 -3
- package/dist/{state-parser-PNC2IHIA.js → state-parser-3U4232LJ.js} +5 -5
- package/dist/{state-renderer-QGPK55TI.js → state-renderer-GBHDOEXR.js} +7 -7
- package/dist/{themes-l406Vj2z.d.ts → themes-DiUAG4Bf.d.ts} +37 -2
- package/docs/ai-integration.md +5 -5
- package/docs/language-reference.md +1 -1
- package/package.json +2 -21
- package/.claude/commands/dgmo-codebase-report.md +0 -172
- package/.claude/commands/dgmo-diagram-this.md +0 -60
- package/.claude/commands/dgmo-document-project.md +0 -128
- package/.claude/commands/dgmo.md +0 -313
- package/.cursorrules +0 -587
- package/.github/copilot-instructions.md +0 -597
- package/.windsurfrules +0 -587
- package/SKILL.md +0 -573
- package/dist/auto.d.ts +0 -60
- package/dist/auto.mjs +0 -88591
- package/dist/chunk-6MTWIQVO.js +0 -121
- package/dist/chunk-ZEIYC7XO.js +0 -229
- package/dist/cli.cjs +0 -489
- package/dist/dgmo-router-JD7THHB7.js +0 -90
- package/dist/element.d.ts +0 -68
- package/dist/element.mjs +0 -88457
- package/dist/load-data-EHDDZ5ZS.js +0 -8
- package/dist/renderer-MDCH52MC.js +0 -77
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
extractSymbols,
|
|
3
3
|
looksLikeFlowchart,
|
|
4
4
|
parseFlowchart
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CHOKOYSC.js";
|
|
6
6
|
import "./chunk-7TF3QOOD.js";
|
|
7
7
|
import "./chunk-NXMESY4J.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-QE4GTFZS.js";
|
|
9
9
|
import "./chunk-7NK42OIB.js";
|
|
10
10
|
import "./chunk-RRX4Z4TH.js";
|
|
11
11
|
import "./chunk-NOTA6TEI.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-P2PUWV3Y.js";
|
|
13
13
|
import "./chunk-EXNKNJ65.js";
|
|
14
14
|
import "./chunk-OLMWTJVU.js";
|
|
15
15
|
import "./chunk-5WRI5ZAA.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
looksLikeFlowchart,
|
|
19
19
|
parseFlowchart
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=flowchart-parser-
|
|
21
|
+
//# sourceMappingURL=flowchart-parser-T4XZRSA7.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
renderFlowchart,
|
|
3
3
|
renderFlowchartForExport
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XJZCXNWR.js";
|
|
5
5
|
import "./chunk-PDKUANDZ.js";
|
|
6
6
|
import "./chunk-LSFZDBAP.js";
|
|
7
7
|
import "./chunk-LP7EC4MI.js";
|
|
@@ -17,14 +17,14 @@ import "./chunk-NZ5QVASG.js";
|
|
|
17
17
|
import "./chunk-A4GOY3PE.js";
|
|
18
18
|
import "./chunk-6KFWC4CO.js";
|
|
19
19
|
import "./chunk-4ASYQ347.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-CHOKOYSC.js";
|
|
21
21
|
import "./chunk-7TF3QOOD.js";
|
|
22
22
|
import "./chunk-NXMESY4J.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QE4GTFZS.js";
|
|
24
24
|
import "./chunk-7NK42OIB.js";
|
|
25
25
|
import "./chunk-RRX4Z4TH.js";
|
|
26
26
|
import "./chunk-NOTA6TEI.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-P2PUWV3Y.js";
|
|
28
28
|
import "./chunk-42IT4BG2.js";
|
|
29
29
|
import "./chunk-EXNKNJ65.js";
|
|
30
30
|
import "./chunk-OLMWTJVU.js";
|
|
@@ -33,4 +33,4 @@ export {
|
|
|
33
33
|
renderFlowchart,
|
|
34
34
|
renderFlowchartForExport
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=flowchart-renderer-
|
|
36
|
+
//# sourceMappingURL=flowchart-renderer-XFDCX7MZ.js.map
|
package/dist/highlight.js
CHANGED
|
@@ -420,64 +420,236 @@ var REGISTRY_NON_HIGHLIGHT_TOKENS = tokensWhere(
|
|
|
420
420
|
(e) => !!e.noHighlight
|
|
421
421
|
);
|
|
422
422
|
|
|
423
|
+
// src/chart-types.ts
|
|
424
|
+
var chartTypesData = [
|
|
425
|
+
// ── Tier 1 — Narrative / architecture diagrams ────────────
|
|
426
|
+
{
|
|
427
|
+
id: "journey-map",
|
|
428
|
+
description: "User experience flow with emotion scores, phases, and annotations"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
id: "c4",
|
|
432
|
+
description: "System architecture (context, container, component, deployment)"
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
id: "er",
|
|
436
|
+
description: "Database schemas and relationships"
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
id: "class",
|
|
440
|
+
description: "UML class hierarchies"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
id: "sequence",
|
|
444
|
+
description: "Message request and response interaction flows",
|
|
445
|
+
fallback: true
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
id: "state",
|
|
449
|
+
description: "State machine / lifecycle transitions"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
id: "infra",
|
|
453
|
+
description: "Infrastructure traffic flow with RPS computation"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
id: "gantt",
|
|
457
|
+
description: "Project scheduling with task dependencies and milestones"
|
|
458
|
+
},
|
|
459
|
+
{
|
|
460
|
+
id: "pert",
|
|
461
|
+
description: "Project network with three-point estimates, critical path, and uncertainty (Beta-PERT, Monte Carlo)"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
id: "swimlane",
|
|
465
|
+
description: "Cross-functional process flow with lanes, phases and gateways (BPMN-style)"
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
id: "version-control",
|
|
469
|
+
description: "Git / version-control branch-and-merge graph: commits, branches, merges, rebase, HEAD and remote-tracking (gitGraph-style)"
|
|
470
|
+
},
|
|
471
|
+
// ── Tier 2 — Specialized structural diagrams ──────────────
|
|
472
|
+
{
|
|
473
|
+
id: "timeline",
|
|
474
|
+
description: "Events, eras, and date ranges"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
id: "event-line",
|
|
478
|
+
description: "Annotated narrative timeline \u2014 events on a horizontal line with descriptions (not the date-scaled timeline)"
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
id: "body",
|
|
482
|
+
description: "Human anatomy figure annotated by muscle/bone/joint name \u2014 for medical, exercise, and educational diagrams"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
id: "org",
|
|
486
|
+
description: "Reporting hierarchy"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
id: "family",
|
|
490
|
+
description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
id: "sitemap",
|
|
494
|
+
description: "Site / app navigation structure"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
id: "bracket",
|
|
498
|
+
description: "Single-elimination tournament bracket: winners auto-advance up a tree; seed the field for a day-0 skeleton or list results for a casual bracket, with two sides mirroring inward to a championship"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
id: "kanban",
|
|
502
|
+
description: "Task board columns"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
id: "raci",
|
|
506
|
+
description: "Tasks \xD7 roles responsibility matrix with constraint linting"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
id: "tech-radar",
|
|
510
|
+
description: "Technology adoption quadrants (adopt/trial/assess/hold)"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
id: "mindmap",
|
|
514
|
+
description: "Radial hierarchy of ideas branching from a central topic"
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
id: "wireframe",
|
|
518
|
+
description: "Low-fidelity UI layout with panels, controls, and annotations"
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
id: "cycle",
|
|
522
|
+
description: "Cyclical process visualization (PDCA, OODA, DevOps loops)"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
id: "pyramid",
|
|
526
|
+
description: "Stacked hierarchy of layers with descriptions (Maslow, DIKW)"
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
id: "ring",
|
|
530
|
+
description: "Concentric rings showing nested or hierarchical categories (read core-out)"
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
id: "treemap",
|
|
534
|
+
description: "Nested rectangles sized by value \u2014 show a hierarchy\u2019s proportions (budgets, disk usage, portfolios) with color by category, value heatmap, or branch"
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
id: "block",
|
|
538
|
+
description: "Block diagram: an author-controlled grid of rectangular blocks with nested, collapsible containers \u2014 system/hardware/architecture layouts where the 2-D arrangement is the meaning"
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
id: "sketch",
|
|
542
|
+
description: "GUI-first constrained canvas: uniformly-sized shapes placed freely on a snap grid, arrows between them, meaning through tags \u2014 the markup is generated by the canvas editor"
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
id: "goal",
|
|
546
|
+
description: "Single progress-toward-a-target value (now vs target) as a progress bar, thermometer, or gauge \u2014 KPIs, fundraising, quotas, completion"
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
id: "countdown",
|
|
550
|
+
description: 'Live "N days until X" that ticks every second and is accurate on every load \u2014 trip dates, launches, deadlines; the only dynamic chart type'
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
id: "clock",
|
|
554
|
+
description: "Live world-clock board: current time for people/places across time zones, ticking every second, with optional working-hours status and sundown line"
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
id: "map",
|
|
558
|
+
description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges"
|
|
559
|
+
},
|
|
560
|
+
// ── Tier 3 — Specialized analytical charts ────────────────
|
|
561
|
+
{
|
|
562
|
+
id: "quadrant",
|
|
563
|
+
description: "2x2 positioning matrix"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
id: "venn",
|
|
567
|
+
description: "Set overlaps"
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
id: "funnel",
|
|
571
|
+
description: "Conversion pipeline"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
id: "slope",
|
|
575
|
+
description: "Change between 2 time periods"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
id: "sankey",
|
|
579
|
+
description: "Flow / allocation visualization"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
id: "arc",
|
|
583
|
+
description: "Network relationships (linear or circular via `layout`)"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
id: "wordcloud",
|
|
587
|
+
description: "Term frequency visualization"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
id: "heatmap",
|
|
591
|
+
description: "Matrix intensity visualization"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
id: "function",
|
|
595
|
+
description: "Mathematical expressions"
|
|
596
|
+
},
|
|
597
|
+
// ── Tier 4 — General-purpose data charts ──────────────────
|
|
598
|
+
{
|
|
599
|
+
id: "bar",
|
|
600
|
+
description: "Categorical comparisons for 3 - 5 figures",
|
|
601
|
+
fallback: true
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
id: "line",
|
|
605
|
+
description: "Trends over time",
|
|
606
|
+
fallback: true
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
id: "pie",
|
|
610
|
+
description: "Part-to-whole proportions"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
id: "radar",
|
|
614
|
+
description: "Multi-dimensional metrics"
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
id: "polar-area",
|
|
618
|
+
description: "Radial bar chart"
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
id: "scatter",
|
|
622
|
+
description: "2D data points or bubble chart"
|
|
623
|
+
},
|
|
624
|
+
// ── Tier 5 — Generic catch-alls (listed last on purpose) ──
|
|
625
|
+
{
|
|
626
|
+
id: "flowchart",
|
|
627
|
+
description: "Decision trees and process flows",
|
|
628
|
+
fallback: true
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
id: "boxes-and-lines",
|
|
632
|
+
description: "General-purpose node-edge diagrams with groups and tags",
|
|
633
|
+
fallback: true
|
|
634
|
+
},
|
|
635
|
+
// ── Not a tier — a pointer, not a drawing ─────────────────
|
|
636
|
+
// `live-link` holds no diagram of its own; it names one published to
|
|
637
|
+
// Diagrammo Cloud. Internal (see `internal` above): it arrives by being saved
|
|
638
|
+
// from a shared link, never by being picked from a list. Kept LAST because
|
|
639
|
+
// `chartTypes.slice(0, 8)` is a live window feeding language-reference checks
|
|
640
|
+
// and the generated AI core — any insertion above position 8 shifts it.
|
|
641
|
+
{
|
|
642
|
+
id: "live-link",
|
|
643
|
+
description: "A pointer to a diagram published at Diagrammo Cloud",
|
|
644
|
+
internal: true
|
|
645
|
+
}
|
|
646
|
+
];
|
|
647
|
+
var CHART_TYPE_IDS = chartTypesData.map(
|
|
648
|
+
(c) => c.id
|
|
649
|
+
);
|
|
650
|
+
|
|
423
651
|
// src/editor/keywords.ts
|
|
424
|
-
var CHART_TYPES =
|
|
425
|
-
// Diagram types
|
|
426
|
-
"sequence",
|
|
427
|
-
"flowchart",
|
|
428
|
-
"class",
|
|
429
|
-
"er",
|
|
430
|
-
"org",
|
|
431
|
-
"family",
|
|
432
|
-
"kanban",
|
|
433
|
-
"c4",
|
|
434
|
-
"state",
|
|
435
|
-
"sitemap",
|
|
436
|
-
"bracket",
|
|
437
|
-
"infra",
|
|
438
|
-
"gantt",
|
|
439
|
-
"pert",
|
|
440
|
-
"boxes-and-lines",
|
|
441
|
-
"swimlane",
|
|
442
|
-
"version-control",
|
|
443
|
-
"wireframe",
|
|
444
|
-
"tech-radar",
|
|
445
|
-
"mindmap",
|
|
446
|
-
"journey-map",
|
|
447
|
-
"pyramid",
|
|
448
|
-
"ring",
|
|
449
|
-
"treemap",
|
|
450
|
-
"block",
|
|
451
|
-
"goal",
|
|
452
|
-
"countdown",
|
|
453
|
-
"clock",
|
|
454
|
-
"sketch",
|
|
455
|
-
"raci",
|
|
456
|
-
"cycle",
|
|
457
|
-
// Data chart types
|
|
458
|
-
"bar",
|
|
459
|
-
"line",
|
|
460
|
-
"pie",
|
|
461
|
-
"polar-area",
|
|
462
|
-
"radar",
|
|
463
|
-
"scatter",
|
|
464
|
-
"sankey",
|
|
465
|
-
"function",
|
|
466
|
-
"heatmap",
|
|
467
|
-
"funnel",
|
|
468
|
-
// Visualization types
|
|
469
|
-
"slope",
|
|
470
|
-
"wordcloud",
|
|
471
|
-
"arc",
|
|
472
|
-
"timeline",
|
|
473
|
-
"event-line",
|
|
474
|
-
"venn",
|
|
475
|
-
"quadrant",
|
|
476
|
-
"map",
|
|
477
|
-
"body",
|
|
478
|
-
// Pointer type — internal, but it must still highlight when one is open
|
|
479
|
-
"live-link"
|
|
480
|
-
]);
|
|
652
|
+
var CHART_TYPES = new Set(CHART_TYPE_IDS);
|
|
481
653
|
var TAG_KEYWORD = "tag";
|
|
482
654
|
var DIRECTIVE_KEYWORDS = /* @__PURE__ */ new Set([...REGISTRY_DIRECTIVE_TOKENS]);
|
|
483
655
|
var CONTROL_KEYWORDS = /* @__PURE__ */ new Set([...REGISTRY_CONTROL_TOKENS]);
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { b as
|
|
3
|
-
import { T as Theme } from './themes-
|
|
4
|
-
export { G as Gazetteer, a as GazetteerEntry,
|
|
5
|
-
|
|
6
|
-
declare function getMinDimensions(content: string): {
|
|
7
|
-
width: number;
|
|
8
|
-
height: number;
|
|
9
|
-
};
|
|
1
|
+
import { D as DiagnosticSpec, P as PaletteConfig, C as CompactViewState, a as DgmoError } from './dgmo-router-Dd5PTjxl.js';
|
|
2
|
+
export { b as ChartTypeId, c as ChartTypeMeta, d as DgmoSeverity, e as DiagnosticParams, E as EmitOptions, f as PaletteColors, g as chartTypes, h as emit, i as formatDgmoError, j as getPalette, r as resolvePaletteOrFallback, p as validate } from './dgmo-router-Dd5PTjxl.js';
|
|
3
|
+
import { T as Theme, M as MapDataSource } from './themes-DiUAG4Bf.js';
|
|
4
|
+
export { G as Gazetteer, a as GazetteerEntry, b as MapCompletionOptions, c as MapData, d as MapLocationMatch, e as MapPlaceCompletion, f as MapRegionCompletion, R as RegionName, g as RegionNames, h as completeMapPlaces, i as completeMapRegions, p as palettes, s as searchMapLocations, t as themes } from './themes-DiUAG4Bf.js';
|
|
10
5
|
|
|
11
6
|
/**
|
|
12
7
|
* Make an SVG produced by `@diagrammo/dgmo`'s static `render()` suitable for
|
|
@@ -144,7 +139,23 @@ interface RenderOptions {
|
|
|
144
139
|
*/
|
|
145
140
|
width?: number;
|
|
146
141
|
height?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Basemap assets for `map` charts — the data itself, or a loader returning
|
|
144
|
+
* it. `render()` reads nothing from the filesystem or the network on its own,
|
|
145
|
+
* so this is the only way a map obtains a basemap, and its presence here is
|
|
146
|
+
* what tells a caller whether a render can touch the environment.
|
|
147
|
+
*
|
|
148
|
+
* - Node / CLI / SSR: pass the `loadMapData` loader from
|
|
149
|
+
* `@diagrammo/dgmo/advanced`. It runs only when the content really is a
|
|
150
|
+
* map, so a non-map render never pays to read the assets.
|
|
151
|
+
* - Browser / Worker / Obsidian: pass your bundled `MapData`.
|
|
152
|
+
*
|
|
153
|
+
* Omit it and a map renders empty with an `E_MAP_DATA_NOT_SUPPLIED`
|
|
154
|
+
* diagnostic. Every other chart type ignores this option.
|
|
155
|
+
*/
|
|
156
|
+
mapData?: MapDataSource;
|
|
147
157
|
}
|
|
158
|
+
|
|
148
159
|
interface RenderResult {
|
|
149
160
|
svg: string;
|
|
150
161
|
diagnostics: DgmoError[];
|
|
@@ -193,4 +204,4 @@ interface DecodedDiagramUrl {
|
|
|
193
204
|
*/
|
|
194
205
|
declare function decodeDiagramUrl(url: string): DecodedDiagramUrl | null;
|
|
195
206
|
|
|
196
|
-
export { CompactViewState, D3_DATA_CHART_TYPES, type DataChartInteractionOpts, type DecodedDiagramUrl, DgmoError, DiagnosticSpec, type EncodeDiagramUrlOptions, type MountD3Opts, type MountedD3Chart, type NormalizeSvgForEmbedOptions, PaletteConfig, type RenderOptions, type RenderResult, Theme, attachDataChartInteractions, decodeDiagramUrl, defaultEmbedBackground, encodeDiagramUrl, getDiagnosticSpec, getEmbedSvgViewBox,
|
|
207
|
+
export { CompactViewState, D3_DATA_CHART_TYPES, type DataChartInteractionOpts, type DecodedDiagramUrl, DgmoError, DiagnosticSpec, type EncodeDiagramUrlOptions, MapDataSource, type MountD3Opts, type MountedD3Chart, type NormalizeSvgForEmbedOptions, PaletteConfig, type RenderOptions, type RenderResult, Theme, attachDataChartInteractions, decodeDiagramUrl, defaultEmbedBackground, encodeDiagramUrl, getDiagnosticSpec, getEmbedSvgViewBox, listDiagnosticCodes, mountD3DataChart, normalizeSvgForEmbed, render, supportsD3DataChart };
|
package/dist/index.js
CHANGED
|
@@ -9,29 +9,29 @@ import {
|
|
|
9
9
|
searchMapLocations,
|
|
10
10
|
themes
|
|
11
11
|
} from "./chunk-SQAG3UXH.js";
|
|
12
|
-
import {
|
|
13
|
-
MAP_DIAGNOSTICS
|
|
14
|
-
} from "./chunk-4B5YISOR.js";
|
|
15
12
|
import {
|
|
16
13
|
render
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DHIBVN2D.js";
|
|
18
15
|
import {
|
|
19
16
|
renderErrorCard
|
|
20
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LFAQ4BLZ.js";
|
|
18
|
+
import {
|
|
19
|
+
MAP_DIAGNOSTICS
|
|
20
|
+
} from "./chunk-536EBUPG.js";
|
|
21
21
|
import {
|
|
22
22
|
D3_DATA_CHART_TYPES,
|
|
23
23
|
renderDataChartD3,
|
|
24
24
|
supportsD3DataChart
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-4C3BTTOL.js";
|
|
26
|
+
import "./chunk-CVVICCSB.js";
|
|
27
|
+
import "./chunk-3OLO2MZ6.js";
|
|
28
28
|
import "./chunk-YRYKTYMQ.js";
|
|
29
29
|
import "./chunk-YYVTBZZC.js";
|
|
30
30
|
import "./chunk-CQ7Y3O67.js";
|
|
31
31
|
import "./chunk-6VJCURWU.js";
|
|
32
32
|
import "./chunk-NZ5QVASG.js";
|
|
33
33
|
import "./chunk-A4GOY3PE.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-UKZ7K5GS.js";
|
|
35
35
|
import "./chunk-ES66QH6J.js";
|
|
36
36
|
import "./chunk-6KFWC4CO.js";
|
|
37
37
|
import "./chunk-SCJ7CAJF.js";
|
|
@@ -41,93 +41,91 @@ import {
|
|
|
41
41
|
encodeDiagramUrl
|
|
42
42
|
} from "./chunk-U7VO6JAA.js";
|
|
43
43
|
import {
|
|
44
|
-
REGISTRY_BY_ID,
|
|
45
44
|
parseDgmo
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
45
|
+
} from "./chunk-3PVUGECM.js";
|
|
46
|
+
import "./chunk-2CMM36O7.js";
|
|
48
47
|
import "./chunk-A2RUBBVT.js";
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-JWJBWNQL.js";
|
|
49
|
+
import "./chunk-RF5YDIYT.js";
|
|
51
50
|
import {
|
|
52
51
|
BODY_DIAGNOSTICS
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
52
|
+
} from "./chunk-U7CXUGQS.js";
|
|
53
|
+
import "./chunk-XC7BUB3P.js";
|
|
55
54
|
import "./chunk-2CW5ZTNH.js";
|
|
56
55
|
import "./chunk-BDXC7MDK.js";
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-LQR46XGR.js";
|
|
57
|
+
import "./chunk-NSJK7F2V.js";
|
|
58
|
+
import "./chunk-YXI6Y7YY.js";
|
|
59
|
+
import "./chunk-LALFMQ7Q.js";
|
|
61
60
|
import {
|
|
62
61
|
TREEMAP_DIAGNOSTICS
|
|
63
|
-
} from "./chunk-
|
|
64
|
-
import "./chunk-
|
|
62
|
+
} from "./chunk-DPFCFU2K.js";
|
|
63
|
+
import "./chunk-CSUF6PNF.js";
|
|
65
64
|
import "./chunk-XSVWUOUZ.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-3A2HZBFD.js";
|
|
66
|
+
import "./chunk-XHFXA6RP.js";
|
|
68
67
|
import "./chunk-OQKP2X3D.js";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-UTOELEK2.js";
|
|
69
|
+
import "./chunk-QQADQBKG.js";
|
|
70
|
+
import "./chunk-AFCVHK3G.js";
|
|
72
71
|
import {
|
|
73
72
|
SKETCH_DIAGNOSTICS
|
|
74
73
|
} from "./chunk-RT7ACF77.js";
|
|
75
74
|
import {
|
|
76
75
|
SWIMLANE_DIAGNOSTICS
|
|
77
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-X2X7MTKH.js";
|
|
78
77
|
import {
|
|
79
78
|
FAMILY_DIAGNOSTICS
|
|
80
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-A5FNLWKP.js";
|
|
81
80
|
import "./chunk-QQJUTGQH.js";
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
81
|
+
import "./chunk-OLPWKS5L.js";
|
|
82
|
+
import "./chunk-NMIWEUIG.js";
|
|
84
83
|
import {
|
|
85
84
|
PERT_DIAGNOSTICS
|
|
86
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-VXBEG3IB.js";
|
|
87
86
|
import "./chunk-3TYUXC7D.js";
|
|
88
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-6BVIZW5N.js";
|
|
89
88
|
import {
|
|
90
89
|
EVENT_LINE_DIAGNOSTICS
|
|
91
|
-
} from "./chunk-
|
|
92
|
-
import "./chunk-
|
|
90
|
+
} from "./chunk-QMYJO4EL.js";
|
|
91
|
+
import "./chunk-4GQ6I46C.js";
|
|
93
92
|
import {
|
|
94
93
|
VERSION_CONTROL_DIAGNOSTICS
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import "./chunk-
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
94
|
+
} from "./chunk-INLEOJIX.js";
|
|
95
|
+
import "./chunk-E2GEV3BI.js";
|
|
96
|
+
import "./chunk-IL5UVUMK.js";
|
|
97
|
+
import "./chunk-I7IQ2NEJ.js";
|
|
98
|
+
import "./chunk-O42EAZUV.js";
|
|
100
99
|
import "./chunk-EQW6HOP4.js";
|
|
101
100
|
import "./chunk-DAOFNU6J.js";
|
|
102
|
-
import "./chunk-
|
|
101
|
+
import "./chunk-65QX6LYT.js";
|
|
103
102
|
import "./chunk-C3Z4DX3V.js";
|
|
104
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-CHOKOYSC.js";
|
|
105
104
|
import {
|
|
106
105
|
GRAPH_DIAGNOSTICS
|
|
107
106
|
} from "./chunk-7TF3QOOD.js";
|
|
108
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-SR7NGZNM.js";
|
|
109
108
|
import "./chunk-NXMESY4J.js";
|
|
110
|
-
import "./chunk-
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-EK4QX7NQ.js";
|
|
110
|
+
import "./chunk-NKRVFQGO.js";
|
|
111
|
+
import "./chunk-QE4GTFZS.js";
|
|
113
112
|
import "./chunk-7NK42OIB.js";
|
|
114
113
|
import {
|
|
115
114
|
ARROW_DIAGNOSTIC_CODES
|
|
116
115
|
} from "./chunk-RRX4Z4TH.js";
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-CUYDE77F.js";
|
|
117
|
+
import "./chunk-DJC5M7VC.js";
|
|
119
118
|
import "./chunk-IYULMRBE.js";
|
|
120
119
|
import "./chunk-NOTA6TEI.js";
|
|
121
|
-
import {
|
|
122
|
-
chartTypes
|
|
123
|
-
} from "./chunk-ZEIYC7XO.js";
|
|
124
120
|
import {
|
|
125
121
|
RACI_DIAGNOSTICS
|
|
126
122
|
} from "./chunk-I55PVEIX.js";
|
|
127
|
-
import "./chunk-
|
|
128
|
-
import "./chunk-
|
|
129
|
-
import
|
|
130
|
-
|
|
123
|
+
import "./chunk-B25BEH3F.js";
|
|
124
|
+
import "./chunk-MDI5FMWO.js";
|
|
125
|
+
import {
|
|
126
|
+
chartTypes
|
|
127
|
+
} from "./chunk-P2PUWV3Y.js";
|
|
128
|
+
import "./chunk-23RWHHI5.js";
|
|
131
129
|
import {
|
|
132
130
|
getPalette,
|
|
133
131
|
palettes,
|
|
@@ -145,15 +143,6 @@ import {
|
|
|
145
143
|
} from "./chunk-OLMWTJVU.js";
|
|
146
144
|
import "./chunk-5WRI5ZAA.js";
|
|
147
145
|
|
|
148
|
-
// src/dimensions.ts
|
|
149
|
-
function getMinDimensions(content) {
|
|
150
|
-
const { chartType } = parseDgmo(content);
|
|
151
|
-
if (!chartType) return { width: 300, height: 200 };
|
|
152
|
-
const descriptor = REGISTRY_BY_ID.get(chartType);
|
|
153
|
-
const counts = descriptor?.measure?.(content) ?? {};
|
|
154
|
-
return descriptor?.minDims?.(counts) ?? { width: 300, height: 200 };
|
|
155
|
-
}
|
|
156
|
-
|
|
157
146
|
// src/charts-d3/interactions.ts
|
|
158
147
|
var NS = "http://www.w3.org/2000/svg";
|
|
159
148
|
var STYLE_ID = "dgmo-chart-interactions-style";
|
|
@@ -851,7 +840,8 @@ async function render2(text, options) {
|
|
|
851
840
|
palette: palette.id,
|
|
852
841
|
...options?.viewState !== void 0 && { viewState: options.viewState },
|
|
853
842
|
...options?.width !== void 0 && { width: options.width },
|
|
854
|
-
...options?.height !== void 0 && { height: options.height }
|
|
843
|
+
...options?.height !== void 0 && { height: options.height },
|
|
844
|
+
...options?.mapData !== void 0 && { mapData: options.mapData }
|
|
855
845
|
});
|
|
856
846
|
const errors = result.diagnostics.filter((d) => d.severity === "error");
|
|
857
847
|
if (errors.length === 0) {
|
|
@@ -904,7 +894,6 @@ export {
|
|
|
904
894
|
formatDgmoError,
|
|
905
895
|
getDiagnosticSpec,
|
|
906
896
|
getEmbedSvgViewBox,
|
|
907
|
-
getMinDimensions,
|
|
908
897
|
getPalette,
|
|
909
898
|
listDiagnosticCodes,
|
|
910
899
|
mountD3DataChart,
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
layoutJourneyMap,
|
|
4
4
|
scoreToColor,
|
|
5
5
|
scoreToCurveY
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KRTO7NRK.js";
|
|
7
7
|
import "./chunk-4ASYQ347.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-P2PUWV3Y.js";
|
|
9
9
|
import "./chunk-42IT4BG2.js";
|
|
10
10
|
import "./chunk-EXNKNJ65.js";
|
|
11
11
|
import "./chunk-OLMWTJVU.js";
|
|
@@ -16,4 +16,4 @@ export {
|
|
|
16
16
|
scoreToColor,
|
|
17
17
|
scoreToCurveY
|
|
18
18
|
};
|
|
19
|
-
//# sourceMappingURL=layout-
|
|
19
|
+
//# sourceMappingURL=layout-H4H4OFE4.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutOrg
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RKTIIU7Z.js";
|
|
4
4
|
import "./chunk-SCJ7CAJF.js";
|
|
5
5
|
import "./chunk-4ASYQ347.js";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-MDI5FMWO.js";
|
|
7
|
+
import "./chunk-P2PUWV3Y.js";
|
|
8
8
|
import "./chunk-42IT4BG2.js";
|
|
9
9
|
import "./chunk-EXNKNJ65.js";
|
|
10
10
|
import "./chunk-OLMWTJVU.js";
|
|
@@ -12,4 +12,4 @@ import "./chunk-5WRI5ZAA.js";
|
|
|
12
12
|
export {
|
|
13
13
|
layoutOrg
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=layout-
|
|
15
|
+
//# sourceMappingURL=layout-OH4VQ3OI.js.map
|
|
@@ -8,14 +8,14 @@ import "./chunk-NCT22MOD.js";
|
|
|
8
8
|
import "./chunk-WGC42WJU.js";
|
|
9
9
|
import "./chunk-4ASYQ347.js";
|
|
10
10
|
import "./chunk-NXMESY4J.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-QE4GTFZS.js";
|
|
12
12
|
import "./chunk-7NK42OIB.js";
|
|
13
13
|
import "./chunk-NOTA6TEI.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-P2PUWV3Y.js";
|
|
15
15
|
import "./chunk-EXNKNJ65.js";
|
|
16
16
|
import "./chunk-OLMWTJVU.js";
|
|
17
17
|
import "./chunk-5WRI5ZAA.js";
|
|
18
18
|
export {
|
|
19
19
|
layoutGraph
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=layout-
|
|
21
|
+
//# sourceMappingURL=layout-QTZO6CW5.js.map
|