@diagrammo/dgmo 0.45.0 → 0.47.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.cjs +31 -25
- package/dist/advanced.d.cts +3 -855
- package/dist/advanced.d.ts +3 -855
- package/dist/advanced.js +541 -70101
- package/dist/analyzer-UYKBXAKR.js +15 -0
- package/dist/auto.cjs +500 -341
- package/dist/auto.css +342 -159
- package/dist/auto.d.cts +10 -8
- package/dist/auto.d.ts +10 -8
- package/dist/auto.js +373 -265
- package/dist/auto.mjs +500 -341
- package/dist/block.cjs +31 -25
- package/dist/block.js +83 -69411
- package/dist/calculator-LDYQCDDY.js +11 -0
- package/dist/charts-d3-QOZHKTCT.js +25 -0
- package/dist/chunk-2DXMZRWJ.js +800 -0
- package/dist/chunk-2LACINWN.js +786 -0
- package/dist/chunk-33LCUH4H.js +893 -0
- package/dist/chunk-3CIOJ5YJ.js +35 -0
- package/dist/chunk-3HDBAXF5.js +86 -0
- package/dist/chunk-3JLKYGBQ.js +290 -0
- package/dist/chunk-3MQQNXPD.js +415 -0
- package/dist/chunk-3R5POCTZ.js +967 -0
- package/dist/chunk-3SMGIJDD.js +112 -0
- package/dist/chunk-44CM72SQ.js +409 -0
- package/dist/chunk-4GRI7MEB.js +1604 -0
- package/dist/chunk-4OHACBGX.js +606 -0
- package/dist/chunk-5DH3KYFH.js +21 -0
- package/dist/chunk-5MLYVTYM.js +76 -0
- package/dist/chunk-5QXL4NYS.js +553 -0
- package/dist/chunk-5WRI5ZAA.js +31 -0
- package/dist/chunk-6EK55ART.js +117 -0
- package/dist/chunk-6FZYCKXB.js +2065 -0
- package/dist/chunk-6HO5ZTXK.js +277 -0
- package/dist/chunk-6KFWC4CO.js +7 -0
- package/dist/chunk-6MTWIQVO.js +121 -0
- package/dist/chunk-6NYWYNBI.js +329 -0
- package/dist/chunk-6SM5NJQH.js +620 -0
- package/dist/chunk-725LDASD.js +422 -0
- package/dist/chunk-76OWZ3BA.js +130 -0
- package/dist/chunk-7JEGTRLD.js +338 -0
- package/dist/chunk-A44USUV7.js +923 -0
- package/dist/chunk-A4GOY3PE.js +25 -0
- package/dist/chunk-A4VFQH5G.js +251 -0
- package/dist/chunk-AELOBFW5.js +375 -0
- package/dist/chunk-AN2MOO5T.js +522 -0
- package/dist/chunk-BMR4CIEO.js +41 -0
- package/dist/chunk-BS7SV7C3.js +51 -0
- package/dist/chunk-BUPDIHML.js +613 -0
- package/dist/chunk-BUVJFRPY.js +887 -0
- package/dist/chunk-C3Z4DX3V.js +112 -0
- package/dist/chunk-CI2G3OEB.js +1818 -0
- package/dist/chunk-CKNVO24D.js +54 -0
- package/dist/chunk-CUVHQHZ7.js +391 -0
- package/dist/chunk-CXK4DZH3.js +114 -0
- package/dist/chunk-DKEPS5LH.js +315 -0
- package/dist/chunk-DU7W62N5.js +487 -0
- package/dist/chunk-DZAQBW35.js +751 -0
- package/dist/chunk-EB6FPQUP.js +316 -0
- package/dist/chunk-EMS2SK26.js +376 -0
- package/dist/chunk-ERLBPDGU.js +510 -0
- package/dist/chunk-EVCVDTXE.js +732 -0
- package/dist/chunk-FCIIHT24.js +384 -0
- package/dist/chunk-FFUN5D66.js +97 -0
- package/dist/chunk-FITOLXSX.js +714 -0
- package/dist/chunk-FMDSF3OV.js +68 -0
- package/dist/chunk-FNB3PNGF.js +410 -0
- package/dist/chunk-G2H74XJZ.js +2104 -0
- package/dist/chunk-GMR5MFHJ.js +339 -0
- package/dist/chunk-H6PI3KJT.js +305 -0
- package/dist/chunk-I46X5VUA.js +59 -0
- package/dist/chunk-I5IGB56C.js +255 -0
- package/dist/chunk-IH6ZMVQ5.js +3950 -0
- package/dist/chunk-IJZFN3HM.js +463 -0
- package/dist/chunk-IPWPWM6R.js +3079 -0
- package/dist/chunk-IYULMRBE.js +23 -0
- package/dist/chunk-IZMRON6C.js +167 -0
- package/dist/chunk-J5FIXQRT.js +813 -0
- package/dist/chunk-JED6ZDEE.js +73 -0
- package/dist/chunk-JEUJOX5X.js +136 -0
- package/dist/chunk-JM4LEPY3.js +436 -0
- package/dist/chunk-L3UHP6TD.js +101 -0
- package/dist/chunk-L66GEFB6.js +524 -0
- package/dist/chunk-LIOHW36Z.js +469 -0
- package/dist/chunk-LP7EC4MI.js +16 -0
- package/dist/chunk-MITI6NOL.js +548 -0
- package/dist/chunk-MO5YHHMQ.js +168 -0
- package/dist/chunk-MZSBFAPJ.js +885 -0
- package/dist/chunk-NNAAJVBU.js +9 -0
- package/dist/chunk-NOTA6TEI.js +47 -0
- package/dist/chunk-NURGB5Z4.js +335 -0
- package/dist/chunk-NX4EQS3U.js +1062 -0
- package/dist/chunk-NXMESY4J.js +1 -0
- package/dist/chunk-OJR3MQYV.js +1458 -0
- package/dist/chunk-OURHMODR.js +454 -0
- package/dist/chunk-P235SVAH.js +1057 -0
- package/dist/chunk-P4RH4OSP.js +1038 -0
- package/dist/chunk-P6T66CCZ.js +226 -0
- package/dist/chunk-PBAHEPLQ.js +223 -0
- package/dist/chunk-PBHE5UG6.js +1530 -0
- package/dist/chunk-PDKUANDZ.js +35 -0
- package/dist/chunk-PWIHZ6NJ.js +296 -0
- package/dist/chunk-QEBUY5NY.js +1685 -0
- package/dist/chunk-QLCCJEJI.js +253 -0
- package/dist/chunk-QOOUC2J5.js +52 -0
- package/dist/chunk-QYTPPDAO.js +402 -0
- package/dist/chunk-R3XI2VC7.js +801 -0
- package/dist/chunk-RCERWOJR.js +154 -0
- package/dist/chunk-RJE5JTVK.js +362 -0
- package/dist/chunk-RTLBSQ3G.js +1155 -0
- package/dist/chunk-RUNNI6VE.js +448 -0
- package/dist/chunk-RVMRZAPB.js +354 -0
- package/dist/chunk-RYEGFMUO.js +955 -0
- package/dist/chunk-RZCF2VVM.js +528 -0
- package/dist/chunk-SML67VPV.js +1025 -0
- package/dist/chunk-SQ7IY53Q.js +44 -0
- package/dist/chunk-SQAG3UXH.js +161 -0
- package/dist/chunk-SRTU6HMQ.js +1851 -0
- package/dist/chunk-T2OE3YQB.js +550 -0
- package/dist/chunk-T3UBLACL.js +299 -0
- package/dist/chunk-TLVIHFRO.js +296 -0
- package/dist/chunk-TYS6CSS5.js +52 -0
- package/dist/chunk-U6EQI3U6.js +130 -0
- package/dist/chunk-UJ4FJLBF.js +86 -0
- package/dist/chunk-ULOEATBZ.js +347 -0
- package/dist/chunk-UNCCZ3NU.js +127 -0
- package/dist/chunk-USZW2HHU.js +197 -0
- package/dist/chunk-UWN33VNX.js +1610 -0
- package/dist/chunk-UZ7EZW3B.js +40 -0
- package/dist/chunk-VOKGH627.js +37 -0
- package/dist/chunk-WBRZJOEC.js +204 -0
- package/dist/chunk-WCSOJFU3.js +380 -0
- package/dist/chunk-WCT3NYCV.js +160 -0
- package/dist/chunk-WVAJFAIA.js +529 -0
- package/dist/chunk-X5LCYCL5.js +394 -0
- package/dist/chunk-XAKEUMEJ.js +1256 -0
- package/dist/chunk-Y2ZE3MSG.js +590 -0
- package/dist/chunk-Y3J7VR52.js +646 -0
- package/dist/chunk-Y5QGVTVC.js +33 -0
- package/dist/chunk-YAA6IID3.js +548 -0
- package/dist/chunk-YGJTDXVR.js +692 -0
- package/dist/chunk-YRYKTYMQ.js +186 -0
- package/dist/chunk-YYVTBZZC.js +61 -0
- package/dist/chunk-Z5CGSFJB.js +647 -0
- package/dist/chunk-Z72XRXD4.js +787 -0
- package/dist/chunk-ZGR7ULFJ.js +978 -0
- package/dist/chunk-ZJEL4H2R.js +851 -0
- package/dist/chunk-ZO27FGJS.js +554 -0
- package/dist/cli.cjs +112 -112
- package/dist/collapse-CLPJD2RL.js +11 -0
- package/dist/collapse-SLINJQW6.js +9 -0
- package/dist/collapse-ZWUFFCK2.js +9 -0
- package/dist/compute-G55RG53N.js +8 -0
- package/dist/dgmo-router-DZCIDUO5.js +73 -0
- package/dist/dimensions-J3FHIMJ6.js +22 -0
- package/dist/element.cjs +492 -325
- package/dist/element.js +367 -259
- package/dist/element.mjs +492 -325
- package/dist/flowchart-parser-ZNSKIBVR.js +21 -0
- package/dist/flowchart-renderer-ZAEOL4DX.js +35 -0
- package/dist/index.cjs +34 -28
- package/dist/index.d.cts +3 -469
- package/dist/index.d.ts +3 -469
- package/dist/index.js +137 -69679
- package/dist/layout-46N4JJYK.js +17 -0
- package/dist/layout-5RA6QWR6.js +26 -0
- package/dist/layout-5T6RH5M6.js +14 -0
- package/dist/layout-7QXCNOVS.js +13 -0
- package/dist/layout-EE6GE46Y.js +17 -0
- package/dist/layout-G23F7LDH.js +9 -0
- package/dist/layout-HRBZPFCN.js +23 -0
- package/dist/layout-HWDSRX5E.js +20 -0
- package/dist/layout-HYZPWAK5.js +18 -0
- package/dist/layout-N76NR4ZO.js +19 -0
- package/dist/layout-OB3RI63S.js +14 -0
- package/dist/layout-S2QBYSK2.js +15 -0
- package/dist/layout-UM5F4DJB.js +15 -0
- package/dist/layout-search-OYV77HHS.js +1655 -0
- package/dist/load-data-EHDDZ5ZS.js +8 -0
- package/dist/palettes-PRJ2RI6D.js +56 -0
- package/dist/parser-2MFP2H2E.js +11 -0
- package/dist/parser-3STE62GB.js +21 -0
- package/dist/parser-4FL2CMDG.js +18 -0
- package/dist/parser-4OGOBJJ4.js +13 -0
- package/dist/parser-6BTRLKRZ.js +15 -0
- package/dist/parser-AQETEVRW.js +21 -0
- package/dist/parser-CFZD5IBL.js +12 -0
- package/dist/parser-FUSKFGZN.js +16 -0
- package/dist/parser-I6KXEYFK.js +13 -0
- package/dist/parser-IXSZZQHY.js +18 -0
- package/dist/parser-JAL2HD4I.js +13 -0
- package/dist/parser-KNSQSKQO.js +20 -0
- package/dist/parser-N5O4IHUN.js +13 -0
- package/dist/parser-NGU3ETO6.js +16 -0
- package/dist/parser-NRAI6O25.js +19 -0
- package/dist/parser-O5J4VBII.js +11 -0
- package/dist/parser-OV7NOBW6.js +21 -0
- package/dist/parser-PQ3POX45.js +23 -0
- package/dist/parser-TFZFBVWN.js +11 -0
- package/dist/parser-TRTHDFPP.js +18 -0
- package/dist/parser-VQP2UJ6W.js +11 -0
- package/dist/parser-XDVELHRK.js +13 -0
- package/dist/parser-XKRP7QKP.js +11 -0
- package/dist/parser-Y6WTBU76.js +14 -0
- package/dist/parser-ZSDPZYQP.js +12 -0
- package/dist/renderer-2XQQQ6QR.js +28 -0
- package/dist/renderer-5NDVNDAZ.js +26 -0
- package/dist/renderer-6EEZHMH4.js +26 -0
- package/dist/renderer-6W5462RB.js +43 -0
- package/dist/renderer-7MVLWWQD.js +22 -0
- package/dist/renderer-AWWAF6XD.js +33 -0
- package/dist/renderer-BYCNMBF7.js +34 -0
- package/dist/renderer-CLJHQPBJ.js +29 -0
- package/dist/renderer-GHPZMFU2.js +15 -0
- package/dist/renderer-JGBKUCZD.js +16 -0
- package/dist/renderer-KQB7UGDS.js +19 -0
- package/dist/renderer-PGX2TKVS.js +24 -0
- package/dist/renderer-QIWVHWZO.js +15 -0
- package/dist/renderer-RPOA5YPZ.js +35 -0
- package/dist/renderer-SMIBCRVB.js +24 -0
- package/dist/renderer-T7YKC5VP.js +28 -0
- package/dist/renderer-TOCOVLHS.js +37 -0
- package/dist/renderer-UWA5XS74.js +39 -0
- package/dist/renderer-VACVQYML.js +25 -0
- package/dist/renderer-W4M6QLIJ.js +37 -0
- package/dist/renderer-WZRREQ2P.js +23 -0
- package/dist/renderer-YY2OSF6E.js +27 -0
- package/dist/renderer-Z7I3W2PP.js +24 -0
- package/dist/renderer-ZGNTUWC4.js +22 -0
- package/dist/renderer-ZTR3DER3.js +19 -0
- package/dist/renderer-radial-C32GPJQ7.js +21 -0
- package/dist/resolver-NOAA7ID7.js +13 -0
- package/dist/state-collapse-HCGD6IVJ.js +8 -0
- package/dist/state-parser-Z2V23ATR.js +18 -0
- package/dist/state-renderer-RFYHSP4K.js +34 -0
- package/dist/themes-1-CuKpeH.d.cts +908 -0
- package/dist/themes-1-CuKpeH.d.ts +908 -0
- package/package.json +1 -1
- package/src/auto/index.ts +55 -57
- package/src/auto/shared.ts +142 -142
- package/src/auto/styles.ts +44 -199
- package/src/c4/renderer.ts +2 -2
- package/src/element/index.ts +29 -21
- package/src/infra/renderer.ts +1 -1
- package/src/render.ts +34 -14
- package/src/sitemap/renderer.ts +1 -1
- package/src/timeline/renderer.ts +1 -1
- package/src/utils/hover-styles.ts +6 -1
- package/src/utils/legend-d3.ts +1 -4
- package/src/utils/legend-svg.ts +1 -1
package/dist/advanced.d.cts
CHANGED
|
@@ -1,23 +1,9 @@
|
|
|
1
|
+
import { D as DgmoError, C as CompactViewState, M as MapData, P as PaletteColors, a as PaletteConfig, T as TagGroup, b as TagEntry, c as ParsedMap, R as ResolvedMap, d as MapLayoutLegend, G as GeoExtent } from './themes-1-CuKpeH.cjs';
|
|
2
|
+
export { A as AirportData, B as BoundaryTopology, e as CHART_TYPE_DESCRIPTIONS, f as ChartTypeMeta, g as DecodedDiagramUrl, h as DgmoSeverity, E as EncodeDiagramUrlOptions, i as EncodeDiagramUrlResult, j as Gazetteer, k as GazetteerEntry, l as MapCompletionOptions, m as MapDirectives, n as MapEdge, o as MapLocationMatch, p as MapPlaceCompletion, q as MapPoi, r as MapRegion, s as MapRegionCompletion, t as MapRoute, u as PoiPos, v as ProjectionFamily, w as RegionName, x as RegionNames, y as RenderCategory, z as ResolvedEdge, F as ResolvedPoi, H as ResolvedRegion, I as ResolvedRoute, J as Theme, K as autoTagColorCycle, L as chartTypeParsers, N as chartTypes, O as completeMapPlaces, Q as completeMapRegions, S as decodeDiagramUrl, U as decodeViewState, V as encodeDiagramUrl, W as encodeViewState, X as formatDgmoError, Y as getAllChartTypes, Z as getAvailablePalettes, _ as getPalette, $ as getRenderCategory, a0 as isExtendedChartType, a1 as isValidHex, a2 as knownChartTypeIds, a3 as makeDgmoError, a4 as palettes, a5 as parseDgmo, a6 as parseDgmoChartType, a7 as registerPalette, a8 as searchMapLocations, a9 as tagAttrKey, aa as themes, a5 as validate } from './themes-1-CuKpeH.cjs';
|
|
1
3
|
import { Selection } from 'd3-selection';
|
|
2
4
|
import * as d3Scale from 'd3-scale';
|
|
3
5
|
import { GeoProjection } from 'd3-geo';
|
|
4
6
|
|
|
5
|
-
type DgmoSeverity = 'error' | 'warning';
|
|
6
|
-
interface DgmoError {
|
|
7
|
-
line: number;
|
|
8
|
-
column?: number;
|
|
9
|
-
message: string;
|
|
10
|
-
severity: DgmoSeverity;
|
|
11
|
-
/**
|
|
12
|
-
* Optional stable diagnostic code (e.g. 'E_ARROW_SUBSTRING_IN_LABEL').
|
|
13
|
-
* Additive; pre-existing diagnostics omit this field and existing
|
|
14
|
-
* substring-on-`.message` assertions keep working unchanged.
|
|
15
|
-
*/
|
|
16
|
-
code?: string;
|
|
17
|
-
}
|
|
18
|
-
declare function makeDgmoError(line: number, message: string, severity?: DgmoSeverity, code?: string): DgmoError;
|
|
19
|
-
declare function formatDgmoError(err: DgmoError): string;
|
|
20
|
-
|
|
21
7
|
/**
|
|
22
8
|
* Stable diagnostic codes for in-arrow label parsing errors.
|
|
23
9
|
*
|
|
@@ -64,81 +50,6 @@ interface ParseInArrowLabelResult {
|
|
|
64
50
|
*/
|
|
65
51
|
declare function parseInArrowLabel(rawLabel: string, lineNumber: number): ParseInArrowLabelResult;
|
|
66
52
|
|
|
67
|
-
/**
|
|
68
|
-
* Color definitions for a single mode (light or dark).
|
|
69
|
-
* 10 semantic UI colors + 9 named accent colors = 19 total.
|
|
70
|
-
*
|
|
71
|
-
* `readonly` on every field (and the nested `colors` map) by design —
|
|
72
|
-
* palettes flow from the registry into every renderer; nothing in the
|
|
73
|
-
* pipeline should ever mutate a palette in place.
|
|
74
|
-
*/
|
|
75
|
-
interface PaletteColors {
|
|
76
|
-
/** Main background (#eceff4 light / #2e3440 dark for Nord) */
|
|
77
|
-
readonly bg: string;
|
|
78
|
-
/** Cards, panels (#e5e9f0 / #3b4252) */
|
|
79
|
-
readonly surface: string;
|
|
80
|
-
/** Popovers, dropdowns (#e5e9f0 / #434c5e) */
|
|
81
|
-
readonly overlay: string;
|
|
82
|
-
/** Borders, dividers, muted (#d8dee9 / #4c566a) */
|
|
83
|
-
readonly border: string;
|
|
84
|
-
/** Primary text (#2e3440 / #eceff4) */
|
|
85
|
-
readonly text: string;
|
|
86
|
-
/** Secondary/diminished text (#4c566a / #d8dee9) */
|
|
87
|
-
readonly textMuted: string;
|
|
88
|
-
/**
|
|
89
|
-
* Light-mode arg for `contrastText()` when text is rendered on a
|
|
90
|
-
* tinted shape fill (e.g. `shapeFill()` output). Must guarantee
|
|
91
|
-
* ≥ 4.5:1 WCAG AA against any `shapeFill()` the palette can produce.
|
|
92
|
-
* Distinct from `colors.white` because palette-aesthetic anchors don't
|
|
93
|
-
* always meet contrast requirements (TD-5).
|
|
94
|
-
*/
|
|
95
|
-
readonly textOnFillLight: string;
|
|
96
|
-
/** Dark-mode counterpart to `textOnFillLight`. */
|
|
97
|
-
readonly textOnFillDark: string;
|
|
98
|
-
/** Primary accent — buttons, links */
|
|
99
|
-
readonly primary: string;
|
|
100
|
-
/** Secondary accent */
|
|
101
|
-
readonly secondary: string;
|
|
102
|
-
/** Tertiary accent */
|
|
103
|
-
readonly accent: string;
|
|
104
|
-
/** Error/danger */
|
|
105
|
-
readonly destructive: string;
|
|
106
|
-
/**
|
|
107
|
-
* Used for: inline annotations (red), pie charts, cScale,
|
|
108
|
-
* series rotation, journey actors, Gantt tasks.
|
|
109
|
-
*/
|
|
110
|
-
readonly colors: {
|
|
111
|
-
readonly red: string;
|
|
112
|
-
readonly orange: string;
|
|
113
|
-
readonly yellow: string;
|
|
114
|
-
readonly green: string;
|
|
115
|
-
readonly blue: string;
|
|
116
|
-
readonly purple: string;
|
|
117
|
-
readonly teal: string;
|
|
118
|
-
readonly cyan: string;
|
|
119
|
-
readonly gray: string;
|
|
120
|
-
readonly black: string;
|
|
121
|
-
readonly white: string;
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
/**
|
|
125
|
-
* Complete palette definition. One object per color scheme.
|
|
126
|
-
* This is what palette authors create — the single artifact for NFR1.
|
|
127
|
-
*
|
|
128
|
-
* Palettes are immutable from the consumer's perspective; the registry
|
|
129
|
-
* hands out the same frozen-shape object on every `getPalette(id)`.
|
|
130
|
-
*/
|
|
131
|
-
interface PaletteConfig {
|
|
132
|
-
/** Registry key: 'nord', 'slate', 'catppuccin' */
|
|
133
|
-
readonly id: string;
|
|
134
|
-
/** Display name: 'Nord', 'Slate', 'Catppuccin' */
|
|
135
|
-
readonly name: string;
|
|
136
|
-
/** Light mode color definitions */
|
|
137
|
-
readonly light: PaletteColors;
|
|
138
|
-
/** Dark mode color definitions */
|
|
139
|
-
readonly dark: PaletteColors;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
53
|
/**
|
|
143
54
|
* Tag a primitive type `T` with a phantom brand `B`. The brand
|
|
144
55
|
* exists only in the type system — `Brand<string, 'X'>` is a `string`
|
|
@@ -149,556 +60,6 @@ type Brand<T, B extends string> = T & {
|
|
|
149
60
|
readonly __brand: B;
|
|
150
61
|
};
|
|
151
62
|
|
|
152
|
-
/** A single entry inside a tag group: `Value color` */
|
|
153
|
-
interface TagEntry {
|
|
154
|
-
readonly value: string;
|
|
155
|
-
readonly color: string;
|
|
156
|
-
readonly lineNumber: number;
|
|
157
|
-
}
|
|
158
|
-
/**
|
|
159
|
-
* A tag group block: heading + entries.
|
|
160
|
-
*
|
|
161
|
-
* Parser internals build via `Writable<TagGroup>` from `utils/brand.ts`;
|
|
162
|
-
* once returned to a chart-type parser, consumers see the readonly view.
|
|
163
|
-
*/
|
|
164
|
-
interface TagGroup {
|
|
165
|
-
readonly name: string;
|
|
166
|
-
readonly alias?: string;
|
|
167
|
-
readonly entries: readonly TagEntry[];
|
|
168
|
-
/** Default value for nodes without explicit metadata. First entry unless another is marked `default`. */
|
|
169
|
-
readonly defaultValue?: string;
|
|
170
|
-
readonly lineNumber: number;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* DOM-safe key for a tag group — used wherever the group name becomes a
|
|
174
|
-
* `data-tag-*` attribute suffix, an entity metadata key, or an `active-tag`
|
|
175
|
-
* match target. For a single-identifier name (the only form the parser used to
|
|
176
|
-
* accept) this is exactly `name.toLowerCase()`, so swapping it in for existing
|
|
177
|
-
* diagrams is byte-identical. A quoted multi-word name (`tag "Trust Zone" as tz`)
|
|
178
|
-
* slugs to a hyphenated identifier (`trust-zone`) so it never produces an
|
|
179
|
-
* invalid DOM attribute name; the original `name` is kept for the legend label.
|
|
180
|
-
*/
|
|
181
|
-
declare function tagAttrKey(name: string): string;
|
|
182
|
-
/**
|
|
183
|
-
* The categorical name cycle used to auto-assign colors to bare tag values,
|
|
184
|
-
* in deterministic order. Aliased to the shared {@link CATEGORICAL_COLOR_ORDER}
|
|
185
|
-
* (RGB-seeded, max-contrast, neutrals excluded) so tag swatches and data-chart
|
|
186
|
-
* series colors share one canonical rotation. If a group has more colorless
|
|
187
|
-
* entries than free categorical names, the cycle wraps.
|
|
188
|
-
*/
|
|
189
|
-
declare const autoTagColorCycle: readonly string[];
|
|
190
|
-
|
|
191
|
-
/** A POI / route-stop position: gazetteer name (+ optional ISO scope) or coords. */
|
|
192
|
-
type PoiPos = {
|
|
193
|
-
readonly kind: 'coords';
|
|
194
|
-
readonly lat: number;
|
|
195
|
-
readonly lon: number;
|
|
196
|
-
} | {
|
|
197
|
-
readonly kind: 'name';
|
|
198
|
-
readonly name: string;
|
|
199
|
-
readonly scope?: string;
|
|
200
|
-
};
|
|
201
|
-
/** One-shot directives (§24B.2/.7). Values are raw strings unless typed.
|
|
202
|
-
*
|
|
203
|
-
* COSMETIC DEFAULTS ARE ON. Every basemap feature renders by default; the only
|
|
204
|
-
* control is a bare `no-*` opt-out flag that sets the matching `noXxx` boolean.
|
|
205
|
-
* Absent (undefined) = feature ON — so render gates test `!== true`, never
|
|
206
|
-
* `=== true`. There are NO positive opt-in cosmetic flags (§24B.2). */
|
|
207
|
-
interface MapDirectives {
|
|
208
|
-
/** Legend label for the region value ramp (`region-heat <label>`). */
|
|
209
|
-
regionMetric?: string;
|
|
210
|
-
/** Recognized color NAME for the choropleth ramp HIGH endpoint, peeled off the
|
|
211
|
-
* `region-heat` trailing token (§24B.3). Defaults to red when absent. */
|
|
212
|
-
regionMetricColor?: string;
|
|
213
|
-
/** Recognized color NAME for the choropleth ramp LOW endpoint (the second,
|
|
214
|
-
* left-of-two trailing colors on `region-heat`, §24B.3). Absent ⇒ the low
|
|
215
|
-
* end is the implied floored neutral (today's single-colour behaviour). */
|
|
216
|
-
regionMetricLowColor?: string;
|
|
217
|
-
/** Legend label for the POI value (marker size) channel (`poi-size`). */
|
|
218
|
-
poiMetric?: string;
|
|
219
|
-
/** Legend label for the edge/leg value (thickness) channel (`flow-width`). */
|
|
220
|
-
flowMetric?: string;
|
|
221
|
-
/** Default ISO scope for bare-name resolution (§24B.8): a 3166-1 country
|
|
222
|
-
* (`locale US`) or 3166-2 subdivision (`locale US-GA`). The country part
|
|
223
|
-
* biases ambiguous bare cities to that nation; the subdivision part further
|
|
224
|
-
* prefers that state. Inferred from content; explicit only to steer a guess. */
|
|
225
|
-
locale?: string;
|
|
226
|
-
activeTag?: string;
|
|
227
|
-
caption?: string;
|
|
228
|
-
/** `no-title` — suppress the title banner (the subtitle/caption, if any, still
|
|
229
|
-
* render). Mirrors the `no-title` directive across the other chart types. */
|
|
230
|
-
noTitle?: boolean;
|
|
231
|
-
/** `no-legend` — suppress the legend (default-on). */
|
|
232
|
-
noLegend?: boolean;
|
|
233
|
-
/** `no-coastline` — suppress the faint nautical-chart water-lines along
|
|
234
|
-
* coasts/shorelines (default-on; geometry derived from drawn region paths). */
|
|
235
|
-
noCoastline?: boolean;
|
|
236
|
-
/** `no-relief` — suppress mountain-range relief hachures. Relief is default-on
|
|
237
|
-
* but auto-gated to dataless reference maps at continent/world zoom (§24B.2). */
|
|
238
|
-
noRelief?: boolean;
|
|
239
|
-
/** `no-context-labels` — suppress the orientation backdrop (water-body names +
|
|
240
|
-
* unreferenced notable country names), distinct from `region-labels`. */
|
|
241
|
-
noContextLabels?: boolean;
|
|
242
|
-
/** `no-region-labels` — suppress region labels (default-on, full→abbrev→hide). */
|
|
243
|
-
noRegionLabels?: boolean;
|
|
244
|
-
/** `no-region-heat-value` — suppress the metric VALUE shown under each data region's
|
|
245
|
-
* name on a `region-heat` choropleth (default-on). The region NAME still
|
|
246
|
-
* renders (governed by `no-region-labels`); only the numeric value line goes. */
|
|
247
|
-
noRegionValue?: boolean;
|
|
248
|
-
/** `no-poi-labels` — suppress POI labels (default-on, collision-managed auto). */
|
|
249
|
-
noPoiLabels?: boolean;
|
|
250
|
-
/** `no-colorize` — force the plain green-land reference dress even when regions
|
|
251
|
-
* are referenced (regions are auto-coloured by default; §24B colorize). A
|
|
252
|
-
* no-op under data — the basemap is already gray there. */
|
|
253
|
-
noColorize?: boolean;
|
|
254
|
-
/** `no-cities` — suppress the subtle gazetteer city dots scattered across the
|
|
255
|
-
* basemap for geographic orientation (default-on; population-ranked, spacing-
|
|
256
|
-
* thinned so density adapts to zoom). Explicit POIs always draw regardless. */
|
|
257
|
-
noCities?: boolean;
|
|
258
|
-
/** `no-cluster-pois` — never collapse coincident POI markers into a count badge
|
|
259
|
-
* (clustering/spiderfy is default-on in the interactive preview). With this set
|
|
260
|
-
* the markers always render fanned out with their legs — the same as a static
|
|
261
|
-
* export — so a dense map reads the same on screen as on paper. No-op for
|
|
262
|
-
* export (already always expanded). */
|
|
263
|
-
noClusterPois?: boolean;
|
|
264
|
-
}
|
|
265
|
-
/** A region-fill: a subdivision name with an optional score and/or tag values
|
|
266
|
-
* (§24B.3/.4 — BOTH may be present; bivariate seam). */
|
|
267
|
-
interface MapRegion {
|
|
268
|
-
readonly name: string;
|
|
269
|
-
/** Optional trailing ISO scope qualifier (§24B.8) — a 3166-1 country code
|
|
270
|
-
* (`Georgia US` → US context) or 3166-2 subdivision (`Georgia US-GA`).
|
|
271
|
-
* Forces the country-vs-state interpretation and silences the ambiguity warning. */
|
|
272
|
-
readonly scope?: string;
|
|
273
|
-
/** Numeric value → choropleth shade (§24B.3). Lifted out of `meta`. */
|
|
274
|
-
readonly value?: number;
|
|
275
|
-
/** §1.5 trailing-token color NAME → flat categorical override fill (§24B.4);
|
|
276
|
-
* painted regardless of the active colouring dimension, no legend entry. */
|
|
277
|
-
readonly color?: string;
|
|
278
|
-
/** Tag values keyed by lowercased tag GROUP name (alias is resolved away). */
|
|
279
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
280
|
-
/** Any remaining reserved keys captured verbatim (`label`/`style`/…). */
|
|
281
|
-
readonly meta: Readonly<Record<string, string>>;
|
|
282
|
-
readonly lineNumber: number;
|
|
283
|
-
}
|
|
284
|
-
/** A point of interest (§24B.5). `meta` holds the numeric `value` (→ marker
|
|
285
|
-
* size) and `style` verbatim; `label` is lifted out. */
|
|
286
|
-
interface MapPoi {
|
|
287
|
-
readonly pos: PoiPos;
|
|
288
|
-
readonly alias?: string;
|
|
289
|
-
readonly label?: string;
|
|
290
|
-
/** §1.5 trailing-token color NAME → flat marker fill (§24B.5); wins over a
|
|
291
|
-
* tag color and the default orange. */
|
|
292
|
-
readonly color?: string;
|
|
293
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
294
|
-
readonly meta: Readonly<Record<string, string>>;
|
|
295
|
-
readonly lineNumber: number;
|
|
296
|
-
}
|
|
297
|
-
/** One leg of a route (§24B.6): an edge from the previous stop to `dest`. Reuses
|
|
298
|
-
* the indented edge arrow idiom (same as sitemap) — in-arrow text = leg label,
|
|
299
|
-
* `width:` = leg thickness, the arrow glyph = shape (`-…->` straight, `~…~>`
|
|
300
|
-
* arc). A tag on the leg line colours the LINE (§24B.6); `label:`/`as` still
|
|
301
|
-
* name the DESTINATION stop. The arrow is required — a bare destination errors. */
|
|
302
|
-
interface MapRouteLeg {
|
|
303
|
-
readonly label?: string;
|
|
304
|
-
readonly style: 'straight' | 'arc';
|
|
305
|
-
readonly value?: string;
|
|
306
|
-
readonly dest: PoiPos;
|
|
307
|
-
readonly destAlias?: string;
|
|
308
|
-
readonly destLabel?: string;
|
|
309
|
-
/** Tag(s) on the leg line → colour the LINE itself. To categorise a STOP,
|
|
310
|
-
* tag its own `poi` line. */
|
|
311
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
312
|
-
readonly lineNumber: number;
|
|
313
|
-
}
|
|
314
|
-
/** An ordered, auto-numbered route (§24B.6): `route <origin>` + a sequence of
|
|
315
|
-
* indented arrow legs, each continuing from the previous stop. Leg shape is
|
|
316
|
-
* per-leg (the arrow glyph) — there is no header-level shape option. Repeat the
|
|
317
|
-
* origin as a leg's destination to close a loop. */
|
|
318
|
-
interface MapRoute {
|
|
319
|
-
readonly origin: PoiPos;
|
|
320
|
-
readonly originAlias?: string;
|
|
321
|
-
readonly originLabel?: string;
|
|
322
|
-
readonly originValue?: string;
|
|
323
|
-
readonly originTags: Readonly<Record<string, string>>;
|
|
324
|
-
readonly legs: readonly MapRouteLeg[];
|
|
325
|
-
readonly lineNumber: number;
|
|
326
|
-
}
|
|
327
|
-
/** A connector (§24B.6). Endpoints are RAW identifier strings (name or alias);
|
|
328
|
-
* binding to POIs/regions is the resolver's job. Token = arrowhead iff it ends
|
|
329
|
-
* in `>`, arc iff it starts with `~`: `->` straight, `~>` arc, `--`/`-label-`
|
|
330
|
-
* undirected straight, `~~`/`~label~` undirected arc. */
|
|
331
|
-
interface MapEdge {
|
|
332
|
-
readonly from: string;
|
|
333
|
-
readonly to: string;
|
|
334
|
-
readonly label?: string;
|
|
335
|
-
readonly directed: boolean;
|
|
336
|
-
readonly style: 'straight' | 'arc';
|
|
337
|
-
readonly meta: Readonly<Record<string, string>>;
|
|
338
|
-
/** Tag(s) on the edge line → colour the LINE itself (§24B.6). */
|
|
339
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
340
|
-
readonly lineNumber: number;
|
|
341
|
-
}
|
|
342
|
-
interface ParsedMap {
|
|
343
|
-
readonly title: string | null;
|
|
344
|
-
readonly titleLineNumber: number | null;
|
|
345
|
-
readonly directives: MapDirectives;
|
|
346
|
-
readonly tagGroups: readonly TagGroup[];
|
|
347
|
-
readonly regions: readonly MapRegion[];
|
|
348
|
-
readonly pois: readonly MapPoi[];
|
|
349
|
-
readonly routes: readonly MapRoute[];
|
|
350
|
-
readonly edges: readonly MapEdge[];
|
|
351
|
-
readonly options: Readonly<Record<string, string>>;
|
|
352
|
-
readonly diagnostics: readonly DgmoError[];
|
|
353
|
-
readonly error: string | null;
|
|
354
|
-
}
|
|
355
|
-
/** Legend descriptor for a rendered map (a layout-stage output, re-exported from
|
|
356
|
-
* `layout.ts`). It lives here so the `legend-band` helper can consume it without
|
|
357
|
-
* importing `layout` — `layout` already value-imports `mapLegendBand`, so the
|
|
358
|
-
* reverse type import would form a layout↔legend-band cycle. */
|
|
359
|
-
interface MapLayoutLegend {
|
|
360
|
-
readonly tagGroups: ReadonlyArray<{
|
|
361
|
-
name: string;
|
|
362
|
-
entries: ReadonlyArray<{
|
|
363
|
-
value: string;
|
|
364
|
-
color: string;
|
|
365
|
-
}>;
|
|
366
|
-
}>;
|
|
367
|
-
readonly activeGroup: string | null;
|
|
368
|
-
readonly ramp?: {
|
|
369
|
-
metric?: string;
|
|
370
|
-
min: number;
|
|
371
|
-
max: number;
|
|
372
|
-
/** Resolved hex of the LOW (t=0) endpoint — the explicit low colour, or the
|
|
373
|
-
* floored neutral the single-colour fills blend up from. */
|
|
374
|
-
low: string;
|
|
375
|
-
/** Resolved hex of the HIGH (t=1) endpoint (the named ramp hue). */
|
|
376
|
-
high: string;
|
|
377
|
-
};
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
/** A TopoJSON topology (world-coarse/world-detail keyed by ISO 3166-1 alpha-2;
|
|
381
|
-
* us-states keyed by ISO 3166-2). Geometry feature `id` is the ISO code;
|
|
382
|
-
* `properties.name` is the display string. Kept loose to avoid a topojson dep. */
|
|
383
|
-
interface BoundaryTopology {
|
|
384
|
-
type: 'Topology';
|
|
385
|
-
objects: Record<string, {
|
|
386
|
-
type: string;
|
|
387
|
-
geometries: BoundaryGeometry[];
|
|
388
|
-
}>;
|
|
389
|
-
arcs: number[][][];
|
|
390
|
-
transform?: {
|
|
391
|
-
scale: [number, number];
|
|
392
|
-
translate: [number, number];
|
|
393
|
-
};
|
|
394
|
-
bbox?: number[];
|
|
395
|
-
}
|
|
396
|
-
interface BoundaryGeometry {
|
|
397
|
-
type: string;
|
|
398
|
-
/** ISO code: alpha-2 (countries) or 3166-2 `US-XX` (states). */
|
|
399
|
-
id: string;
|
|
400
|
-
properties: {
|
|
401
|
-
name: string;
|
|
402
|
-
};
|
|
403
|
-
arcs?: unknown;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* A gazetteer city entry: `[lat, lon, iso, pop, name, sub?]`.
|
|
407
|
-
* - `lat`/`lon` — rounded to 3 decimals.
|
|
408
|
-
* - `iso` — ISO 3166-1 alpha-2 country code.
|
|
409
|
-
* - `pop` — population.
|
|
410
|
-
* - `name` — canonical display name (case/accents preserved).
|
|
411
|
-
* - `sub` — ISO 3166-2 subdivision (US cities only in v1, e.g. `US-OR`); absent otherwise.
|
|
412
|
-
*/
|
|
413
|
-
type GazetteerEntry = [
|
|
414
|
-
lat: number,
|
|
415
|
-
lon: number,
|
|
416
|
-
iso: string,
|
|
417
|
-
pop: number,
|
|
418
|
-
name: string,
|
|
419
|
-
sub?: string
|
|
420
|
-
];
|
|
421
|
-
interface Gazetteer {
|
|
422
|
-
/** Every city, stored once. `byName`/`alt` reference cities by array index
|
|
423
|
-
* (normalized — no tuple duplication; geonameid is a build-time-only linker). */
|
|
424
|
-
cities: GazetteerEntry[];
|
|
425
|
-
/** Folded (NFD, diacritic-stripped, lowercased) name → indices into `cities`.
|
|
426
|
-
* Always an array; length > 1 for same-named cities (Portland US-OR / US-ME). */
|
|
427
|
-
byName: Record<string, number[]>;
|
|
428
|
-
/** Folded alias → index into `cities`. Never collides with a `byName` key. */
|
|
429
|
-
alt: Record<string, number>;
|
|
430
|
-
}
|
|
431
|
-
/**
|
|
432
|
-
* IATA-coded airport index (a SEPARATE optional asset — `airports.json`; ADR-1).
|
|
433
|
-
* Lets memorized airport codes resolve to coordinates through the resolver's
|
|
434
|
-
* existing fold→lookup path (`poi JFK`, `route JFK -> LAX`) — no parser change.
|
|
435
|
-
*
|
|
436
|
-
* - `airports` — `GazetteerEntry` tuples `[lat, lon, iso, 0, name]`. `pop` is
|
|
437
|
-
* always 0 (OurAirports has no enplanement column); `name` is the full airport
|
|
438
|
-
* name, used for COMPLETION DISPLAY only — airports resolve by IATA code, never
|
|
439
|
-
* by name. Coords are rounded to 2 decimals (~1km; sub-pixel at map scale).
|
|
440
|
-
* - `airportIata` — folded 3-letter IATA code → index into `airports`. Consulted
|
|
441
|
-
* LAST in resolution (after city `byName` + `alt`), so a real city always wins
|
|
442
|
-
* a shared token (ADR-2). Airports never enter `cities[]`, so the city-scatter
|
|
443
|
-
* and reverse-geocode layers never see them.
|
|
444
|
-
*/
|
|
445
|
-
interface AirportData {
|
|
446
|
-
readonly airports: GazetteerEntry[];
|
|
447
|
-
readonly airportIata: Record<string, number>;
|
|
448
|
-
}
|
|
449
|
-
/** Water-feature class (Natural Earth `featurecla`, rivers/reefs excluded). */
|
|
450
|
-
type WaterKind = 'ocean' | 'sea' | 'gulf' | 'bay' | 'strait' | 'channel' | 'sound';
|
|
451
|
-
/**
|
|
452
|
-
* A water-body label entry: `[lat, lon, name, tier, kind, alt?]`.
|
|
453
|
-
* - `lat`/`lon` — label anchor (Natural Earth inner point), rounded to 3 decimals.
|
|
454
|
-
* - `name` — full display name (no abbreviation exists for water bodies).
|
|
455
|
-
* - `tier` — Natural Earth `scalerank` (0 = most prominent → orientation priority).
|
|
456
|
-
* - `kind` — feature class (drives styling/priority bucketing).
|
|
457
|
-
* - `alt` — optional extra anchor points `[lat, lon][]`; the layout picks the
|
|
458
|
-
* one nearest the viewport center (Decision 5 multi-anchor seam). Absent today.
|
|
459
|
-
*/
|
|
460
|
-
type WaterBodyEntry = [
|
|
461
|
-
lat: number,
|
|
462
|
-
lon: number,
|
|
463
|
-
name: string,
|
|
464
|
-
tier: number,
|
|
465
|
-
kind: WaterKind,
|
|
466
|
-
alt?: ReadonlyArray<readonly [number, number]>
|
|
467
|
-
];
|
|
468
|
-
interface WaterBodies {
|
|
469
|
-
/** Deterministically ordered (tier, then name). Generated from Natural Earth
|
|
470
|
-
* marine polys by scripts/build-map-data.mjs into `water-bodies.json`. */
|
|
471
|
-
readonly entries: readonly WaterBodyEntry[];
|
|
472
|
-
}
|
|
473
|
-
/** A fill-able region (country or US state) — the display name + its ISO id +
|
|
474
|
-
* layer. Powers region-name autocomplete (completion-only; the renderer derives
|
|
475
|
-
* names from the topology directly). Extracted from the topologies by
|
|
476
|
-
* scripts/build-map-data.mjs into `region-names.json`. */
|
|
477
|
-
interface RegionName {
|
|
478
|
-
/** Display name (original casing), e.g. `California` / `Germany`. */
|
|
479
|
-
readonly name: string;
|
|
480
|
-
/** ISO 3166-1 alpha-2 (country) or 3166-2 `US-XX` (state). */
|
|
481
|
-
readonly iso: string;
|
|
482
|
-
readonly layer: 'country' | 'us-state';
|
|
483
|
-
}
|
|
484
|
-
interface RegionNames {
|
|
485
|
-
/** Deterministically ordered (layer, then name). */
|
|
486
|
-
readonly regions: readonly RegionName[];
|
|
487
|
-
}
|
|
488
|
-
|
|
489
|
-
/** The four static assets, injected into the pure resolver (DI). */
|
|
490
|
-
interface MapData {
|
|
491
|
-
worldCoarse: BoundaryTopology;
|
|
492
|
-
worldDetail: BoundaryTopology;
|
|
493
|
-
usStates: BoundaryTopology;
|
|
494
|
-
/** Major lakes (Natural Earth 110m) drawn as water over land — e.g. the Great
|
|
495
|
-
* Lakes. Optional so hand-built test fixtures need not supply it. */
|
|
496
|
-
lakes?: BoundaryTopology;
|
|
497
|
-
/** Major river centerlines (Natural Earth 110m) drawn as thin water lines over
|
|
498
|
-
* land — e.g. the Amazon, Nile, Mississippi. Optional, like `lakes`. */
|
|
499
|
-
rivers?: BoundaryTopology;
|
|
500
|
-
/** Notable mountain-range polygons (Natural Earth 50m geography regions) drawn
|
|
501
|
-
* as a subtle gradient relief cue over base land when the `relief` directive
|
|
502
|
-
* is on — e.g. the Rockies, Andes, Himalayas. Optional, like `lakes`. */
|
|
503
|
-
mountainRanges?: BoundaryTopology;
|
|
504
|
-
/** North-America-clipped 10m country land, used as crisp neighbour context
|
|
505
|
-
* under the albers-usa US view so Canada/Mexico match the 10m states instead
|
|
506
|
-
* of the coarser world tiers. Optional, like `lakes`. */
|
|
507
|
-
naLand?: BoundaryTopology;
|
|
508
|
-
/** North-America-clipped 10m major lakes (Great Lakes etc.), used in place of
|
|
509
|
-
* the coarse `lakes` under the albers-usa US view. Optional. */
|
|
510
|
-
naLakes?: BoundaryTopology;
|
|
511
|
-
/** Water-body orientation labels (Natural Earth marine polys) drawn when the
|
|
512
|
-
* `context-labels` directive is on — oceans/seas/gulfs/bays/etc. Optional, so
|
|
513
|
-
* hand-built test fixtures and older bundles need not supply it. */
|
|
514
|
-
waterBodies?: WaterBodies;
|
|
515
|
-
/** IATA-coded airports (`airports.json`) — lets `poi JFK` / `route JFK -> LAX`
|
|
516
|
-
* resolve. Optional so hand-built fixtures and older DI bundles need not supply
|
|
517
|
-
* it; the resolver guards `data.airports?.…` everywhere. */
|
|
518
|
-
airports?: AirportData;
|
|
519
|
-
gazetteer: Gazetteer;
|
|
520
|
-
}
|
|
521
|
-
type ProjectionFamily = 'equal-earth' | 'natural-earth' | 'equirectangular' | 'albers-usa' | 'conic-equal-area' | 'mercator';
|
|
522
|
-
/** Which geometry layers the renderer draws. */
|
|
523
|
-
interface Basemaps {
|
|
524
|
-
/** World country tier: coarse (world-scale) | detail (regional/zoom). */
|
|
525
|
-
world: 'coarse' | 'detail';
|
|
526
|
-
/** Loaded subdivision layers (v1: only 'us-states'). */
|
|
527
|
-
subdivisions: Array<'us-states'>;
|
|
528
|
-
}
|
|
529
|
-
interface ResolvedRegion {
|
|
530
|
-
/** ISO code: alpha-2 (country) or 3166-2 `US-XX` (state) — the geometry id. */
|
|
531
|
-
readonly iso: string;
|
|
532
|
-
readonly name: string;
|
|
533
|
-
readonly layer: 'country' | 'us-state';
|
|
534
|
-
readonly value?: number;
|
|
535
|
-
/** §1.5 trailing-token color NAME → flat override fill (§24B.4). */
|
|
536
|
-
readonly color?: string;
|
|
537
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
538
|
-
readonly meta: Readonly<Record<string, string>>;
|
|
539
|
-
readonly lineNumber: number;
|
|
540
|
-
}
|
|
541
|
-
interface ResolvedPoi {
|
|
542
|
-
/** Folded registry id (alias|name folded, or `@lat,lon` for coord POIs). */
|
|
543
|
-
readonly id: string;
|
|
544
|
-
/** Display name (original casing): the city/place name, alias, or endpoint
|
|
545
|
-
* string. The on-map label falls back to this when `label` is absent (the
|
|
546
|
-
* folded `id` is for binding, not display). */
|
|
547
|
-
readonly name?: string;
|
|
548
|
-
readonly lat: number;
|
|
549
|
-
readonly lon: number;
|
|
550
|
-
readonly label?: string;
|
|
551
|
-
/** §1.5 trailing-token color NAME → flat marker fill (§24B.5). */
|
|
552
|
-
readonly color?: string;
|
|
553
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
554
|
-
readonly meta: Readonly<Record<string, string>>;
|
|
555
|
-
readonly lineNumber: number;
|
|
556
|
-
/** True when created from an undeclared edge/route endpoint (§24B.10). */
|
|
557
|
-
readonly implicit?: boolean;
|
|
558
|
-
}
|
|
559
|
-
interface ResolvedEdge {
|
|
560
|
-
readonly fromId: string;
|
|
561
|
-
readonly toId: string;
|
|
562
|
-
readonly label?: string;
|
|
563
|
-
readonly directed: boolean;
|
|
564
|
-
readonly style: 'straight' | 'arc';
|
|
565
|
-
readonly meta: Readonly<Record<string, string>>;
|
|
566
|
-
/** Tag(s) on the edge line → colour the LINE (§24B.6). */
|
|
567
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
568
|
-
readonly lineNumber: number;
|
|
569
|
-
}
|
|
570
|
-
interface ResolvedRouteLeg {
|
|
571
|
-
readonly fromId: string;
|
|
572
|
-
readonly toId: string;
|
|
573
|
-
readonly label?: string;
|
|
574
|
-
readonly style: 'straight' | 'arc';
|
|
575
|
-
readonly value?: string;
|
|
576
|
-
/** Tag(s) on the leg line → colour the LINE (§24B.6). */
|
|
577
|
-
readonly tags: Readonly<Record<string, string>>;
|
|
578
|
-
readonly lineNumber: number;
|
|
579
|
-
}
|
|
580
|
-
interface ResolvedRoute {
|
|
581
|
-
/** Ordered UNIQUE stop ids (for numbering + the origin marker). A loop-closing
|
|
582
|
-
* leg whose destination is an earlier stop adds a leg but no duplicate stop. */
|
|
583
|
-
readonly stopIds: readonly string[];
|
|
584
|
-
readonly legs: readonly ResolvedRouteLeg[];
|
|
585
|
-
readonly lineNumber: number;
|
|
586
|
-
}
|
|
587
|
-
/** Geographic bounding box `[[west, south], [east, north]]` in degrees.
|
|
588
|
-
*
|
|
589
|
-
* WRAP CONVENTION (#12): for an antimeridian-crossing extent the resolver keeps
|
|
590
|
-
* `west` in [−180, 180] and returns `east` UNWRAPPED in (180, 540] (i.e.
|
|
591
|
-
* `east = west + span`, span ≤ 360). So `east > 180` signals a dateline-crossing
|
|
592
|
-
* extent; the renderer (step 4) must mod `east` back into [−180, 180] (or shift
|
|
593
|
-
* the projection's center) rather than assume `east ≤ 180`. `south`/`north` are
|
|
594
|
-
* always plain degrees in [−90, 90]. */
|
|
595
|
-
type GeoExtent = [[number, number], [number, number]];
|
|
596
|
-
interface ResolvedMap {
|
|
597
|
-
readonly title: string | null;
|
|
598
|
-
/** DEAD — the `subtitle` directive was removed (2026-06-02 defaults-on review).
|
|
599
|
-
* Never populated; the renderer's subtitle branch is now unreachable. Left for
|
|
600
|
-
* a later cleanup pass. */
|
|
601
|
-
readonly subtitle?: string;
|
|
602
|
-
readonly caption?: string;
|
|
603
|
-
readonly tagGroups: readonly TagGroup[];
|
|
604
|
-
readonly directives: MapDirectives;
|
|
605
|
-
readonly basemaps: Basemaps;
|
|
606
|
-
readonly regions: readonly ResolvedRegion[];
|
|
607
|
-
readonly pois: readonly ResolvedPoi[];
|
|
608
|
-
readonly edges: readonly ResolvedEdge[];
|
|
609
|
-
readonly routes: readonly ResolvedRoute[];
|
|
610
|
-
readonly extent: GeoExtent;
|
|
611
|
-
readonly projection: ProjectionFamily;
|
|
612
|
-
/** POI-only region framing: the region(s) that CONTAIN the POIs — us-state ids
|
|
613
|
-
* (`US-CA`) or country isos (`FR`). The frame is snapped to the union of their
|
|
614
|
-
* bboxes, and the layout labels them prominently (vs. muted neighbours). Empty
|
|
615
|
-
* for non-POI-only maps or when POIs fall outside every polygon. Optional so
|
|
616
|
-
* older/foreign ResolvedMap literals need not supply it. */
|
|
617
|
-
readonly poiFrameContainers?: readonly string[];
|
|
618
|
-
readonly diagnostics: readonly DgmoError[];
|
|
619
|
-
readonly error: string | null;
|
|
620
|
-
}
|
|
621
|
-
|
|
622
|
-
/**
|
|
623
|
-
* Compact view state schema (ADR-6).
|
|
624
|
-
* All fields optional. Only non-default values are encoded.
|
|
625
|
-
* `tag: null` means "user chose none"; absent `tag` means "use DSL default" (ADR-5).
|
|
626
|
-
*/
|
|
627
|
-
interface CompactViewState {
|
|
628
|
-
tag?: string | null;
|
|
629
|
-
cs?: number[];
|
|
630
|
-
cg?: string[];
|
|
631
|
-
swim?: string | null;
|
|
632
|
-
cl?: string[];
|
|
633
|
-
cc?: string[];
|
|
634
|
-
rm?: string;
|
|
635
|
-
htv?: Record<string, string[]>;
|
|
636
|
-
ha?: string[];
|
|
637
|
-
sem?: boolean;
|
|
638
|
-
cm?: boolean;
|
|
639
|
-
c4l?: string;
|
|
640
|
-
c4s?: string;
|
|
641
|
-
c4c?: string;
|
|
642
|
-
rps?: number;
|
|
643
|
-
spd?: number;
|
|
644
|
-
io?: Record<string, number>;
|
|
645
|
-
hd?: boolean;
|
|
646
|
-
cbd?: boolean;
|
|
647
|
-
rq?: string;
|
|
648
|
-
an?: boolean;
|
|
649
|
-
fl?: boolean;
|
|
650
|
-
}
|
|
651
|
-
interface DecodedDiagramUrl {
|
|
652
|
-
dsl: string;
|
|
653
|
-
viewState: CompactViewState;
|
|
654
|
-
palette?: string;
|
|
655
|
-
theme?: 'light' | 'dark';
|
|
656
|
-
filename?: string;
|
|
657
|
-
}
|
|
658
|
-
interface EncodeDiagramUrlOptions {
|
|
659
|
-
baseUrl?: string;
|
|
660
|
-
viewState?: CompactViewState;
|
|
661
|
-
palette?: string;
|
|
662
|
-
theme?: 'light' | 'dark';
|
|
663
|
-
filename?: string;
|
|
664
|
-
}
|
|
665
|
-
type EncodeDiagramUrlResult = {
|
|
666
|
-
url: string;
|
|
667
|
-
error?: undefined;
|
|
668
|
-
} | {
|
|
669
|
-
url?: undefined;
|
|
670
|
-
error: 'too-large';
|
|
671
|
-
compressedSize: number;
|
|
672
|
-
limit: number;
|
|
673
|
-
};
|
|
674
|
-
/**
|
|
675
|
-
* Encode a CompactViewState to a compressed string for URL embedding.
|
|
676
|
-
* Returns empty string if state has no keys (ADR-4).
|
|
677
|
-
*/
|
|
678
|
-
declare function encodeViewState(state: CompactViewState): string;
|
|
679
|
-
/**
|
|
680
|
-
* Decode a compressed view state string back to CompactViewState.
|
|
681
|
-
* Returns empty object on failure (no crash).
|
|
682
|
-
*/
|
|
683
|
-
declare function decodeViewState(encoded: string): CompactViewState;
|
|
684
|
-
/**
|
|
685
|
-
* Compress a DGMO DSL string into a shareable URL.
|
|
686
|
-
* Returns `{ url }` on success, or `{ error: 'too-large', compressedSize, limit }` if the
|
|
687
|
-
* compressed payload exceeds the 8 KB limit.
|
|
688
|
-
*/
|
|
689
|
-
declare function encodeDiagramUrl(dsl: string, options?: EncodeDiagramUrlOptions): EncodeDiagramUrlResult;
|
|
690
|
-
/**
|
|
691
|
-
* Decode a DGMO DSL string and view state from a URL query string or hash.
|
|
692
|
-
* Accepts any of:
|
|
693
|
-
* - `?dgmo=<payload>&vs=<state>`
|
|
694
|
-
* - `#dgmo=<payload>&vs=<state>` (backwards compat)
|
|
695
|
-
* - `dgmo=<payload>`
|
|
696
|
-
* - `<bare payload>`
|
|
697
|
-
*
|
|
698
|
-
* Returns `{ dsl, viewState }`. The DSL is empty string on invalid input.
|
|
699
|
-
*/
|
|
700
|
-
declare function decodeDiagramUrl(hash: string): DecodedDiagramUrl;
|
|
701
|
-
|
|
702
63
|
/**
|
|
703
64
|
* Render DGMO source to an SVG string.
|
|
704
65
|
*
|
|
@@ -746,13 +107,6 @@ declare function render(content: string, options?: {
|
|
|
746
107
|
diagnostics: DgmoError[];
|
|
747
108
|
}>;
|
|
748
109
|
|
|
749
|
-
interface ChartTypeMeta {
|
|
750
|
-
readonly id: string;
|
|
751
|
-
readonly description: string;
|
|
752
|
-
readonly fallback?: true;
|
|
753
|
-
}
|
|
754
|
-
declare const chartTypes: readonly ChartTypeMeta[];
|
|
755
|
-
|
|
756
110
|
declare class ScaleContext {
|
|
757
111
|
readonly factor: number;
|
|
758
112
|
readonly isBelowFloor: boolean;
|
|
@@ -779,77 +133,6 @@ declare class ScaleContext {
|
|
|
779
133
|
text(fontSize: number, floor?: number): number;
|
|
780
134
|
}
|
|
781
135
|
|
|
782
|
-
/** User-visible rendering category for dispatch and routing. */
|
|
783
|
-
type RenderCategory = 'data-chart' | 'visualization' | 'diagram';
|
|
784
|
-
|
|
785
|
-
/**
|
|
786
|
-
* Extracts the chart type from raw file content.
|
|
787
|
-
* First tries the first non-empty, non-comment line as a bare chart type name
|
|
788
|
-
* (e.g., `gantt Product Launch`).
|
|
789
|
-
* Falls back to inference when no explicit chart type is found.
|
|
790
|
-
*/
|
|
791
|
-
declare function parseDgmoChartType(content: string): string | null;
|
|
792
|
-
|
|
793
|
-
/**
|
|
794
|
-
* Returns the render category for a given chart type, or `null` if unknown.
|
|
795
|
-
* Use this instead of the internal framework map for dispatch in consumers.
|
|
796
|
-
*/
|
|
797
|
-
declare function getRenderCategory(chartType: string): RenderCategory | null;
|
|
798
|
-
/**
|
|
799
|
-
* Returns true if the chart type is an extended chart type
|
|
800
|
-
* handled by parseExtendedChart (scatter, sankey, function, heatmap, funnel).
|
|
801
|
-
* Returns false for standard chart types and all other types.
|
|
802
|
-
*/
|
|
803
|
-
declare function isExtendedChartType(chartType: string): boolean;
|
|
804
|
-
/**
|
|
805
|
-
* Returns all supported chart type identifiers in canonical (tier) order,
|
|
806
|
-
* derived from `chartTypes`. Consumers that need alphabetical order should
|
|
807
|
-
* call `.sort()` explicitly.
|
|
808
|
-
*/
|
|
809
|
-
declare function getAllChartTypes(): string[];
|
|
810
|
-
/**
|
|
811
|
-
* Canonical descriptions for every supported chart type. Derived from
|
|
812
|
-
* `chartTypes` so there is exactly one place to update when adding a new
|
|
813
|
-
* type. Consumed by the CLI `dgmo types` command, the editor autocomplete
|
|
814
|
-
* popup, and the MCP `list_chart_types` tool.
|
|
815
|
-
*/
|
|
816
|
-
declare const CHART_TYPE_DESCRIPTIONS: Record<string, string>;
|
|
817
|
-
type ParseResult = {
|
|
818
|
-
diagnostics: readonly DgmoError[];
|
|
819
|
-
};
|
|
820
|
-
type ParseFn = (content: string) => ParseResult;
|
|
821
|
-
/**
|
|
822
|
-
* Maps every chart-type id to the parser that handles it, DERIVED from
|
|
823
|
-
* `CHART_TYPE_REGISTRY` (src/chart-type-registry.ts). Adding a new chart type
|
|
824
|
-
* means adding ONE descriptor there plus its `chartTypes` metadata entry; the
|
|
825
|
-
* `chart-type-registry.test.ts` cross-check asserts the registry, `chartTypes`,
|
|
826
|
-
* the render-category sites, and the export handlers all stay in sync.
|
|
827
|
-
*/
|
|
828
|
-
declare const chartTypeParsers: ReadonlyArray<readonly [string, ParseFn]>;
|
|
829
|
-
/** Ids in the same order as `chartTypeParsers`; used for cross-checks. */
|
|
830
|
-
declare const knownChartTypeIds: readonly string[];
|
|
831
|
-
/**
|
|
832
|
-
* Parse DGMO content and return diagnostics without rendering.
|
|
833
|
-
* Useful for the CLI and editor to surface all errors before attempting render.
|
|
834
|
-
*/
|
|
835
|
-
declare function parseDgmo(content: string): {
|
|
836
|
-
diagnostics: DgmoError[];
|
|
837
|
-
chartType: string | null;
|
|
838
|
-
};
|
|
839
|
-
|
|
840
|
-
/** Validate that a hex string is well-formed (#RGB or #RRGGBB). */
|
|
841
|
-
declare function isValidHex(value: string): boolean;
|
|
842
|
-
/**
|
|
843
|
-
* Register a palette. Called at module initialization.
|
|
844
|
-
* Validates that all 19 color fields per mode are present and valid hex.
|
|
845
|
-
* Throws on malformed palettes to catch errors at startup, not at render time.
|
|
846
|
-
*/
|
|
847
|
-
declare function registerPalette(palette: PaletteConfig): void;
|
|
848
|
-
/** Get palette by id. Silently returns the default palette if id is unrecognized. */
|
|
849
|
-
declare function getPalette(id: string): PaletteConfig;
|
|
850
|
-
/** List all registered palettes alphabetically (for the selector UI). */
|
|
851
|
-
declare function getAvailablePalettes(): PaletteConfig[];
|
|
852
|
-
|
|
853
136
|
/** Convert hex (#RRGGBB or #RGB) to { h, s, l } with h in degrees, s/l as percentages. */
|
|
854
137
|
declare function hexToHSL(hex: string): {
|
|
855
138
|
h: number;
|
|
@@ -927,25 +210,6 @@ declare const tidewaterPalette: PaletteConfig;
|
|
|
927
210
|
|
|
928
211
|
declare const tokyoNightPalette: PaletteConfig;
|
|
929
212
|
|
|
930
|
-
/**
|
|
931
|
-
* All built-in palettes, keyed by camelCase id. Use directly with render():
|
|
932
|
-
*
|
|
933
|
-
* await render(text, { palette: palettes.catppuccin });
|
|
934
|
-
*
|
|
935
|
-
* For preference/settings storage, the `.id` field of each entry is the
|
|
936
|
-
* canonical string (e.g. `'tokyo-night'`, `'nord'`) — that's the wire format
|
|
937
|
-
* used by share URLs and the CLI `--palette` flag.
|
|
938
|
-
*/
|
|
939
|
-
declare const palettes: {
|
|
940
|
-
readonly atlas: PaletteConfig;
|
|
941
|
-
readonly blueprint: PaletteConfig;
|
|
942
|
-
readonly slate: PaletteConfig;
|
|
943
|
-
readonly tidewater: PaletteConfig;
|
|
944
|
-
readonly nord: PaletteConfig;
|
|
945
|
-
readonly catppuccin: PaletteConfig;
|
|
946
|
-
readonly tokyoNight: PaletteConfig;
|
|
947
|
-
};
|
|
948
|
-
|
|
949
213
|
type ChartType$1 = 'bar' | 'line' | 'pie' | 'polar-area' | 'radar';
|
|
950
214
|
interface ChartDataPoint {
|
|
951
215
|
label: string;
|
|
@@ -5983,100 +5247,6 @@ interface CreateMapGeoQueryOptions {
|
|
|
5983
5247
|
* `CreateMapGeoQueryOptions` to keep the projection in sync. */
|
|
5984
5248
|
declare function createMapGeoQuery(opts: CreateMapGeoQueryOptions): MapGeoQuery;
|
|
5985
5249
|
|
|
5986
|
-
interface MapPlaceCompletion {
|
|
5987
|
-
/** Canonical display name (original casing), e.g. `Portland`. */
|
|
5988
|
-
readonly name: string;
|
|
5989
|
-
/** Text to insert. ISO-qualified (`Portland US-OR`) iff the name is
|
|
5990
|
-
* ambiguous in the gazetteer; bare otherwise (disambiguate-once, §24B.8). */
|
|
5991
|
-
readonly insert: string;
|
|
5992
|
-
/** Menu label (`Portland — US-OR` when ambiguous, else `Portland`). */
|
|
5993
|
-
readonly label: string;
|
|
5994
|
-
/** Secondary detail, e.g. `US-OR · 652,503`. */
|
|
5995
|
-
readonly detail: string;
|
|
5996
|
-
readonly iso: string;
|
|
5997
|
-
readonly sub?: string;
|
|
5998
|
-
readonly pop: number;
|
|
5999
|
-
/** `'airport'` for IATA-code entries (icon/grouping affordance); absent or
|
|
6000
|
-
* `'city'` for gazetteer cities. Cities rank above airports for a shared
|
|
6001
|
-
* prefix so ~1500 codes never bury city names (ADR-5). */
|
|
6002
|
-
readonly kind?: 'city' | 'airport';
|
|
6003
|
-
}
|
|
6004
|
-
interface MapCompletionOptions {
|
|
6005
|
-
/** Max results (default 12). */
|
|
6006
|
-
readonly limit?: number;
|
|
6007
|
-
/** IATA-coded airports (`airports.json`). When supplied, airport codes
|
|
6008
|
-
* matching the prefix are offered as a second (post-city) group. Optional —
|
|
6009
|
-
* absent (old DI bundles / no asset) just yields city-only completions. */
|
|
6010
|
-
readonly airports?: AirportData;
|
|
6011
|
-
/** Resolver-inferred map scope (country `US` or subdivision `US-CA`). Biases
|
|
6012
|
-
* airport ranking so in-region airports sort above out-of-region same-prefix
|
|
6013
|
-
* ones (ADR-6). Pure rank, never a filter — cross-region airports still
|
|
6014
|
-
* appear. App passes the document's inferred scope in (Slice 2). */
|
|
6015
|
-
readonly scopeISO?: string;
|
|
6016
|
-
}
|
|
6017
|
-
/**
|
|
6018
|
-
* Prefix-match city names + alternate-name aliases against the gazetteer,
|
|
6019
|
-
* rank by population (desc; stable tie-break by gazetteer index), and emit
|
|
6020
|
-
* ISO-qualified insert text only for ambiguous (same-named) places.
|
|
6021
|
-
*
|
|
6022
|
-
* Pure + deterministic. Empty/blank query → `[]` (the caller gates min length).
|
|
6023
|
-
*/
|
|
6024
|
-
declare function completeMapPlaces(query: string, gazetteer: Gazetteer, opts?: MapCompletionOptions): MapPlaceCompletion[];
|
|
6025
|
-
/** A POI search hit — a city or airport the resolver can resolve, with the
|
|
6026
|
-
* exact `token` to paste into DGMO (a `poi`/route endpoint). Powers the CLI
|
|
6027
|
-
* `dgmo map search` command and the MCP `lookup_map_location` tool, so authors
|
|
6028
|
-
* (and AI agents) can DISCOVER valid place tokens instead of guessing — e.g.
|
|
6029
|
-
* learn that "New York" must be `New York City` and that `JFK` is bundled. */
|
|
6030
|
-
interface MapLocationMatch {
|
|
6031
|
-
/** Canonical display name (cities) or full airport name. */
|
|
6032
|
-
readonly name: string;
|
|
6033
|
-
/** Exact text to use in DGMO. Cities: the name, ISO-qualified when ambiguous
|
|
6034
|
-
* (`Portland US-OR`). Airports: the upper-case IATA code (`JFK`). */
|
|
6035
|
-
readonly token: string;
|
|
6036
|
-
readonly kind: 'city' | 'airport';
|
|
6037
|
-
readonly iso: string;
|
|
6038
|
-
readonly sub?: string;
|
|
6039
|
-
/** City population (0 for airports). */
|
|
6040
|
-
readonly pop: number;
|
|
6041
|
-
/** Human detail, e.g. `US-OR · 652,503` or `Airport · John F Kennedy Intl`. */
|
|
6042
|
-
readonly detail: string;
|
|
6043
|
-
}
|
|
6044
|
-
/**
|
|
6045
|
-
* Substring-search cities + airports for a discovery surface (CLI / MCP), so an
|
|
6046
|
-
* author can find the exact token the resolver expects. Unlike
|
|
6047
|
-
* {@link completeMapPlaces} (prefix-only, editor type-ahead), this matches
|
|
6048
|
-
* anywhere in a city name OR an airport code/name, so "york" finds
|
|
6049
|
-
* `New York City` and "kennedy" finds `JFK`.
|
|
6050
|
-
*
|
|
6051
|
-
* Ranking: exact-name (or exact-IATA) → prefix → substring; within a tier,
|
|
6052
|
-
* cities by population desc (deterministic index tie-break), cities before
|
|
6053
|
-
* airports. Pure + deterministic. Empty query → `[]`.
|
|
6054
|
-
*/
|
|
6055
|
-
declare function searchMapLocations(query: string, gazetteer: Gazetteer, opts?: {
|
|
6056
|
-
readonly limit?: number;
|
|
6057
|
-
readonly airports?: AirportData;
|
|
6058
|
-
}): MapLocationMatch[];
|
|
6059
|
-
interface MapRegionCompletion {
|
|
6060
|
-
/** Display name = insert text (the resolver disambiguates cross-layer
|
|
6061
|
-
* collisions like Georgia by map scope, §24B.8). */
|
|
6062
|
-
readonly name: string;
|
|
6063
|
-
/** ISO 3166-1/3166-2 id. */
|
|
6064
|
-
readonly iso: string;
|
|
6065
|
-
readonly layer: 'country' | 'us-state';
|
|
6066
|
-
/** Secondary detail, e.g. `US state · US-CA` or `Country · DE`. */
|
|
6067
|
-
readonly detail: string;
|
|
6068
|
-
}
|
|
6069
|
-
/**
|
|
6070
|
-
* Prefix-match fill-able region names (countries + US states) for region-fill
|
|
6071
|
-
* lines. Matches the folded display name OR the ISO code; deterministic
|
|
6072
|
-
* (alphabetical by name, then layer). Pure. Empty query → `[]`.
|
|
6073
|
-
*
|
|
6074
|
-
* `regions` is injected (the `region-names.json` asset, shipped in dist/map-data
|
|
6075
|
-
* alongside the gazetteer). Cross-layer same-name (Georgia: country GE + state
|
|
6076
|
-
* US-GA) yields both entries, distinguished by `detail`.
|
|
6077
|
-
*/
|
|
6078
|
-
declare function completeMapRegions(query: string, regions: readonly RegionName[], opts?: MapCompletionOptions): MapRegionCompletion[];
|
|
6079
|
-
|
|
6080
5250
|
/** Marker alphabet member for any variant. */
|
|
6081
5251
|
type RaciMarker = 'R' | 'A' | 'S' | 'C' | 'I' | 'D';
|
|
6082
5252
|
/** Variant identifier — selects alphabet + constraint rule set. */
|
|
@@ -6546,26 +5716,4 @@ declare function parseFirstLine(line: string): {
|
|
|
6546
5716
|
title: string | undefined;
|
|
6547
5717
|
} | null;
|
|
6548
5718
|
|
|
6549
|
-
/**
|
|
6550
|
-
* Theme — render mode flag. Selects which palette variant the renderer uses
|
|
6551
|
-
* for background and text:
|
|
6552
|
-
* - 'light' → palette.light colors
|
|
6553
|
-
* - 'dark' → palette.dark colors
|
|
6554
|
-
* - 'transparent' → no background fill (for embedding in colored containers)
|
|
6555
|
-
*/
|
|
6556
|
-
type Theme = 'light' | 'dark' | 'transparent';
|
|
6557
|
-
/**
|
|
6558
|
-
* `themes` namespace — use with render() options for a typed handle:
|
|
6559
|
-
*
|
|
6560
|
-
* await render(text, { theme: themes.dark });
|
|
6561
|
-
*
|
|
6562
|
-
* Passing the raw string `'dark'` also works (the underlying type is the
|
|
6563
|
-
* string-literal union); the namespace is the conventional path.
|
|
6564
|
-
*/
|
|
6565
|
-
declare const themes: {
|
|
6566
|
-
readonly light: "light";
|
|
6567
|
-
readonly dark: "dark";
|
|
6568
|
-
readonly transparent: "transparent";
|
|
6569
|
-
};
|
|
6570
|
-
|
|
6571
|
-
export { ALL_CHART_TYPES, ARROW_DIAGNOSTIC_CODES, type Activation, type AirportData, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type BlockCell, type BlockGrid, type BlockLayoutItem, type BlockLayoutResult, type BlockNode, type BlockOptions, type BoundaryTopology, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, CHART_TYPE_DESCRIPTIONS, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ChartTypeMeta, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, type CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CreateMapGeoQueryOptions, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type EventLineEra, type EventLineEvent, type EventLineFocus, type EventLineOptions, type ExpandedActivity, type ExtendedChartType, type FocusOrgResult, type FocusResult, type FocusTarget, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type Gazetteer, type GazetteerEntry, type GeoExtent, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, type ImportSource, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions$1 as LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, type MapCompletionOptions, type MapData, type MapDirectives, type MapEdge, type MapExportDimensions, type MapGeoQuery, type MapLayout, type MapLayoutInset, type MapLayoutLeg, type MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapLayoutStretch, type MapLocationMatch, type MapPlaceCompletion, type MapPoi, type MapRegion, type MapRegionCompletion, type MapRoute, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NearestCity, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMap, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSwimlane, type ParsedTechRadar, type ParsedTreemap, type ParsedVersionControl, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PlacedLabel, type PoiPos, type ProjectedCity, type ProjectionFamily, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, type RaciMarker, type RaciPhase, type RaciRoleAssignment, type RaciTask, type RaciVariant, type RadialCell, type RadialLayoutResult, type ReadFileFn, type RegionName, type RegionNames, type RegionToken, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedEdge, type ResolvedGroup$1 as ResolvedGroup, type ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedPoi, type ResolvedRegion, type ResolvedRoute, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, ScaleContext, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type StateCollapseResult, type SwimEdge, type SwimEvent, type SwimLane, type SwimNode, type SwimPhase, type SwimShape, type LayoutBand as SwimlaneLayoutBand, type SwimlaneLayoutResult, type TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type TreemapCell, type TreemapColorMode, type TreemapLayoutResult, type TreemapNode, type TreemapOptions, type VCBranch, type VCNode, type VCNote, type VCOptions, type VCRef, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, autoTagColorCycle, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, chartTypeParsers, chartTypes, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, completeMapPlaces, completeMapRegions, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, createMapGeoQuery, decodeDiagramUrl, decodeViewState, displayName, encodeDiagramUrl, encodeViewState, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, hexToHSL, hexToHSLString, hslToHex, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isExtendedChartType, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBlock, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mix, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePertSourceForShare, orderArcNodes, palettes, parseAndLayoutInfra, parseBlock, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseEventLine, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMap, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseSwimlane, parseTechRadar, parseTimelineDate, parseTreemap, parseVersionControl, parseVisualization, parseWireframe, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerPalette, relayoutPert, render, renderArcDiagram, renderBlock, renderBlockForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolveOrgImports, resolveTaskName, rollUpContextRelationships, sampleBetaPert, searchMapLocations, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, slatePalette, tagAttrKey, themes, tidewaterPalette, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|
|
5719
|
+
export { ALL_CHART_TYPES, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type BlockCell, type BlockGrid, type BlockLayoutItem, type BlockLayoutResult, type BlockNode, type BlockOptions, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CreateMapGeoQueryOptions, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, DgmoError, type DiagramSymbols, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EventLineEra, type EventLineEvent, type EventLineFocus, type EventLineOptions, type ExpandedActivity, type ExtendedChartType, type FocusOrgResult, type FocusResult, type FocusTarget, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, GeoExtent, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, type ImportSource, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions$1 as LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, MapData, type MapExportDimensions, type MapGeoQuery, type MapLayout, type MapLayoutInset, type MapLayoutLeg, MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapLayoutStretch, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NearestCity, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, ParsedMap, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSwimlane, type ParsedTechRadar, type ParsedTreemap, type ParsedVersionControl, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PlacedLabel, type ProjectedCity, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, type RaciMarker, type RaciPhase, type RaciRoleAssignment, type RaciTask, type RaciVariant, type RadialCell, type RadialLayoutResult, type ReadFileFn, type RegionToken, type RelationshipType, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, ScaleContext, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type StateCollapseResult, type SwimEdge, type SwimEvent, type SwimLane, type SwimNode, type SwimPhase, type SwimShape, type LayoutBand as SwimlaneLayoutBand, type SwimlaneLayoutResult, TagEntry, TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type TreemapCell, type TreemapColorMode, type TreemapLayoutResult, type TreemapNode, type TreemapOptions, type VCBranch, type VCNode, type VCNote, type VCOptions, type VCRef, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, formatDateLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, hexToHSL, hexToHSLString, hslToHex, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, layoutBlock, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mix, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePertSourceForShare, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMap, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseSwimlane, parseTechRadar, parseTimelineDate, parseTreemap, parseVersionControl, parseVisualization, parseWireframe, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, relayoutPert, render, renderArcDiagram, renderBlock, renderBlockForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolveOrgImports, resolveTaskName, rollUpContextRelationships, sampleBetaPert, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, slatePalette, tidewaterPalette, tint, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra, validateLabelCharacters };
|