@diagrammo/dgmo 0.48.1 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.cursorrules +8 -3
- package/.github/copilot-instructions.md +8 -3
- package/.windsurfrules +8 -3
- package/SKILL.md +8 -3
- package/dist/advanced.d.ts +444 -1
- package/dist/advanced.js +208 -146
- package/dist/auto.css +74 -5
- package/dist/auto.js +213 -107
- package/dist/auto.mjs +6906 -831
- package/dist/block.css +74 -5
- package/dist/block.d.ts +13 -5
- package/dist/block.js +148 -62
- package/dist/{charts-d3-QOZHKTCT.js → charts-d3-EW3YQTEA.js} +9 -8
- package/dist/chunk-26RVGM44.js +331 -0
- package/dist/{chunk-44CM72SQ.js → chunk-2WMBWZY2.js} +3 -3
- package/dist/{chunk-L66GEFB6.js → chunk-35BBZDFE.js} +4 -4
- package/dist/{chunk-4GRI7MEB.js → chunk-3BIAFYD2.js} +6 -6
- package/dist/chunk-3NFJWFNP.js +1474 -0
- package/dist/{chunk-76OWZ3BA.js → chunk-4BD7EVPK.js} +2 -2
- package/dist/{chunk-MITI6NOL.js → chunk-4FIV4K4Z.js} +9 -9
- package/dist/chunk-4HVNZ7WF.js +574 -0
- package/dist/{chunk-X5LCYCL5.js → chunk-4NQ3IKUM.js} +2 -2
- package/dist/{chunk-PWIHZ6NJ.js → chunk-4UDKKGHH.js} +4 -4
- package/dist/{chunk-6NYWYNBI.js → chunk-4XK3FLFB.js} +3 -3
- package/dist/chunk-4YNP6O47.js +607 -0
- package/dist/{chunk-3MQQNXPD.js → chunk-5FGDJIJX.js} +3 -3
- package/dist/{chunk-WCT3NYCV.js → chunk-5LWQH6QV.js} +1 -1
- package/dist/chunk-5XCM7UUW.js +261 -0
- package/dist/{chunk-RYEGFMUO.js → chunk-5ZZLLBFK.js} +2 -2
- package/dist/{chunk-EB6FPQUP.js → chunk-65RTDUZH.js} +3 -3
- package/dist/chunk-6CLKNXVP.js +664 -0
- package/dist/{chunk-H6PI3KJT.js → chunk-6IUAK7RZ.js} +2 -2
- package/dist/{chunk-ZGR7ULFJ.js → chunk-6SA7FJE4.js} +31 -19
- package/dist/{chunk-LIOHW36Z.js → chunk-6VE3VLWM.js} +3 -3
- package/dist/{chunk-AN2MOO5T.js → chunk-7OVSJI2V.js} +3 -3
- package/dist/{chunk-YAA6IID3.js → chunk-7UEMZREK.js} +2 -2
- package/dist/{chunk-FCIIHT24.js → chunk-7VLUGEMJ.js} +7 -7
- package/dist/{chunk-VOKGH627.js → chunk-AHGF2YYA.js} +13 -3
- package/dist/{chunk-3R5POCTZ.js → chunk-AJ2PEY7J.js} +6 -6
- package/dist/{chunk-PBHE5UG6.js → chunk-ALRHIR6I.js} +46 -12
- package/dist/{chunk-7JEGTRLD.js → chunk-B57V3DWN.js} +3 -3
- package/dist/{chunk-ILKORZ3H.js → chunk-BCT5G2VN.js} +7 -7
- package/dist/{chunk-TYS6CSS5.js → chunk-BCYVE3N5.js} +2 -2
- package/dist/{chunk-ZBWMSD5N.js → chunk-BGJV5ATD.js} +4 -4
- package/dist/{chunk-G2H74XJZ.js → chunk-BPIJLRYE.js} +8 -8
- package/dist/{chunk-YGJTDXVR.js → chunk-C4GQDB5L.js} +2 -2
- package/dist/{chunk-Y2ZE3MSG.js → chunk-C63UWAKM.js} +2 -2
- package/dist/{chunk-QEBUY5NY.js → chunk-CEHZOPGM.js} +4 -4
- package/dist/{chunk-725LDASD.js → chunk-CLD2OKV7.js} +2 -2
- package/dist/{chunk-5QXL4NYS.js → chunk-CLR4A2N2.js} +10 -5
- package/dist/{chunk-WBRZJOEC.js → chunk-CMCR5WBW.js} +3 -3
- package/dist/{chunk-SML67VPV.js → chunk-D5AVQCDN.js} +3 -3
- package/dist/{chunk-2LACINWN.js → chunk-DDTJ5N7Q.js} +9 -9
- package/dist/{chunk-FITOLXSX.js → chunk-EOFPYPAU.js} +26 -2
- package/dist/{chunk-B65G5DNL.js → chunk-EYN7VFKL.js} +3 -3
- package/dist/{chunk-4OHACBGX.js → chunk-F2L5GCQ4.js} +2 -2
- package/dist/{chunk-RVMRZAPB.js → chunk-F743CM2N.js} +3 -3
- package/dist/{chunk-3JLKYGBQ.js → chunk-F7BFXWNQ.js} +2 -2
- package/dist/{chunk-WCSOJFU3.js → chunk-FMKTYMP4.js} +3 -3
- package/dist/{chunk-RTLBSQ3G.js → chunk-FUCAB3KQ.js} +3 -3
- package/dist/{chunk-SGZYXELT.js → chunk-GB3YZTAM.js} +9 -6
- package/dist/{chunk-QLCCJEJI.js → chunk-HBVD67XG.js} +2 -2
- package/dist/{chunk-PBAHEPLQ.js → chunk-HGN652MU.js} +7 -6
- package/dist/{chunk-3SMGIJDD.js → chunk-HHXOONLX.js} +13 -1
- package/dist/{chunk-QOOUC2J5.js → chunk-HQCHYB5F.js} +2 -2
- package/dist/chunk-IAEC4KLA.js +492 -0
- package/dist/{chunk-J5FIXQRT.js → chunk-IBC35BTK.js} +4 -4
- package/dist/{chunk-NURGB5Z4.js → chunk-IFK3GIUW.js} +2 -2
- package/dist/{chunk-FANX6UJR.js → chunk-IHLSHCPZ.js} +11 -11
- package/dist/{chunk-GMR5MFHJ.js → chunk-IUK7AGD4.js} +2 -2
- package/dist/chunk-IVKC4GID.js +32 -0
- package/dist/{chunk-OJR3MQYV.js → chunk-JFPY3UJ7.js} +296 -57
- package/dist/{chunk-5MLYVTYM.js → chunk-K6HNAY5V.js} +2 -2
- package/dist/{chunk-P235SVAH.js → chunk-KQAEKMIX.js} +2 -2
- package/dist/{chunk-7DTWEFUE.js → chunk-KUBBJ2CD.js} +10 -10
- package/dist/{chunk-BUVJFRPY.js → chunk-KV6Y2HE6.js} +4 -4
- package/dist/{chunk-OURHMODR.js → chunk-LG4TWW4U.js} +13 -13
- package/dist/{chunk-XAKEUMEJ.js → chunk-LVHPTBO3.js} +3 -3
- package/dist/{chunk-ERLBPDGU.js → chunk-MJCG5K2O.js} +2 -2
- package/dist/{chunk-THXCFRTU.js → chunk-N4J5KGWG.js} +12 -12
- package/dist/{chunk-MZSBFAPJ.js → chunk-NVT6C2VE.js} +9 -9
- package/dist/{chunk-AELOBFW5.js → chunk-O5MQPK7E.js} +3 -3
- package/dist/{chunk-JM4LEPY3.js → chunk-O7NUCTFU.js} +2 -2
- package/dist/{chunk-JED6ZDEE.js → chunk-O7WP4ZD4.js} +2 -2
- package/dist/{chunk-ZO27FGJS.js → chunk-PH5X4GIP.js} +2 -2
- package/dist/{chunk-B7JUCQUA.js → chunk-PU3AUQPA.js} +4 -4
- package/dist/{chunk-A4VFQH5G.js → chunk-PZFVK3IH.js} +52 -7
- package/dist/chunk-QQJUTGQH.js +135 -0
- package/dist/{chunk-HSH73DP6.js → chunk-RI4NIMFP.js} +99 -39
- package/dist/{chunk-33LCUH4H.js → chunk-RTERS6S5.js} +3 -3
- package/dist/{chunk-T3UBLACL.js → chunk-SCQ5VPUF.js} +19 -5
- package/dist/chunk-SGHSY3LU.js +377 -0
- package/dist/{chunk-SRTU6HMQ.js → chunk-SJEGO2QL.js} +8 -8
- package/dist/chunk-SQDFK5ZQ.js +273 -0
- package/dist/{chunk-UC7TFHUM.js → chunk-SVDWQGX2.js} +296 -121
- package/dist/{chunk-Z5CGSFJB.js → chunk-T7IKPCMI.js} +4 -4
- package/dist/chunk-TC3YWBFO.js +233 -0
- package/dist/{chunk-EVCVDTXE.js → chunk-TLKMTQYL.js} +3 -3
- package/dist/{chunk-IJZFN3HM.js → chunk-TWQUYVP3.js} +4 -4
- package/dist/{chunk-IZMRON6C.js → chunk-UVCXZEGU.js} +2 -2
- package/dist/{chunk-CKNVO24D.js → chunk-UWDO3O52.js} +2 -2
- package/dist/{chunk-RJE5JTVK.js → chunk-VC3TR4NL.js} +7 -7
- package/dist/{chunk-CI2G3OEB.js → chunk-X2CH42BN.js} +9 -9
- package/dist/{chunk-6HO5ZTXK.js → chunk-XCC2RENT.js} +2 -2
- package/dist/chunk-XHVV4NVW.js +51 -0
- package/dist/{chunk-ZJEL4H2R.js → chunk-XJ7J6WOO.js} +9 -9
- package/dist/{chunk-ULOEATBZ.js → chunk-XKTN7CZF.js} +106 -29
- package/dist/{chunk-IPWPWM6R.js → chunk-YM2BSPYW.js} +111 -10
- package/dist/{chunk-BUPDIHML.js → chunk-YRVLP7UU.js} +3 -3
- package/dist/{chunk-T2OE3YQB.js → chunk-YTN572Q2.js} +3 -3
- package/dist/{chunk-WVAJFAIA.js → chunk-YYX3SU6H.js} +3 -3
- package/dist/{chunk-MO5YHHMQ.js → chunk-ZDUQGL3N.js} +2 -2
- package/dist/{chunk-Y3J7VR52.js → chunk-ZNQX6QWH.js} +30 -2
- package/dist/{chunk-UWN33VNX.js → chunk-ZREZOIGS.js} +8 -8
- package/dist/{chunk-6SM5NJQH.js → chunk-ZTLWVRNS.js} +4 -4
- package/dist/{chunk-RUNNI6VE.js → chunk-ZXL6MB4R.js} +3 -3
- package/dist/cli.cjs +159 -122
- package/dist/dgmo-router-ODKPEJ3P.js +79 -0
- package/dist/dimensions-WSIJXT5Q.js +22 -0
- package/dist/editor.js +4 -1
- package/dist/element.js +214 -108
- package/dist/element.mjs +6906 -831
- package/dist/{flowchart-parser-ZNSKIBVR.js → flowchart-parser-IVZN7CQN.js} +4 -4
- package/dist/{flowchart-renderer-SNDSII4D.js → flowchart-renderer-GMI2U3DD.js} +9 -9
- package/dist/highlight.js +7 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +193 -232
- package/dist/{layout-HRBZPFCN.js → layout-34CLNICW.js} +5 -5
- package/dist/{layout-5RA6QWR6.js → layout-4Z5JM7PT.js} +6 -6
- package/dist/layout-6RDJHS6E.js +9 -0
- package/dist/{layout-7QXCNOVS.js → layout-7H4H46CS.js} +3 -3
- package/dist/{layout-46N4JJYK.js → layout-7SKMFYHL.js} +5 -5
- package/dist/{layout-HWDSRX5E.js → layout-D42XE4RE.js} +6 -6
- package/dist/{layout-EE6GE46Y.js → layout-DC4TVXER.js} +5 -5
- package/dist/layout-FGQWRYYW.js +14 -0
- package/dist/layout-GZ2CWONU.js +14 -0
- package/dist/layout-HQMBPJVS.js +10 -0
- package/dist/{layout-UM5F4DJB.js → layout-K2ZN3Q42.js} +5 -5
- package/dist/{layout-S2QBYSK2.js → layout-NXG63LWH.js} +3 -3
- package/dist/{layout-N76NR4ZO.js → layout-PUQCB6AN.js} +7 -7
- package/dist/{layout-HYZPWAK5.js → layout-QNUQLEHU.js} +3 -3
- package/dist/layout-S3EK4IYO.js +14 -0
- package/dist/{layout-search-OYV77HHS.js → layout-search-QS44PI5R.js} +6 -6
- package/dist/{parser-KNSQSKQO.js → parser-4BKIFG2C.js} +5 -5
- package/dist/{parser-OV7NOBW6.js → parser-4ROBKVUR.js} +4 -4
- package/dist/parser-667RGSUW.js +13 -0
- package/dist/{parser-IXSZZQHY.js → parser-BL7Z72EY.js} +4 -4
- package/dist/{parser-AQETEVRW.js → parser-CLMFZWCC.js} +4 -4
- package/dist/{parser-XKRP7QKP.js → parser-D6ONJQFR.js} +3 -3
- package/dist/{parser-2EWECDSA.js → parser-DERPY5KC.js} +4 -4
- package/dist/{parser-4OGOBJJ4.js → parser-GFSOPDB7.js} +4 -4
- package/dist/{parser-2MFP2H2E.js → parser-HVJFTOXL.js} +3 -3
- package/dist/{parser-VQP2UJ6W.js → parser-IKZFTLOJ.js} +3 -3
- package/dist/parser-J3P2D6IP.js +13 -0
- package/dist/{parser-PQ3POX45.js → parser-JD7OQ2E6.js} +4 -4
- package/dist/{parser-O5J4VBII.js → parser-K647FRI4.js} +3 -3
- package/dist/{parser-NGU3ETO6.js → parser-KPMN5KKE.js} +4 -4
- package/dist/{parser-4FL2CMDG.js → parser-MBJSBTL5.js} +4 -4
- package/dist/{parser-TFZFBVWN.js → parser-MCJWF5G3.js} +3 -3
- package/dist/{parser-NRAI6O25.js → parser-MRBPXXIV.js} +4 -4
- package/dist/{parser-6BTRLKRZ.js → parser-OBQG655V.js} +4 -4
- package/dist/{parser-3STE62GB.js → parser-QJYS7KQQ.js} +4 -4
- package/dist/{parser-XDVELHRK.js → parser-SMBJO3XN.js} +4 -4
- package/dist/{parser-TRTHDFPP.js → parser-TITK4YW6.js} +5 -5
- package/dist/{parser-I6KXEYFK.js → parser-TNYX5S7E.js} +4 -4
- package/dist/{parser-Y6WTBU76.js → parser-UBGPTIZD.js} +3 -3
- package/dist/parser-UGA23PYK.js +14 -0
- package/dist/{parser-N5O4IHUN.js → parser-WISPH7LW.js} +4 -4
- package/dist/{parser-CFZD5IBL.js → parser-XWUDFJ7P.js} +4 -4
- package/dist/parser-ZKF5K2H2.js +15 -0
- package/dist/{parser-ZSDPZYQP.js → parser-ZYC3XGNS.js} +4 -4
- package/dist/{renderer-AWWAF6XD.js → renderer-4IUPINAE.js} +10 -10
- package/dist/renderer-6L3NBEY5.js +24 -0
- package/dist/{renderer-ZRNG54CW.js → renderer-6T3KK4S3.js} +11 -11
- package/dist/{renderer-KQB7UGDS.js → renderer-7RH2SI3B.js} +3 -3
- package/dist/{renderer-6EEZHMH4.js → renderer-A5VFZQQK.js} +9 -9
- package/dist/{renderer-5MYBMBYO.js → renderer-BB5PREMY.js} +5 -5
- package/dist/{renderer-BYCNMBF7.js → renderer-CGW7QPNA.js} +10 -10
- package/dist/{renderer-QIWVHWZO.js → renderer-DAXMXIKD.js} +3 -3
- package/dist/{renderer-7MVLWWQD.js → renderer-DKESNMU5.js} +9 -9
- package/dist/{renderer-ZTR3DER3.js → renderer-HVCU2C3Z.js} +3 -3
- package/dist/{renderer-VACVQYML.js → renderer-LWGJFT3D.js} +8 -8
- package/dist/{renderer-PGX2TKVS.js → renderer-MFJ7HY2H.js} +8 -8
- package/dist/{renderer-B2OMQIQG.js → renderer-MJDDU27W.js} +15 -15
- package/dist/{renderer-4JHRUBE6.js → renderer-QL5KO6SK.js} +10 -10
- package/dist/{renderer-W4M6QLIJ.js → renderer-QNHUXCRL.js} +14 -14
- package/dist/{renderer-ZGNTUWC4.js → renderer-ROV756WT.js} +8 -8
- package/dist/{renderer-YY2OSF6E.js → renderer-SQ3JUAI7.js} +9 -9
- package/dist/renderer-THD6V5TL.js +22 -0
- package/dist/{renderer-5NDVNDAZ.js → renderer-TPIBXNOS.js} +9 -9
- package/dist/{renderer-RPOA5YPZ.js → renderer-TYXRHMRI.js} +13 -13
- package/dist/{renderer-N43WR5GV.js → renderer-UZF3JROD.js} +11 -11
- package/dist/{renderer-6W5462RB.js → renderer-V3JEMWMM.js} +9 -9
- package/dist/{renderer-JGBKUCZD.js → renderer-VFUVRNLK.js} +4 -4
- package/dist/{renderer-Z7I3W2PP.js → renderer-VICQ4WNY.js} +8 -8
- package/dist/renderer-W5RMOURB.js +21 -0
- package/dist/renderer-XEKIRPI6.js +23 -0
- package/dist/{renderer-CLJHQPBJ.js → renderer-YHXPN3GF.js} +12 -12
- package/dist/renderer-radial-MHO2VDXN.js +21 -0
- package/dist/{resolver-NOAA7ID7.js → resolver-FHBCO3PL.js} +3 -3
- package/dist/{state-parser-Z2V23ATR.js → state-parser-RX3GXOIB.js} +4 -4
- package/dist/{state-renderer-B4DQBM6M.js → state-renderer-AJUKGNWU.js} +9 -9
- package/docs/ai-integration.md +8 -3
- package/docs/language-reference.md +179 -5
- package/gallery/fixtures/family.dgmo +23 -0
- package/gallery/fixtures/sketch.dgmo +22 -0
- package/package.json +1 -1
- package/dist/chunk-ODZVHU3R.js +0 -153
- package/dist/dgmo-router-X35VLZLM.js +0 -73
- package/dist/dimensions-J3FHIMJ6.js +0 -22
- package/dist/layout-5T6RH5M6.js +0 -14
- package/dist/layout-G23F7LDH.js +0 -9
- package/dist/layout-OB3RI63S.js +0 -14
- package/dist/parser-JAL2HD4I.js +0 -13
- package/dist/renderer-SMIBCRVB.js +0 -24
- package/dist/renderer-radial-C32GPJQ7.js +0 -21
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
import {
|
|
2
|
+
allTasks,
|
|
3
|
+
parseRaci
|
|
4
|
+
} from "./chunk-5ZZLLBFK.js";
|
|
5
|
+
import {
|
|
6
|
+
parseBody
|
|
7
|
+
} from "./chunk-TC3YWBFO.js";
|
|
1
8
|
import {
|
|
2
9
|
EXTENDED_CHART_DOORS,
|
|
3
10
|
parseChart,
|
|
@@ -6,107 +13,109 @@ import {
|
|
|
6
13
|
parseHeatmap,
|
|
7
14
|
parseSankey,
|
|
8
15
|
parseScatter
|
|
9
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KQAEKMIX.js";
|
|
17
|
+
import {
|
|
18
|
+
parseWireframe
|
|
19
|
+
} from "./chunk-TLKMTQYL.js";
|
|
20
|
+
import {
|
|
21
|
+
parseTechRadar
|
|
22
|
+
} from "./chunk-IFK3GIUW.js";
|
|
10
23
|
import {
|
|
11
24
|
parseCycle
|
|
12
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XCC2RENT.js";
|
|
13
26
|
import {
|
|
14
27
|
parseJourneyMap
|
|
15
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2WMBWZY2.js";
|
|
16
29
|
import {
|
|
17
30
|
parsePyramid
|
|
18
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4BD7EVPK.js";
|
|
19
32
|
import {
|
|
20
33
|
parseRing
|
|
21
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZDUQGL3N.js";
|
|
22
35
|
import {
|
|
23
36
|
parseTreemap
|
|
24
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FMKTYMP4.js";
|
|
25
38
|
import {
|
|
26
39
|
parseBlock
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import {
|
|
29
|
-
allTasks,
|
|
30
|
-
parseRaci
|
|
31
|
-
} from "./chunk-RYEGFMUO.js";
|
|
40
|
+
} from "./chunk-B57V3DWN.js";
|
|
32
41
|
import {
|
|
33
42
|
parseInfra
|
|
34
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-RTERS6S5.js";
|
|
35
44
|
import {
|
|
36
45
|
parseGantt
|
|
37
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-LVHPTBO3.js";
|
|
38
47
|
import {
|
|
39
48
|
parseMap
|
|
40
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YRVLP7UU.js";
|
|
41
50
|
import {
|
|
42
51
|
parseBoxesAndLines
|
|
43
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-KV6Y2HE6.js";
|
|
44
53
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
54
|
+
parseSketch
|
|
55
|
+
} from "./chunk-4YNP6O47.js";
|
|
47
56
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
57
|
+
parseSwimlane
|
|
58
|
+
} from "./chunk-YYX3SU6H.js";
|
|
50
59
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
60
|
+
parseFamily
|
|
61
|
+
} from "./chunk-4HVNZ7WF.js";
|
|
53
62
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
63
|
+
parseMindmap
|
|
64
|
+
} from "./chunk-65RTDUZH.js";
|
|
56
65
|
import {
|
|
57
66
|
looksLikeERDiagram,
|
|
58
67
|
parseERDiagram
|
|
59
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-35BBZDFE.js";
|
|
60
69
|
import {
|
|
61
70
|
looksLikeOrg,
|
|
62
71
|
parseOrg
|
|
63
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-F743CM2N.js";
|
|
64
73
|
import {
|
|
65
74
|
looksLikeSitemap,
|
|
66
75
|
parseSitemap
|
|
67
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-7OVSJI2V.js";
|
|
68
77
|
import {
|
|
69
78
|
looksLikePert,
|
|
70
79
|
parsePert
|
|
71
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-FUCAB3KQ.js";
|
|
72
81
|
import {
|
|
73
82
|
parseEventLine
|
|
74
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-CLR4A2N2.js";
|
|
75
84
|
import {
|
|
76
85
|
parseTimelineEventLine
|
|
77
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-IUK7AGD4.js";
|
|
78
87
|
import {
|
|
79
88
|
parseVersionControl
|
|
80
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-MJCG5K2O.js";
|
|
81
90
|
import {
|
|
82
91
|
parseKanban
|
|
83
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-O5MQPK7E.js";
|
|
84
93
|
import {
|
|
85
94
|
parseC4
|
|
86
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-EYN7VFKL.js";
|
|
87
96
|
import {
|
|
88
97
|
looksLikeSequence,
|
|
89
98
|
parseSequenceDgmo
|
|
90
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-D5AVQCDN.js";
|
|
91
100
|
import {
|
|
92
101
|
matchTagBlockHeading,
|
|
93
102
|
stripDefaultModifier,
|
|
94
103
|
tagAttrKey,
|
|
95
104
|
validateTagGroupNames,
|
|
96
105
|
validateTagValues
|
|
97
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HBVD67XG.js";
|
|
98
107
|
import {
|
|
99
108
|
looksLikeFlowchart,
|
|
100
109
|
parseFlowchart
|
|
101
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-6VE3VLWM.js";
|
|
102
111
|
import {
|
|
103
112
|
looksLikeState,
|
|
104
113
|
parseState
|
|
105
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-5FGDJIJX.js";
|
|
106
115
|
import {
|
|
107
116
|
looksLikeClassDiagram,
|
|
108
117
|
parseClassDiagram
|
|
109
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-ZXL6MB4R.js";
|
|
110
119
|
import {
|
|
111
120
|
TIMELINE_REGISTRY,
|
|
112
121
|
collectIndentedValues,
|
|
@@ -117,7 +126,7 @@ import {
|
|
|
117
126
|
peelTrailingColorName,
|
|
118
127
|
splitNameAndMeta,
|
|
119
128
|
withTagAliases
|
|
120
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-ZNQX6QWH.js";
|
|
121
130
|
import {
|
|
122
131
|
resolveColorWithDiagnostic
|
|
123
132
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -809,6 +818,14 @@ function parseVisualizationFull(content, palette) {
|
|
|
809
818
|
result.noTitle = true;
|
|
810
819
|
continue;
|
|
811
820
|
}
|
|
821
|
+
if (bareToken === "orientation-vertical") {
|
|
822
|
+
if (result.type === "arc") result.orientation = "vertical";
|
|
823
|
+
continue;
|
|
824
|
+
}
|
|
825
|
+
if (bareToken === "orientation-horizontal") {
|
|
826
|
+
if (result.type === "arc") result.orientation = "horizontal";
|
|
827
|
+
continue;
|
|
828
|
+
}
|
|
812
829
|
if (bareToken.startsWith("no-")) {
|
|
813
830
|
continue;
|
|
814
831
|
}
|
|
@@ -1374,10 +1391,18 @@ var chartTypes = [
|
|
|
1374
1391
|
id: "event-line",
|
|
1375
1392
|
description: "Annotated narrative timeline \u2014 events on a horizontal line with descriptions (not the date-scaled timeline)"
|
|
1376
1393
|
},
|
|
1394
|
+
{
|
|
1395
|
+
id: "body",
|
|
1396
|
+
description: "Human anatomy figure annotated by muscle/bone/joint name \u2014 for medical, exercise, and educational diagrams"
|
|
1397
|
+
},
|
|
1377
1398
|
{
|
|
1378
1399
|
id: "org",
|
|
1379
1400
|
description: "Reporting hierarchy"
|
|
1380
1401
|
},
|
|
1402
|
+
{
|
|
1403
|
+
id: "family",
|
|
1404
|
+
description: "Family tree / genealogy: unions (couples), children, remarriage, adoption, and GEDCOM-style metadata"
|
|
1405
|
+
},
|
|
1381
1406
|
{
|
|
1382
1407
|
id: "sitemap",
|
|
1383
1408
|
description: "Site / app navigation structure"
|
|
@@ -1422,6 +1447,10 @@ var chartTypes = [
|
|
|
1422
1447
|
id: "block",
|
|
1423
1448
|
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"
|
|
1424
1449
|
},
|
|
1450
|
+
{
|
|
1451
|
+
id: "sketch",
|
|
1452
|
+
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"
|
|
1453
|
+
},
|
|
1425
1454
|
{
|
|
1426
1455
|
id: "map",
|
|
1427
1456
|
description: "Geographic concept map: highlight/score regions, drop points of interest, connect with routes or edges"
|
|
@@ -1633,6 +1662,10 @@ function measureSwimlane(content) {
|
|
|
1633
1662
|
const parsed = parseSwimlane(content);
|
|
1634
1663
|
return { lanes: parsed.lanes.length, nodes: parsed.nodes.length };
|
|
1635
1664
|
}
|
|
1665
|
+
function measureFamily(content) {
|
|
1666
|
+
const parsed = parseFamily(content);
|
|
1667
|
+
return { nodes: parsed.persons.size };
|
|
1668
|
+
}
|
|
1636
1669
|
function minDimsSequence(c) {
|
|
1637
1670
|
return {
|
|
1638
1671
|
width: Math.max((c.participants ?? 2) * 80, 320),
|
|
@@ -1669,6 +1702,12 @@ function minDimsArc(c) {
|
|
|
1669
1702
|
function measureEventLine(content) {
|
|
1670
1703
|
return { items: parseEventLine(content).events.length };
|
|
1671
1704
|
}
|
|
1705
|
+
function measureBody(content) {
|
|
1706
|
+
return { items: parseBody(content).parts.length };
|
|
1707
|
+
}
|
|
1708
|
+
function minDimsBody() {
|
|
1709
|
+
return { width: 720, height: 900 };
|
|
1710
|
+
}
|
|
1672
1711
|
function minDimsEventLine(c) {
|
|
1673
1712
|
return {
|
|
1674
1713
|
width: Math.max(640, 120 + (c.items ?? 3) * 100),
|
|
@@ -1732,6 +1771,12 @@ function minDimsSwimlane(c) {
|
|
|
1732
1771
|
height: Math.max((c.lanes ?? 3) * 100 + 60, 240)
|
|
1733
1772
|
};
|
|
1734
1773
|
}
|
|
1774
|
+
function minDimsFamily(c) {
|
|
1775
|
+
return {
|
|
1776
|
+
width: Math.max((c.nodes ?? 4) * 90, 420),
|
|
1777
|
+
height: Math.max((c.nodes ?? 4) * 40 + 80, 240)
|
|
1778
|
+
};
|
|
1779
|
+
}
|
|
1735
1780
|
var CHART_TYPE_REGISTRY = [
|
|
1736
1781
|
// ── Structured diagrams ───────────────────────────────────
|
|
1737
1782
|
{
|
|
@@ -1807,6 +1852,7 @@ var CHART_TYPE_REGISTRY = [
|
|
|
1807
1852
|
minDims: minDimsPert
|
|
1808
1853
|
},
|
|
1809
1854
|
{ id: "boxes-and-lines", category: "diagram", parse: parseBoxesAndLines },
|
|
1855
|
+
{ id: "sketch", category: "diagram", parse: parseSketch },
|
|
1810
1856
|
{
|
|
1811
1857
|
id: "swimlane",
|
|
1812
1858
|
category: "diagram",
|
|
@@ -1814,6 +1860,13 @@ var CHART_TYPE_REGISTRY = [
|
|
|
1814
1860
|
measure: measureSwimlane,
|
|
1815
1861
|
minDims: minDimsSwimlane
|
|
1816
1862
|
},
|
|
1863
|
+
{
|
|
1864
|
+
id: "family",
|
|
1865
|
+
category: "diagram",
|
|
1866
|
+
parse: parseFamily,
|
|
1867
|
+
measure: measureFamily,
|
|
1868
|
+
minDims: minDimsFamily
|
|
1869
|
+
},
|
|
1817
1870
|
{
|
|
1818
1871
|
id: "version-control",
|
|
1819
1872
|
category: "diagram",
|
|
@@ -1875,6 +1928,13 @@ var CHART_TYPE_REGISTRY = [
|
|
|
1875
1928
|
},
|
|
1876
1929
|
{ id: "venn", category: "visualization", parse: parseVenn },
|
|
1877
1930
|
{ id: "quadrant", category: "visualization", parse: parseQuadrant },
|
|
1931
|
+
{
|
|
1932
|
+
id: "body",
|
|
1933
|
+
category: "diagram",
|
|
1934
|
+
parse: parseBody,
|
|
1935
|
+
measure: measureBody,
|
|
1936
|
+
minDims: minDimsBody
|
|
1937
|
+
},
|
|
1878
1938
|
// ── Visualizations with their own parsers ─────────────────
|
|
1879
1939
|
{
|
|
1880
1940
|
id: "tech-radar",
|
|
@@ -2062,4 +2122,4 @@ export {
|
|
|
2062
2122
|
knownChartTypeIds,
|
|
2063
2123
|
parseDgmo
|
|
2064
2124
|
};
|
|
2065
|
-
//# sourceMappingURL=chunk-
|
|
2125
|
+
//# sourceMappingURL=chunk-RI4NIMFP.js.map
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
stripDefaultModifier,
|
|
12
12
|
tagAttrKey,
|
|
13
13
|
validateTagGroupNames
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HBVD67XG.js";
|
|
15
15
|
import {
|
|
16
16
|
GRAPH_DX
|
|
17
17
|
} from "./chunk-I46X5VUA.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
tryParseSharedOption,
|
|
31
31
|
warnUnknownMetaKeys,
|
|
32
32
|
withTagAliases
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ZNQX6QWH.js";
|
|
34
34
|
import {
|
|
35
35
|
isRecognizedColorName
|
|
36
36
|
} from "./chunk-TLVIHFRO.js";
|
|
@@ -890,4 +890,4 @@ export {
|
|
|
890
890
|
parseInfra,
|
|
891
891
|
extractSymbols
|
|
892
892
|
};
|
|
893
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-RTERS6S5.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-6EK55ART.js";
|
|
5
5
|
import {
|
|
6
6
|
noteBoxSize
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BCYVE3N5.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveNotes
|
|
10
10
|
} from "./chunk-FMDSF3OV.js";
|
|
@@ -92,9 +92,23 @@ function layoutGraph(graph, options) {
|
|
|
92
92
|
for (const edge of graph.edges) {
|
|
93
93
|
const key = `${edge.source}->${edge.target}`;
|
|
94
94
|
edgeDataMap.set(key, edge);
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
}
|
|
96
|
+
const outgoingBySource = /* @__PURE__ */ new Map();
|
|
97
|
+
for (const edge of graph.edges) {
|
|
98
|
+
let group = outgoingBySource.get(edge.source);
|
|
99
|
+
if (!group) {
|
|
100
|
+
group = [];
|
|
101
|
+
outgoingBySource.set(edge.source, group);
|
|
102
|
+
}
|
|
103
|
+
group.push(edge);
|
|
104
|
+
}
|
|
105
|
+
for (const group of outgoingBySource.values()) {
|
|
106
|
+
for (let i = group.length - 1; i >= 0; i--) {
|
|
107
|
+
const edge = group[i];
|
|
108
|
+
g.setEdge(edge.source, edge.target, {
|
|
109
|
+
label: edge.label ?? ""
|
|
110
|
+
});
|
|
111
|
+
}
|
|
98
112
|
}
|
|
99
113
|
dagre.layout(g);
|
|
100
114
|
const collapsedGroupIds = collapsedChildCounts ? new Set(collapsedChildCounts.keys()) : /* @__PURE__ */ new Set();
|
|
@@ -296,4 +310,4 @@ function layoutGraph(graph, options) {
|
|
|
296
310
|
export {
|
|
297
311
|
layoutGraph
|
|
298
312
|
};
|
|
299
|
-
//# sourceMappingURL=chunk-
|
|
313
|
+
//# sourceMappingURL=chunk-SCQ5VPUF.js.map
|