@diagrammo/dgmo 0.61.0 → 0.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/advanced.d.ts +382 -396
- package/dist/advanced.js +152 -38
- package/dist/auto.js +143 -142
- package/dist/block.js +9 -8
- package/dist/{chart-meta-gUwAzi7N.d.ts → chart-meta-D98NbYDp.d.ts} +1 -1
- package/dist/chart-meta.d.ts +2 -2
- package/dist/chart-meta.js +1 -1
- package/dist/{charts-d3-MN6QCYKU.js → charts-d3-M76E4TZU.js} +5 -5
- package/dist/{chunk-6CWNVQPW.js → chunk-2LN5C6FH.js} +3 -3
- package/dist/{chunk-FXLGBUIQ.js → chunk-34HQALZ5.js} +2 -2
- package/dist/{chunk-OPBZYISB.js → chunk-37EHGTQ2.js} +2204 -2018
- package/dist/{chunk-ZDFIY6WX.js → chunk-3PVUGECM.js} +1 -2
- package/dist/{chunk-XJZCXNWR.js → chunk-BGITRLTR.js} +2 -2
- package/dist/{chunk-3OLO2MZ6.js → chunk-BPINSP65.js} +2 -2
- package/dist/{chunk-VHO3YBTB.js → chunk-CVVICCSB.js} +24 -2
- package/dist/{chunk-DZZWR6GT.js → chunk-DUHKYKI7.js} +2 -2
- package/dist/{chunk-4B5YISOR.js → chunk-EOYPX6SF.js} +24 -1
- package/dist/{chunk-MOT3NXB5.js → chunk-FVYHDZ6Q.js} +2 -2
- package/dist/{chunk-7FTGNJQ2.js → chunk-GCVTU64J.js} +17 -5
- package/dist/{chunk-S23HOUJS.js → chunk-JU2VMFYC.js} +2 -2
- package/dist/{chunk-CQ7Y3O67.js → chunk-KHTKMVKT.js} +2 -2
- package/dist/{chunk-7BJQUII6.js → chunk-KK5LQIN7.js} +2 -2
- package/dist/{chunk-L43KTQTW.js → chunk-L26ZAPNJ.js} +2 -2
- package/dist/{chunk-LRKGF7RN.js → chunk-L4B4GRVS.js} +2 -2
- package/dist/{chunk-5PWIV7ZF.js → chunk-LFAQ4BLZ.js} +2 -2
- package/dist/{chunk-7QCYHZVO.js → chunk-NQH2Q2RR.js} +2 -2
- package/dist/{chunk-PFGJ7SCM.js → chunk-PUFWYDWP.js} +2 -2
- package/dist/{chunk-BSJIPMPG.js → chunk-QDPMTFB4.js} +45 -32
- package/dist/chunk-RU2HHHYA.js +23 -0
- package/dist/{chunk-SMHTYVMK.js → chunk-RZRMSNO7.js} +2 -2
- package/dist/{chunk-HJ6TMHQG.js → chunk-SV7F363F.js} +2 -2
- package/dist/{chunk-YJCILMEA.js → chunk-U22TKD3L.js} +2 -2
- package/dist/{chunk-2WPLOS4Q.js → chunk-USHDV2AF.js} +2 -2
- package/dist/{chunk-DNSEG6P2.js → chunk-WMHHNK44.js} +2 -2
- package/dist/{chunk-4BEAHH6G.js → chunk-XXDEQSW4.js} +2 -2
- package/dist/{chunk-NEV5IW33.js → chunk-YVI3JL3S.js} +2 -2
- package/dist/{registry-Ch0Umdi1.d.ts → dgmo-router-Dd5PTjxl.d.ts} +98 -98
- package/dist/{dgmo-router-UVYAJCAF.js → dgmo-router-Z5N6QLIC.js} +2 -2
- package/dist/{dimensions-QCPOPPKE.js → dimensions-ES6O2T4H.js} +4 -4
- package/dist/element.js +144 -143
- package/dist/{flowchart-renderer-XFDCX7MZ.js → flowchart-renderer-BCVCIZHF.js} +3 -3
- package/dist/index.d.ts +21 -10
- package/dist/index.js +13 -23
- package/dist/{renderer-CXRSD26Q.js → renderer-4VDSMPYU.js} +4 -4
- package/dist/{renderer-62FFDWMY.js → renderer-5HYDLCMX.js} +3 -3
- package/dist/{renderer-XSHOMUJQ.js → renderer-726UVOKE.js} +3 -3
- package/dist/{renderer-IYMA5W7X.js → renderer-A5GFW2XH.js} +4 -4
- package/dist/{renderer-VYMTBSF4.js → renderer-HPQJRSON.js} +3 -3
- package/dist/{renderer-GESKWINV.js → renderer-K3TH5PP7.js} +4 -4
- package/dist/{renderer-4RQ5PGHY.js → renderer-KHVAM4IY.js} +3 -3
- package/dist/{renderer-2PGIIOFN.js → renderer-KKNXTTFE.js} +5 -5
- package/dist/{renderer-IG5PQXEM.js → renderer-PKST5W6U.js} +4 -4
- package/dist/{renderer-R6OKKSVR.js → renderer-Q2YHQQSN.js} +4 -4
- package/dist/{renderer-6QW5OAJG.js → renderer-TTMBG2N6.js} +2 -2
- package/dist/{renderer-AS6LLDZM.js → renderer-XDL6PRLN.js} +3 -3
- package/dist/{renderer-63MLWS6L.js → renderer-XIJO7DYS.js} +3 -3
- package/dist/{resolver-W3WKLWDP.js → resolver-B3TXWNWF.js} +3 -3
- package/dist/{state-renderer-GBHDOEXR.js → state-renderer-MCWCZ76U.js} +3 -3
- package/dist/{themes-DC6u80yr.d.ts → themes-DiUAG4Bf.d.ts} +37 -2
- package/docs/ai-integration.md +5 -5
- package/fonts/Inter-Bold.ttf +0 -0
- package/fonts/Inter-Bold.woff2 +0 -0
- package/fonts/Inter-Regular.ttf +0 -0
- package/fonts/Inter-Regular.woff2 +0 -0
- package/package.json +8 -23
- package/.claude/commands/dgmo-codebase-report.md +0 -172
- package/.claude/commands/dgmo-diagram-this.md +0 -60
- package/.claude/commands/dgmo-document-project.md +0 -128
- package/.claude/commands/dgmo.md +0 -313
- package/.cursorrules +0 -587
- package/.github/copilot-instructions.md +0 -597
- package/.windsurfrules +0 -587
- package/SKILL.md +0 -573
- package/dist/auto.d.ts +0 -60
- package/dist/auto.mjs +0 -88466
- package/dist/chunk-6MTWIQVO.js +0 -121
- package/dist/chunk-NZ5QVASG.js +0 -20
- package/dist/cli.cjs +0 -489
- package/dist/element.d.ts +0 -68
- package/dist/element.mjs +0 -88332
- package/dist/load-data-EHDDZ5ZS.js +0 -8
package/dist/advanced.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { l as CHART_TYPE_DESCRIPTIONS, b as ChartTypeId, c as ChartTypeMeta, m as DecodedDiagramUrl, d as DgmoSeverity, n as EncodeDiagramUrlOptions, o as EncodeDiagramUrlResult, R as RenderCategory, q as autoTagColorCycle, s as chartTypeParsers, g as chartTypes, t as decodeDiagramUrl, u as decodeViewState, v as encodeDiagramUrl, w as encodeViewState, i as formatDgmoError, x as getAllChartTypes, y as getAvailablePalettes, j as getPalette, z as getRenderCategory, A as isExtendedChartType, B as isValidHex, F as knownChartTypeIds, G as makeDgmoError, p as parseDgmo, H as parseDgmoChartType, I as registerPalette, J as tagAttrKey, p as validate } from './
|
|
3
|
-
import {
|
|
4
|
-
export { A as AirportData, B as BoundaryTopology, G as Gazetteer, a as GazetteerEntry,
|
|
1
|
+
import { a as DgmoError, P as PaletteConfig, T as TagGroup, f as PaletteColors, C as CompactViewState, k as TagEntry } from './dgmo-router-Dd5PTjxl.js';
|
|
2
|
+
export { l as CHART_TYPE_DESCRIPTIONS, b as ChartTypeId, c as ChartTypeMeta, m as DecodedDiagramUrl, d as DgmoSeverity, n as EncodeDiagramUrlOptions, o as EncodeDiagramUrlResult, R as RenderCategory, q as autoTagColorCycle, s as chartTypeParsers, g as chartTypes, t as decodeDiagramUrl, u as decodeViewState, v as encodeDiagramUrl, w as encodeViewState, i as formatDgmoError, x as getAllChartTypes, y as getAvailablePalettes, j as getPalette, z as getRenderCategory, A as isExtendedChartType, B as isValidHex, F as knownChartTypeIds, G as makeDgmoError, p as parseDgmo, H as parseDgmoChartType, I as registerPalette, J as tagAttrKey, p as validate } from './dgmo-router-Dd5PTjxl.js';
|
|
3
|
+
import { M as MapDataSource, P as ParsedMap, c as MapData, j as ResolvedMap, k as MapLayoutLegend, l as GeoExtent } from './themes-DiUAG4Bf.js';
|
|
4
|
+
export { A as AirportData, B as BoundaryTopology, G as Gazetteer, a as GazetteerEntry, b as MapCompletionOptions, m as MapDirectives, n as MapEdge, d as MapLocationMatch, e as MapPlaceCompletion, o as MapPoi, q as MapRegion, f as MapRegionCompletion, r as MapRoute, u as PoiPos, v as ProjectionFamily, R as RegionName, g as RegionNames, w as ResolvedEdge, x as ResolvedPoi, y as ResolvedRegion, z as ResolvedRoute, T as Theme, h as completeMapPlaces, i as completeMapRegions, p as palettes, C as renderForExport, s as searchMapLocations, t as themes } from './themes-DiUAG4Bf.js';
|
|
5
5
|
import { Selection } from 'd3-selection';
|
|
6
6
|
import * as d3Scale from 'd3-scale';
|
|
7
|
-
import { P as ParsedOrg, F as FillMode, R as RaciMarker, a as ParsedRaci, b as RaciVariant, c as RaciTask } from './chart-meta-
|
|
8
|
-
export { A as ALL_CHART_TYPES, I as ImportSource, O as OrgNode, d as RaciPhase, e as RaciRoleAssignment, f as ReadFileFn, g as ResolveImportsResult, h as contrastText, i as getSeriesColors, j as hexToHSL, k as hexToHSLString, l as hslToHex, m as mix, n as normalizePertSourceForShare, p as parseFirstLine, o as parseOrg, q as parseRaci, r as resolveOrgImports, s as shade, t as shapeFill, u as tint } from './chart-meta-
|
|
7
|
+
import { P as ParsedOrg, F as FillMode, R as RaciMarker, a as ParsedRaci, b as RaciVariant, c as RaciTask } from './chart-meta-D98NbYDp.js';
|
|
8
|
+
export { A as ALL_CHART_TYPES, I as ImportSource, O as OrgNode, d as RaciPhase, e as RaciRoleAssignment, f as ReadFileFn, g as ResolveImportsResult, h as contrastText, i as getSeriesColors, j as hexToHSL, k as hexToHSLString, l as hslToHex, m as mix, n as normalizePertSourceForShare, p as parseFirstLine, o as parseOrg, q as parseRaci, r as resolveOrgImports, s as shade, t as shapeFill, u as tint } from './chart-meta-D98NbYDp.js';
|
|
9
9
|
import { GeoProjection } from 'd3-geo';
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -64,6 +64,260 @@ type Brand<T, B extends string> = T & {
|
|
|
64
64
|
readonly __brand: B;
|
|
65
65
|
};
|
|
66
66
|
|
|
67
|
+
declare const atlasPalette: PaletteConfig;
|
|
68
|
+
|
|
69
|
+
declare const blueprintPalette: PaletteConfig;
|
|
70
|
+
|
|
71
|
+
declare const catppuccinPalette: PaletteConfig;
|
|
72
|
+
|
|
73
|
+
declare const nordPalette: PaletteConfig;
|
|
74
|
+
|
|
75
|
+
declare const slatePalette: PaletteConfig;
|
|
76
|
+
|
|
77
|
+
declare const tidewaterPalette: PaletteConfig;
|
|
78
|
+
|
|
79
|
+
declare const tokyoNightPalette: PaletteConfig;
|
|
80
|
+
|
|
81
|
+
type TimelineSort = 'time' | 'group' | 'tag';
|
|
82
|
+
interface TimelineEvent {
|
|
83
|
+
date: string;
|
|
84
|
+
endDate: string | null;
|
|
85
|
+
label: string;
|
|
86
|
+
group: string | null;
|
|
87
|
+
metadata: Record<string, string>;
|
|
88
|
+
lineNumber: number;
|
|
89
|
+
uncertain?: boolean;
|
|
90
|
+
}
|
|
91
|
+
interface TimelineGroup {
|
|
92
|
+
name: string;
|
|
93
|
+
color: string | null;
|
|
94
|
+
metadata: Record<string, string>;
|
|
95
|
+
lineNumber: number;
|
|
96
|
+
}
|
|
97
|
+
interface TimelineEra {
|
|
98
|
+
startDate: string;
|
|
99
|
+
endDate: string;
|
|
100
|
+
label: string;
|
|
101
|
+
color: string | null;
|
|
102
|
+
lineNumber: number;
|
|
103
|
+
}
|
|
104
|
+
interface TimelineMarker {
|
|
105
|
+
date: string;
|
|
106
|
+
label: string;
|
|
107
|
+
color: string | null;
|
|
108
|
+
lineNumber: number;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
interface D3ExportDimensions {
|
|
112
|
+
width?: number;
|
|
113
|
+
height?: number;
|
|
114
|
+
/** Map-only: when true, the map renderer suppresses its global stretch-fill and
|
|
115
|
+
* contain-fits (letterbox) instead. Set by `mapExportDimensions` when the export
|
|
116
|
+
* canvas was clamped/floored away from the map's content aspect, so the
|
|
117
|
+
* off-aspect canvas doesn't re-distort. Ignored by all non-map renderers. */
|
|
118
|
+
preferContain?: boolean;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
type VisualizationType = 'slope' | 'wordcloud' | 'arc' | 'timeline' | 'venn' | 'quadrant' | 'sequence' | 'tech-radar' | 'cycle' | 'pyramid' | 'ring';
|
|
122
|
+
interface D3DataItem {
|
|
123
|
+
label: string;
|
|
124
|
+
values: number[];
|
|
125
|
+
color: string | null;
|
|
126
|
+
lineNumber: number;
|
|
127
|
+
}
|
|
128
|
+
interface WordCloudWord {
|
|
129
|
+
text: string;
|
|
130
|
+
weight: number;
|
|
131
|
+
lineNumber: number;
|
|
132
|
+
}
|
|
133
|
+
type WordCloudRotate = 'none' | 'mixed' | 'angled';
|
|
134
|
+
interface WordCloudOptions {
|
|
135
|
+
rotate: WordCloudRotate;
|
|
136
|
+
max: number;
|
|
137
|
+
minSize: number;
|
|
138
|
+
maxSize: number;
|
|
139
|
+
}
|
|
140
|
+
interface ArcLink {
|
|
141
|
+
source: string;
|
|
142
|
+
target: string;
|
|
143
|
+
value: number;
|
|
144
|
+
color: string | null;
|
|
145
|
+
lineNumber: number;
|
|
146
|
+
}
|
|
147
|
+
type ArcOrder = 'appearance' | 'name' | 'group' | 'degree';
|
|
148
|
+
interface ArcNodeGroup {
|
|
149
|
+
name: string;
|
|
150
|
+
nodes: string[];
|
|
151
|
+
color: string | null;
|
|
152
|
+
lineNumber: number;
|
|
153
|
+
}
|
|
154
|
+
interface VennSet {
|
|
155
|
+
name: string;
|
|
156
|
+
alias: string | null;
|
|
157
|
+
color: string | null;
|
|
158
|
+
lineNumber: number;
|
|
159
|
+
}
|
|
160
|
+
interface VennOverlap {
|
|
161
|
+
sets: string[];
|
|
162
|
+
label: string | null;
|
|
163
|
+
lineNumber: number;
|
|
164
|
+
}
|
|
165
|
+
interface QuadrantLabel {
|
|
166
|
+
text: string;
|
|
167
|
+
color: string | null;
|
|
168
|
+
lineNumber: number;
|
|
169
|
+
}
|
|
170
|
+
interface QuadrantPoint {
|
|
171
|
+
label: string;
|
|
172
|
+
x: number;
|
|
173
|
+
y: number;
|
|
174
|
+
lineNumber: number;
|
|
175
|
+
}
|
|
176
|
+
interface QuadrantLabels {
|
|
177
|
+
topRight: QuadrantLabel | null;
|
|
178
|
+
topLeft: QuadrantLabel | null;
|
|
179
|
+
bottomLeft: QuadrantLabel | null;
|
|
180
|
+
bottomRight: QuadrantLabel | null;
|
|
181
|
+
}
|
|
182
|
+
/** Fields every visualization shares. */
|
|
183
|
+
interface ParsedVizBase {
|
|
184
|
+
title: string | null;
|
|
185
|
+
titleLineNumber: number | null;
|
|
186
|
+
/** When true, the renderer suppresses the chart title. */
|
|
187
|
+
noTitle?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* §1.9 fill family — `'solid'` renders filled marks at full intent
|
|
190
|
+
* saturation, `'outline'` drops the fill to the theme background (color on
|
|
191
|
+
* the stroke). Honored by renderers with a fillable surface (e.g. venn set
|
|
192
|
+
* circles); a no-op for line/point types. Absent ⇒ canonical muted tint.
|
|
193
|
+
*/
|
|
194
|
+
fillMode?: 'solid' | 'outline';
|
|
195
|
+
diagnostics: DgmoError[];
|
|
196
|
+
error: string | null;
|
|
197
|
+
}
|
|
198
|
+
interface ParsedSlope extends ParsedVizBase {
|
|
199
|
+
type: 'slope';
|
|
200
|
+
periods: string[];
|
|
201
|
+
data: D3DataItem[];
|
|
202
|
+
noName?: boolean;
|
|
203
|
+
noValue?: boolean;
|
|
204
|
+
noPercent?: boolean;
|
|
205
|
+
}
|
|
206
|
+
interface ParsedArc extends ParsedVizBase {
|
|
207
|
+
type: 'arc';
|
|
208
|
+
orientation: 'horizontal' | 'vertical';
|
|
209
|
+
links: ArcLink[];
|
|
210
|
+
arcOrder: ArcOrder;
|
|
211
|
+
arcNodeGroups: ArcNodeGroup[];
|
|
212
|
+
noName?: boolean;
|
|
213
|
+
noValue?: boolean;
|
|
214
|
+
noPercent?: boolean;
|
|
215
|
+
/** `layout arc|chord` override (#26). `chord` re-renders the same edges as a
|
|
216
|
+
* circular chord; absent ⇒ the `arc` linear preset. */
|
|
217
|
+
layout?: 'arc' | 'chord';
|
|
218
|
+
}
|
|
219
|
+
interface ParsedTimeline extends ParsedVizBase {
|
|
220
|
+
type: 'timeline';
|
|
221
|
+
orientation: 'horizontal' | 'vertical';
|
|
222
|
+
timelineEvents: TimelineEvent[];
|
|
223
|
+
timelineGroups: TimelineGroup[];
|
|
224
|
+
timelineEras: TimelineEra[];
|
|
225
|
+
timelineMarkers: TimelineMarker[];
|
|
226
|
+
timelineTagGroups: TagGroup[];
|
|
227
|
+
timelineSort: TimelineSort | null;
|
|
228
|
+
timelineDefaultSwimlaneTG?: string;
|
|
229
|
+
timelineScale: boolean;
|
|
230
|
+
timelineSwimlanes: boolean;
|
|
231
|
+
/** Authored `active-tag <group|none|metric>` directive (§15.6); resolved at render. */
|
|
232
|
+
timelineActiveTag?: string;
|
|
233
|
+
/** §1.9 fill family (`'solid'` | `'outline'`); absent ⇒ 25% tint. */
|
|
234
|
+
fillMode?: 'solid' | 'outline';
|
|
235
|
+
/** When true, the renderer suppresses the tag legend and the vertical band
|
|
236
|
+
* it would occupy (#48). */
|
|
237
|
+
noLegend?: boolean;
|
|
238
|
+
}
|
|
239
|
+
interface ParsedWordcloud extends ParsedVizBase {
|
|
240
|
+
type: 'wordcloud';
|
|
241
|
+
words: WordCloudWord[];
|
|
242
|
+
cloudOptions: WordCloudOptions;
|
|
243
|
+
}
|
|
244
|
+
interface ParsedVenn extends ParsedVizBase {
|
|
245
|
+
type: 'venn';
|
|
246
|
+
vennSets: VennSet[];
|
|
247
|
+
vennOverlaps: VennOverlap[];
|
|
248
|
+
noName?: boolean;
|
|
249
|
+
noValue?: boolean;
|
|
250
|
+
noPercent?: boolean;
|
|
251
|
+
}
|
|
252
|
+
interface ParsedQuadrant extends ParsedVizBase {
|
|
253
|
+
type: 'quadrant';
|
|
254
|
+
quadrantLabels: QuadrantLabels;
|
|
255
|
+
quadrantPoints: QuadrantPoint[];
|
|
256
|
+
quadrantXAxis: [string, string] | null;
|
|
257
|
+
quadrantXAxisLineNumber: number | null;
|
|
258
|
+
quadrantYAxis: [string, string] | null;
|
|
259
|
+
quadrantYAxisLineNumber: number | null;
|
|
260
|
+
quadrantTitleLineNumber: number | null;
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* `sequence` (rendered by its own parser) or an unsupported/empty parse result
|
|
264
|
+
* (`type: null`). Carries only the base fields — callers branch on `error`.
|
|
265
|
+
*/
|
|
266
|
+
interface ParsedVizEmpty extends ParsedVizBase {
|
|
267
|
+
type: 'sequence' | null;
|
|
268
|
+
}
|
|
269
|
+
/** What `parseVisualization` returns: discriminated on `type`. */
|
|
270
|
+
type ParsedVisualization = ParsedSlope | ParsedArc | ParsedTimeline | ParsedWordcloud | ParsedVenn | ParsedQuadrant | ParsedVizEmpty;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Parses D3 chart text format into structured data. Returns the discriminated
|
|
274
|
+
* {@link ParsedVisualization} union; internally the single state machine fills a
|
|
275
|
+
* fat {@link ParsedVizFull} accumulator, which is a structural superset of every
|
|
276
|
+
* variant, so the narrowing is sound and runtime-identical.
|
|
277
|
+
*/
|
|
278
|
+
declare function parseVisualization(content: string, palette?: PaletteColors): ParsedVisualization;
|
|
279
|
+
|
|
280
|
+
type TimelineDurationUnit = 'd' | 'w' | 'm' | 'y' | 'h' | 'min' | 's';
|
|
281
|
+
declare function addDurationToDate(startDate: string, amount: number, unit: TimelineDurationUnit): string;
|
|
282
|
+
declare function parseTimelineDate(s: string): number;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Renders a slope chart into the given container using D3.
|
|
286
|
+
*/
|
|
287
|
+
declare function renderSlopeChart(container: HTMLDivElement, parsed: ParsedSlope, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
288
|
+
|
|
289
|
+
declare function orderArcNodes(links: ArcLink[], order: ArcOrder, groups: ArcNodeGroup[]): string[];
|
|
290
|
+
/**
|
|
291
|
+
* Renders an arc diagram into the given container using D3.
|
|
292
|
+
*/
|
|
293
|
+
declare function renderArcDiagram(container: HTMLDivElement, parsed: ParsedArc, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* Converts a DSL date string to a human-readable label.
|
|
297
|
+
* '1718' → '1718'
|
|
298
|
+
* '1718-05' → 'May 1718'
|
|
299
|
+
* '1718-05-22' → 'May 22, 1718'
|
|
300
|
+
* '2024-06-15 14:30' → 'Jun 15, 2024 14:30'
|
|
301
|
+
* '2024-06-15 14:30:45' → 'Jun 15, 2024 14:30:45'
|
|
302
|
+
* '-753' → '753 BCE' (BCE years stored signed)
|
|
303
|
+
* '-0044-03' → 'Mar 44 BCE'
|
|
304
|
+
*/
|
|
305
|
+
declare function formatDateLabel(dateStr: string): string;
|
|
306
|
+
declare function renderTimeline(container: HTMLDivElement, parsed: ParsedTimeline, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, activeTagGroup?: string | null, swimlaneTagGroup?: string | null, onTagStateChange?: (activeTagGroup: string | null, swimlaneTagGroup: string | null) => void, viewMode?: boolean, exportMode?: boolean): void;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Renders a word cloud into the given container using d3-cloud.
|
|
310
|
+
*/
|
|
311
|
+
declare function renderWordCloud(container: HTMLDivElement, parsed: ParsedWordcloud, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
312
|
+
|
|
313
|
+
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVenn, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Renders a quadrant chart using D3.
|
|
317
|
+
* Displays 4 colored quadrant regions, axis labels, quadrant labels, and data points.
|
|
318
|
+
*/
|
|
319
|
+
declare function renderQuadrant(container: HTMLDivElement, parsed: ParsedQuadrant, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
320
|
+
|
|
67
321
|
/**
|
|
68
322
|
* Render DGMO source to an SVG string.
|
|
69
323
|
*
|
|
@@ -98,9 +352,21 @@ declare function render(content: string, options?: {
|
|
|
98
352
|
};
|
|
99
353
|
/** View state for export — controls interactive state (collapse, swimlanes, etc.) */
|
|
100
354
|
viewState?: CompactViewState;
|
|
101
|
-
/**
|
|
102
|
-
*
|
|
103
|
-
|
|
355
|
+
/**
|
|
356
|
+
* Basemap assets for `map` charts — the data itself, or a loader returning
|
|
357
|
+
* it. `render()` reads nothing from the filesystem or the network on its
|
|
358
|
+
* own, so this is the only way a map obtains a basemap, and its presence
|
|
359
|
+
* here is what tells a caller whether a render can touch the environment.
|
|
360
|
+
*
|
|
361
|
+
* - Node / CLI / SSR: pass the `loadMapData` loader from
|
|
362
|
+
* `@diagrammo/dgmo/advanced`. It is called only when the content really
|
|
363
|
+
* is a map, so a non-map render never pays for it.
|
|
364
|
+
* - Browser / Worker / Obsidian: pass your bundled `MapData`.
|
|
365
|
+
*
|
|
366
|
+
* Omit it and a map renders empty with an `E_MAP_DATA_NOT_SUPPLIED`
|
|
367
|
+
* diagnostic. Every other chart type ignores this option.
|
|
368
|
+
*/
|
|
369
|
+
mapData?: MapDataSource;
|
|
104
370
|
/** Bake pure-CSS hover into the exported SVG (no JS). Default ON — embeds
|
|
105
371
|
* (Obsidian, doc-site wrappers) get hover feedback for free. The desktop
|
|
106
372
|
* app renders its live preview through direct renderer calls (not this
|
|
@@ -149,20 +415,6 @@ declare class ScaleContext {
|
|
|
149
415
|
text(fontSize: number, floor?: number): number;
|
|
150
416
|
}
|
|
151
417
|
|
|
152
|
-
declare const atlasPalette: PaletteConfig;
|
|
153
|
-
|
|
154
|
-
declare const blueprintPalette: PaletteConfig;
|
|
155
|
-
|
|
156
|
-
declare const catppuccinPalette: PaletteConfig;
|
|
157
|
-
|
|
158
|
-
declare const nordPalette: PaletteConfig;
|
|
159
|
-
|
|
160
|
-
declare const slatePalette: PaletteConfig;
|
|
161
|
-
|
|
162
|
-
declare const tidewaterPalette: PaletteConfig;
|
|
163
|
-
|
|
164
|
-
declare const tokyoNightPalette: PaletteConfig;
|
|
165
|
-
|
|
166
418
|
type ChartType$1 = 'bar' | 'line' | 'pie' | 'polar-area' | 'radar';
|
|
167
419
|
interface ChartDataPoint {
|
|
168
420
|
label: string;
|
|
@@ -553,394 +805,127 @@ interface ParsedSankeyLink {
|
|
|
553
805
|
directed?: boolean;
|
|
554
806
|
lineNumber: number;
|
|
555
807
|
}
|
|
556
|
-
interface ParsedFunction {
|
|
557
|
-
name: string;
|
|
558
|
-
expression: string;
|
|
559
|
-
color?: string;
|
|
560
|
-
lineNumber: number;
|
|
561
|
-
}
|
|
562
|
-
interface ParsedScatterPoint {
|
|
563
|
-
name: string;
|
|
564
|
-
x: number;
|
|
565
|
-
y: number;
|
|
566
|
-
size?: number;
|
|
567
|
-
color?: string;
|
|
568
|
-
category?: string;
|
|
569
|
-
lineNumber: number;
|
|
570
|
-
}
|
|
571
|
-
interface ParsedHeatmapRow {
|
|
572
|
-
label: string;
|
|
573
|
-
values: number[];
|
|
574
|
-
lineNumber: number;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
/** Fields shared by every extended data-chart. */
|
|
578
|
-
interface ParsedExtendedBase {
|
|
579
|
-
title?: string;
|
|
580
|
-
titleLineNumber?: number;
|
|
581
|
-
series?: string;
|
|
582
|
-
seriesLineNumber?: number;
|
|
583
|
-
seriesNames?: string[];
|
|
584
|
-
seriesNameLineNumbers?: number[];
|
|
585
|
-
seriesNameColors?: (string | undefined)[];
|
|
586
|
-
data: ExtendedChartDataPoint[];
|
|
587
|
-
xlabel?: string;
|
|
588
|
-
xlabelLineNumber?: number;
|
|
589
|
-
ylabel?: string;
|
|
590
|
-
ylabelLineNumber?: number;
|
|
591
|
-
/** X-axis range — read by both function plots and scatter. */
|
|
592
|
-
xRange?: {
|
|
593
|
-
min: number;
|
|
594
|
-
max: number;
|
|
595
|
-
};
|
|
596
|
-
noName?: boolean;
|
|
597
|
-
noValue?: boolean;
|
|
598
|
-
noPercent?: boolean;
|
|
599
|
-
/** `fill` directive — shade the area below each curve (function charts),
|
|
600
|
-
* parity with the `line` chart's bare `fill`. Opacity follows `fillMode`. */
|
|
601
|
-
fill?: boolean;
|
|
602
|
-
/** §1.9 fill family: `'solid'` = full intent saturation, `'outline'` =
|
|
603
|
-
* theme-background fill with color on the stroke. Absent ⇒ 25% tint. */
|
|
604
|
-
fillMode?: 'solid' | 'outline';
|
|
605
|
-
/** Cross-chart-type: when true, the renderer suppresses the chart title. */
|
|
606
|
-
noTitle?: boolean;
|
|
607
|
-
/** Cross-chart-type: when true, the renderer suppresses the legend and the
|
|
608
|
-
* vertical band it would occupy (#48). */
|
|
609
|
-
noLegend?: boolean;
|
|
610
|
-
/** §1.9 `legend-inline`: title + series legend on one line (see ParsedChart).
|
|
611
|
-
* Honoured by scatter/function among the extended charts (decision #50). */
|
|
612
|
-
legendInline?: boolean;
|
|
613
|
-
/** §1.11 emphasis family: `highlight <Name>…` / `dim <Name>…`. Chart-level,
|
|
614
|
-
* mutually exclusive, last-one-wins. Resolved against real element names at
|
|
615
|
-
* render time via `resolveEmphasis`. */
|
|
616
|
-
emphasis?: EmphasisDirective;
|
|
617
|
-
categoryColors?: Record<string, string>;
|
|
618
|
-
categoryLineNumbers?: Record<string, number>;
|
|
619
|
-
nodeColors?: Record<string, string>;
|
|
620
|
-
diagnostics: DgmoError[];
|
|
621
|
-
error: string | null;
|
|
622
|
-
}
|
|
623
|
-
interface ParsedSankey extends ParsedExtendedBase {
|
|
624
|
-
type: 'sankey';
|
|
625
|
-
links?: ParsedSankeyLink[];
|
|
626
|
-
}
|
|
627
|
-
interface ParsedChord extends ParsedExtendedBase {
|
|
628
|
-
type: 'chord';
|
|
629
|
-
links?: ParsedSankeyLink[];
|
|
630
|
-
/** `layout arc|chord` override (#26). `arc` re-renders the same edges as a
|
|
631
|
-
* linear arc; absent ⇒ the `chord` circular preset. */
|
|
632
|
-
layout?: 'arc' | 'chord';
|
|
633
|
-
}
|
|
634
|
-
interface ParsedFunctionChart extends ParsedExtendedBase {
|
|
635
|
-
type: 'function';
|
|
636
|
-
functions?: ParsedFunction[];
|
|
637
|
-
}
|
|
638
|
-
interface ParsedScatter extends ParsedExtendedBase {
|
|
639
|
-
type: 'scatter';
|
|
640
|
-
scatterPoints?: ParsedScatterPoint[];
|
|
641
|
-
sizelabel?: string;
|
|
642
|
-
}
|
|
643
|
-
interface ParsedHeatmap extends ParsedExtendedBase {
|
|
644
|
-
type: 'heatmap';
|
|
645
|
-
heatmapRows?: ParsedHeatmapRow[];
|
|
646
|
-
columns?: string[];
|
|
647
|
-
rows?: string[];
|
|
648
|
-
}
|
|
649
|
-
interface ParsedFunnel extends ParsedExtendedBase {
|
|
650
|
-
type: 'funnel';
|
|
651
|
-
}
|
|
652
|
-
/** What `parseExtendedChart` returns: discriminated on `type`. */
|
|
653
|
-
type ParsedExtendedChart = ParsedSankey | ParsedChord | ParsedFunctionChart | ParsedScatter | ParsedHeatmap | ParsedFunnel;
|
|
654
|
-
/**
|
|
655
|
-
* Parses extended chart content into a structured object.
|
|
656
|
-
*
|
|
657
|
-
* Format (colon-free):
|
|
658
|
-
* ```
|
|
659
|
-
* scatter My Chart
|
|
660
|
-
* xlabel Weight
|
|
661
|
-
*
|
|
662
|
-
* Alice 165, 60
|
|
663
|
-
* Bob 180, 85
|
|
664
|
-
* ```
|
|
665
|
-
*/
|
|
666
|
-
declare function parseExtendedChart(content: string, palette?: PaletteColors): ParsedExtendedChart;
|
|
667
|
-
/**
|
|
668
|
-
* Extracts legend group data from standard chart types (multi-series line/bar).
|
|
669
|
-
* Returns empty array if chart has no multi-series legend.
|
|
670
|
-
*/
|
|
671
|
-
declare function getSimpleChartLegendGroups(parsed: ParsedChart, colors: string[]): LegendGroupData[];
|
|
672
|
-
/**
|
|
673
|
-
* Extracts legend group data from extended chart types.
|
|
674
|
-
* Supports scatter (categories), chord (nodes), and function (series).
|
|
675
|
-
*/
|
|
676
|
-
declare function getExtendedChartLegendGroups(parsed: ParsedExtendedChart, colors: string[]): LegendGroupData[];
|
|
677
|
-
|
|
678
|
-
type TimelineSort = 'time' | 'group' | 'tag';
|
|
679
|
-
interface TimelineEvent {
|
|
680
|
-
date: string;
|
|
681
|
-
endDate: string | null;
|
|
682
|
-
label: string;
|
|
683
|
-
group: string | null;
|
|
684
|
-
metadata: Record<string, string>;
|
|
685
|
-
lineNumber: number;
|
|
686
|
-
uncertain?: boolean;
|
|
687
|
-
}
|
|
688
|
-
interface TimelineGroup {
|
|
689
|
-
name: string;
|
|
690
|
-
color: string | null;
|
|
691
|
-
metadata: Record<string, string>;
|
|
692
|
-
lineNumber: number;
|
|
693
|
-
}
|
|
694
|
-
interface TimelineEra {
|
|
695
|
-
startDate: string;
|
|
696
|
-
endDate: string;
|
|
697
|
-
label: string;
|
|
698
|
-
color: string | null;
|
|
699
|
-
lineNumber: number;
|
|
700
|
-
}
|
|
701
|
-
interface TimelineMarker {
|
|
702
|
-
date: string;
|
|
703
|
-
label: string;
|
|
704
|
-
color: string | null;
|
|
705
|
-
lineNumber: number;
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
interface D3ExportDimensions {
|
|
709
|
-
width?: number;
|
|
710
|
-
height?: number;
|
|
711
|
-
/** Map-only: when true, the map renderer suppresses its global stretch-fill and
|
|
712
|
-
* contain-fits (letterbox) instead. Set by `mapExportDimensions` when the export
|
|
713
|
-
* canvas was clamped/floored away from the map's content aspect, so the
|
|
714
|
-
* off-aspect canvas doesn't re-distort. Ignored by all non-map renderers. */
|
|
715
|
-
preferContain?: boolean;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
type VisualizationType = 'slope' | 'wordcloud' | 'arc' | 'timeline' | 'venn' | 'quadrant' | 'sequence' | 'tech-radar' | 'cycle' | 'pyramid' | 'ring';
|
|
719
|
-
interface D3DataItem {
|
|
720
|
-
label: string;
|
|
721
|
-
values: number[];
|
|
722
|
-
color: string | null;
|
|
723
|
-
lineNumber: number;
|
|
724
|
-
}
|
|
725
|
-
interface WordCloudWord {
|
|
726
|
-
text: string;
|
|
727
|
-
weight: number;
|
|
728
|
-
lineNumber: number;
|
|
729
|
-
}
|
|
730
|
-
type WordCloudRotate = 'none' | 'mixed' | 'angled';
|
|
731
|
-
interface WordCloudOptions {
|
|
732
|
-
rotate: WordCloudRotate;
|
|
733
|
-
max: number;
|
|
734
|
-
minSize: number;
|
|
735
|
-
maxSize: number;
|
|
736
|
-
}
|
|
737
|
-
interface ArcLink {
|
|
738
|
-
source: string;
|
|
739
|
-
target: string;
|
|
740
|
-
value: number;
|
|
741
|
-
color: string | null;
|
|
742
|
-
lineNumber: number;
|
|
743
|
-
}
|
|
744
|
-
type ArcOrder = 'appearance' | 'name' | 'group' | 'degree';
|
|
745
|
-
interface ArcNodeGroup {
|
|
746
|
-
name: string;
|
|
747
|
-
nodes: string[];
|
|
748
|
-
color: string | null;
|
|
749
|
-
lineNumber: number;
|
|
750
|
-
}
|
|
751
|
-
interface VennSet {
|
|
752
|
-
name: string;
|
|
753
|
-
alias: string | null;
|
|
754
|
-
color: string | null;
|
|
755
|
-
lineNumber: number;
|
|
756
|
-
}
|
|
757
|
-
interface VennOverlap {
|
|
758
|
-
sets: string[];
|
|
759
|
-
label: string | null;
|
|
760
|
-
lineNumber: number;
|
|
761
|
-
}
|
|
762
|
-
interface QuadrantLabel {
|
|
763
|
-
text: string;
|
|
764
|
-
color: string | null;
|
|
808
|
+
interface ParsedFunction {
|
|
809
|
+
name: string;
|
|
810
|
+
expression: string;
|
|
811
|
+
color?: string;
|
|
765
812
|
lineNumber: number;
|
|
766
813
|
}
|
|
767
|
-
interface
|
|
768
|
-
|
|
814
|
+
interface ParsedScatterPoint {
|
|
815
|
+
name: string;
|
|
769
816
|
x: number;
|
|
770
817
|
y: number;
|
|
818
|
+
size?: number;
|
|
819
|
+
color?: string;
|
|
820
|
+
category?: string;
|
|
771
821
|
lineNumber: number;
|
|
772
822
|
}
|
|
773
|
-
interface
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
bottomRight: QuadrantLabel | null;
|
|
823
|
+
interface ParsedHeatmapRow {
|
|
824
|
+
label: string;
|
|
825
|
+
values: number[];
|
|
826
|
+
lineNumber: number;
|
|
778
827
|
}
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
828
|
+
|
|
829
|
+
/** Fields shared by every extended data-chart. */
|
|
830
|
+
interface ParsedExtendedBase {
|
|
831
|
+
title?: string;
|
|
832
|
+
titleLineNumber?: number;
|
|
833
|
+
series?: string;
|
|
834
|
+
seriesLineNumber?: number;
|
|
835
|
+
seriesNames?: string[];
|
|
836
|
+
seriesNameLineNumbers?: number[];
|
|
837
|
+
seriesNameColors?: (string | undefined)[];
|
|
838
|
+
data: ExtendedChartDataPoint[];
|
|
839
|
+
xlabel?: string;
|
|
840
|
+
xlabelLineNumber?: number;
|
|
841
|
+
ylabel?: string;
|
|
842
|
+
ylabelLineNumber?: number;
|
|
843
|
+
/** X-axis range — read by both function plots and scatter. */
|
|
844
|
+
xRange?: {
|
|
845
|
+
min: number;
|
|
846
|
+
max: number;
|
|
847
|
+
};
|
|
848
|
+
noName?: boolean;
|
|
849
|
+
noValue?: boolean;
|
|
850
|
+
noPercent?: boolean;
|
|
851
|
+
/** `fill` directive — shade the area below each curve (function charts),
|
|
852
|
+
* parity with the `line` chart's bare `fill`. Opacity follows `fillMode`. */
|
|
853
|
+
fill?: boolean;
|
|
854
|
+
/** §1.9 fill family: `'solid'` = full intent saturation, `'outline'` =
|
|
855
|
+
* theme-background fill with color on the stroke. Absent ⇒ 25% tint. */
|
|
791
856
|
fillMode?: 'solid' | 'outline';
|
|
857
|
+
/** Cross-chart-type: when true, the renderer suppresses the chart title. */
|
|
858
|
+
noTitle?: boolean;
|
|
859
|
+
/** Cross-chart-type: when true, the renderer suppresses the legend and the
|
|
860
|
+
* vertical band it would occupy (#48). */
|
|
861
|
+
noLegend?: boolean;
|
|
862
|
+
/** §1.9 `legend-inline`: title + series legend on one line (see ParsedChart).
|
|
863
|
+
* Honoured by scatter/function among the extended charts (decision #50). */
|
|
864
|
+
legendInline?: boolean;
|
|
865
|
+
/** §1.11 emphasis family: `highlight <Name>…` / `dim <Name>…`. Chart-level,
|
|
866
|
+
* mutually exclusive, last-one-wins. Resolved against real element names at
|
|
867
|
+
* render time via `resolveEmphasis`. */
|
|
868
|
+
emphasis?: EmphasisDirective;
|
|
869
|
+
categoryColors?: Record<string, string>;
|
|
870
|
+
categoryLineNumbers?: Record<string, number>;
|
|
871
|
+
nodeColors?: Record<string, string>;
|
|
792
872
|
diagnostics: DgmoError[];
|
|
793
873
|
error: string | null;
|
|
794
874
|
}
|
|
795
|
-
interface
|
|
796
|
-
type: '
|
|
797
|
-
|
|
798
|
-
data: D3DataItem[];
|
|
799
|
-
noName?: boolean;
|
|
800
|
-
noValue?: boolean;
|
|
801
|
-
noPercent?: boolean;
|
|
875
|
+
interface ParsedSankey extends ParsedExtendedBase {
|
|
876
|
+
type: 'sankey';
|
|
877
|
+
links?: ParsedSankeyLink[];
|
|
802
878
|
}
|
|
803
|
-
interface
|
|
804
|
-
type: '
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
arcNodeGroups: ArcNodeGroup[];
|
|
809
|
-
noName?: boolean;
|
|
810
|
-
noValue?: boolean;
|
|
811
|
-
noPercent?: boolean;
|
|
812
|
-
/** `layout arc|chord` override (#26). `chord` re-renders the same edges as a
|
|
813
|
-
* circular chord; absent ⇒ the `arc` linear preset. */
|
|
879
|
+
interface ParsedChord extends ParsedExtendedBase {
|
|
880
|
+
type: 'chord';
|
|
881
|
+
links?: ParsedSankeyLink[];
|
|
882
|
+
/** `layout arc|chord` override (#26). `arc` re-renders the same edges as a
|
|
883
|
+
* linear arc; absent ⇒ the `chord` circular preset. */
|
|
814
884
|
layout?: 'arc' | 'chord';
|
|
815
885
|
}
|
|
816
|
-
interface
|
|
817
|
-
type: '
|
|
818
|
-
|
|
819
|
-
timelineEvents: TimelineEvent[];
|
|
820
|
-
timelineGroups: TimelineGroup[];
|
|
821
|
-
timelineEras: TimelineEra[];
|
|
822
|
-
timelineMarkers: TimelineMarker[];
|
|
823
|
-
timelineTagGroups: TagGroup[];
|
|
824
|
-
timelineSort: TimelineSort | null;
|
|
825
|
-
timelineDefaultSwimlaneTG?: string;
|
|
826
|
-
timelineScale: boolean;
|
|
827
|
-
timelineSwimlanes: boolean;
|
|
828
|
-
/** Authored `active-tag <group|none|metric>` directive (§15.6); resolved at render. */
|
|
829
|
-
timelineActiveTag?: string;
|
|
830
|
-
/** §1.9 fill family (`'solid'` | `'outline'`); absent ⇒ 25% tint. */
|
|
831
|
-
fillMode?: 'solid' | 'outline';
|
|
832
|
-
/** When true, the renderer suppresses the tag legend and the vertical band
|
|
833
|
-
* it would occupy (#48). */
|
|
834
|
-
noLegend?: boolean;
|
|
835
|
-
}
|
|
836
|
-
interface ParsedWordcloud extends ParsedVizBase {
|
|
837
|
-
type: 'wordcloud';
|
|
838
|
-
words: WordCloudWord[];
|
|
839
|
-
cloudOptions: WordCloudOptions;
|
|
886
|
+
interface ParsedFunctionChart extends ParsedExtendedBase {
|
|
887
|
+
type: 'function';
|
|
888
|
+
functions?: ParsedFunction[];
|
|
840
889
|
}
|
|
841
|
-
interface
|
|
842
|
-
type: '
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
noName?: boolean;
|
|
846
|
-
noValue?: boolean;
|
|
847
|
-
noPercent?: boolean;
|
|
890
|
+
interface ParsedScatter extends ParsedExtendedBase {
|
|
891
|
+
type: 'scatter';
|
|
892
|
+
scatterPoints?: ParsedScatterPoint[];
|
|
893
|
+
sizelabel?: string;
|
|
848
894
|
}
|
|
849
|
-
interface
|
|
850
|
-
type: '
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
quadrantXAxisLineNumber: number | null;
|
|
855
|
-
quadrantYAxis: [string, string] | null;
|
|
856
|
-
quadrantYAxisLineNumber: number | null;
|
|
857
|
-
quadrantTitleLineNumber: number | null;
|
|
895
|
+
interface ParsedHeatmap extends ParsedExtendedBase {
|
|
896
|
+
type: 'heatmap';
|
|
897
|
+
heatmapRows?: ParsedHeatmapRow[];
|
|
898
|
+
columns?: string[];
|
|
899
|
+
rows?: string[];
|
|
858
900
|
}
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
* (`type: null`). Carries only the base fields — callers branch on `error`.
|
|
862
|
-
*/
|
|
863
|
-
interface ParsedVizEmpty extends ParsedVizBase {
|
|
864
|
-
type: 'sequence' | null;
|
|
901
|
+
interface ParsedFunnel extends ParsedExtendedBase {
|
|
902
|
+
type: 'funnel';
|
|
865
903
|
}
|
|
866
|
-
/** What `
|
|
867
|
-
type
|
|
868
|
-
|
|
869
|
-
/**
|
|
870
|
-
* Parses D3 chart text format into structured data. Returns the discriminated
|
|
871
|
-
* {@link ParsedVisualization} union; internally the single state machine fills a
|
|
872
|
-
* fat {@link ParsedVizFull} accumulator, which is a structural superset of every
|
|
873
|
-
* variant, so the narrowing is sound and runtime-identical.
|
|
874
|
-
*/
|
|
875
|
-
declare function parseVisualization(content: string, palette?: PaletteColors): ParsedVisualization;
|
|
876
|
-
|
|
877
|
-
type TimelineDurationUnit = 'd' | 'w' | 'm' | 'y' | 'h' | 'min' | 's';
|
|
878
|
-
declare function addDurationToDate(startDate: string, amount: number, unit: TimelineDurationUnit): string;
|
|
879
|
-
declare function parseTimelineDate(s: string): number;
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* Renders a slope chart into the given container using D3.
|
|
883
|
-
*/
|
|
884
|
-
declare function renderSlopeChart(container: HTMLDivElement, parsed: ParsedSlope, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
885
|
-
|
|
886
|
-
declare function orderArcNodes(links: ArcLink[], order: ArcOrder, groups: ArcNodeGroup[]): string[];
|
|
887
|
-
/**
|
|
888
|
-
* Renders an arc diagram into the given container using D3.
|
|
889
|
-
*/
|
|
890
|
-
declare function renderArcDiagram(container: HTMLDivElement, parsed: ParsedArc, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
891
|
-
|
|
892
|
-
/**
|
|
893
|
-
* Converts a DSL date string to a human-readable label.
|
|
894
|
-
* '1718' → '1718'
|
|
895
|
-
* '1718-05' → 'May 1718'
|
|
896
|
-
* '1718-05-22' → 'May 22, 1718'
|
|
897
|
-
* '2024-06-15 14:30' → 'Jun 15, 2024 14:30'
|
|
898
|
-
* '2024-06-15 14:30:45' → 'Jun 15, 2024 14:30:45'
|
|
899
|
-
* '-753' → '753 BCE' (BCE years stored signed)
|
|
900
|
-
* '-0044-03' → 'Mar 44 BCE'
|
|
901
|
-
*/
|
|
902
|
-
declare function formatDateLabel(dateStr: string): string;
|
|
903
|
-
declare function renderTimeline(container: HTMLDivElement, parsed: ParsedTimeline, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, activeTagGroup?: string | null, swimlaneTagGroup?: string | null, onTagStateChange?: (activeTagGroup: string | null, swimlaneTagGroup: string | null) => void, viewMode?: boolean, exportMode?: boolean): void;
|
|
904
|
-
|
|
904
|
+
/** What `parseExtendedChart` returns: discriminated on `type`. */
|
|
905
|
+
type ParsedExtendedChart = ParsedSankey | ParsedChord | ParsedFunctionChart | ParsedScatter | ParsedHeatmap | ParsedFunnel;
|
|
905
906
|
/**
|
|
906
|
-
*
|
|
907
|
+
* Parses extended chart content into a structured object.
|
|
908
|
+
*
|
|
909
|
+
* Format (colon-free):
|
|
910
|
+
* ```
|
|
911
|
+
* scatter My Chart
|
|
912
|
+
* xlabel Weight
|
|
913
|
+
*
|
|
914
|
+
* Alice 165, 60
|
|
915
|
+
* Bob 180, 85
|
|
916
|
+
* ```
|
|
907
917
|
*/
|
|
908
|
-
declare function
|
|
909
|
-
|
|
910
|
-
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVenn, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
911
|
-
|
|
918
|
+
declare function parseExtendedChart(content: string, palette?: PaletteColors): ParsedExtendedChart;
|
|
912
919
|
/**
|
|
913
|
-
*
|
|
914
|
-
*
|
|
920
|
+
* Extracts legend group data from standard chart types (multi-series line/bar).
|
|
921
|
+
* Returns empty array if chart has no multi-series legend.
|
|
915
922
|
*/
|
|
916
|
-
declare function
|
|
917
|
-
|
|
923
|
+
declare function getSimpleChartLegendGroups(parsed: ParsedChart, colors: string[]): LegendGroupData[];
|
|
918
924
|
/**
|
|
919
|
-
*
|
|
920
|
-
*
|
|
925
|
+
* Extracts legend group data from extended chart types.
|
|
926
|
+
* Supports scatter (categories), chord (nodes), and function (series).
|
|
921
927
|
*/
|
|
922
|
-
|
|
923
|
-
c4Level?: 'context' | 'containers' | 'components' | 'deployment';
|
|
924
|
-
c4System?: string;
|
|
925
|
-
c4Container?: string;
|
|
926
|
-
tagGroup?: string;
|
|
927
|
-
exportMode?: boolean;
|
|
928
|
-
mapData?: MapData;
|
|
929
|
-
mapAspect?: number;
|
|
930
|
-
onMapResolverDiagnostics?: (diagnostics: readonly DgmoError[]) => void;
|
|
931
|
-
/**
|
|
932
|
-
* Canvas to draw onto, in px. Defaults to EXPORT_WIDTH x EXPORT_HEIGHT.
|
|
933
|
-
*
|
|
934
|
-
* Every chart used to render onto a fixed 1200x800 sheet, so a caller who
|
|
935
|
-
* fitted the result to a narrow column got its ASPECT too — a one-line goal
|
|
936
|
-
* meter arrived 800px tall with the bar as a sliver in the middle. Callers
|
|
937
|
-
* that know the shape they need can now say so; omitting these keeps the
|
|
938
|
-
* previous canvas exactly.
|
|
939
|
-
*/
|
|
940
|
-
width?: number;
|
|
941
|
-
height?: number;
|
|
942
|
-
};
|
|
943
|
-
declare function renderForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette?: PaletteColors, viewState?: CompactViewState, options?: RenderForExportOptions): Promise<string>;
|
|
928
|
+
declare function getExtendedChartLegendGroups(parsed: ParsedExtendedChart, colors: string[]): LegendGroupData[];
|
|
944
929
|
|
|
945
930
|
/**
|
|
946
931
|
* Generates adaptive tick marks along a time axis.
|
|
@@ -5823,6 +5808,15 @@ declare function resolveMap(parsed: ParsedMap, data: MapData): ResolvedMap;
|
|
|
5823
5808
|
* call can retry rather than inheriting a poisoned promise. */
|
|
5824
5809
|
declare function loadMapData(): Promise<MapData>;
|
|
5825
5810
|
|
|
5811
|
+
/** A subtle gazetteer city dot for basemap orientation (§24B `no-cities`). Just
|
|
5812
|
+
* a position + radius; the renderer paints it muted/low-opacity. No label, no
|
|
5813
|
+
* interactivity — purely decorative context. */
|
|
5814
|
+
interface MapLayoutCityDot {
|
|
5815
|
+
readonly cx: number;
|
|
5816
|
+
readonly cy: number;
|
|
5817
|
+
readonly r: number;
|
|
5818
|
+
}
|
|
5819
|
+
|
|
5826
5820
|
interface MapLayoutRegion {
|
|
5827
5821
|
readonly id: string;
|
|
5828
5822
|
readonly d: string;
|
|
@@ -6045,14 +6039,6 @@ interface PlacedLabel {
|
|
|
6045
6039
|
readonly lineNumber: number;
|
|
6046
6040
|
}
|
|
6047
6041
|
|
|
6048
|
-
/** A subtle gazetteer city dot for basemap orientation (§24B `no-cities`). Just
|
|
6049
|
-
* a position + radius; the renderer paints it muted/low-opacity. No label, no
|
|
6050
|
-
* interactivity — purely decorative context. */
|
|
6051
|
-
interface MapLayoutCityDot {
|
|
6052
|
-
readonly cx: number;
|
|
6053
|
-
readonly cy: number;
|
|
6054
|
-
readonly r: number;
|
|
6055
|
-
}
|
|
6056
6042
|
/** A drawn river centerline — an open stroked path (no fill). */
|
|
6057
6043
|
interface MapLayoutRiver {
|
|
6058
6044
|
readonly d: string;
|
|
@@ -6713,4 +6699,4 @@ declare function resolveColorWithDiagnostic(color: string, line: number, diagnos
|
|
|
6713
6699
|
/** @deprecated Use getSeriesColors(palette) from '@/lib/palettes' instead. */
|
|
6714
6700
|
declare const seriesColors: string[];
|
|
6715
6701
|
|
|
6716
|
-
export { 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 BodyFigure, type BodyOptions, type BodyPart, type BracketMode, type BracketSide, 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 ClockEntry, type ClockFace, type ClockZoneKind, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CountUnits, 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 FamilyChild, type FamilyChildEdge, type FamilyLayoutNode, type FamilyLayoutResult, type FamilyMarriageBar, type FamilyPerson, type FamilySex, type FamilyUnion, 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 GoalMode, type GoalOptions, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, 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, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBody, type ParsedBoxesAndLines, type ParsedBracket, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedClock, type ParsedCountdown, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedFamily, type ParsedGantt, type ParsedGoal, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedLiveLink, ParsedMap, type ParsedMindmap, ParsedOrg, type ParsedPert, type ParsedPyramid, ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSketch, 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 PlaceResolution, 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, RaciMarker, RaciTask, RaciVariant, type RadialCell, type RadialLayoutResult, type RawMatch, type RawSeed, type RecurRule, type RegionToken, type RelationshipType, type RenderStep, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, type RoundMode, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SHAPE_KINDS, SKETCH_SLOT_X, SKETCH_SLOT_Y, 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 SketchAt, type SketchAutoLayoutFlags, type SketchBox, type SketchCollapseResult, type SketchEdge, type SketchEdgeGeometry, type SketchEdgeHeads, type SketchLayout, type SketchLayoutBox, type SketchLayoutNode, type SketchLayoutOptions, type SketchNode, type SketchOptions, type SketchRenderOptions, type SketchShapeKind, 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, type WorkWindow, type ZoneSuggestion, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, formatDateLabel, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, groupMessagesBySection, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isSketchShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePlace, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBody, parseBoxesAndLines, parseBracket, parseC4, parseChart, parseClassDiagram, parseClock, parseCountdown, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFamily, parseFixedOffset, parseFlowchart, parseGantt, parseGoal, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseLiveLink, parseMap, parseMindmap, parsePert, parsePyramid, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseSketch, 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, renderBody, renderBodyForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderBracket, renderBracketForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderClock, renderClockForExport, renderCountdown, renderCountdownForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFamily, renderFamilyForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSketch, renderSketchForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchEdgeGeometry, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra, validateLabelCharacters };
|
|
6702
|
+
export { 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 BodyFigure, type BodyOptions, type BodyPart, type BracketMode, type BracketSide, 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 ClockEntry, type ClockFace, type ClockZoneKind, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CountUnits, 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 FamilyChild, type FamilyChildEdge, type FamilyLayoutNode, type FamilyLayoutResult, type FamilyMarriageBar, type FamilyPerson, type FamilySex, type FamilyUnion, 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 GoalMode, type GoalOptions, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, 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, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBody, type ParsedBoxesAndLines, type ParsedBracket, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedClock, type ParsedCountdown, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedFamily, type ParsedGantt, type ParsedGoal, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedLiveLink, ParsedMap, type ParsedMindmap, ParsedOrg, type ParsedPert, type ParsedPyramid, ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSketch, 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 PlaceResolution, 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, RaciMarker, RaciTask, RaciVariant, type RadialCell, type RadialLayoutResult, type RawMatch, type RawSeed, type RecurRule, type RegionToken, type RelationshipType, type RenderStep, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, type RoundMode, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SHAPE_KINDS, SKETCH_SLOT_X, SKETCH_SLOT_Y, 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 SketchAt, type SketchAutoLayoutFlags, type SketchBox, type SketchCollapseResult, type SketchEdge, type SketchEdgeGeometry, type SketchEdgeHeads, type SketchLayout, type SketchLayoutBox, type SketchLayoutNode, type SketchLayoutOptions, type SketchNode, type SketchOptions, type SketchRenderOptions, type SketchShapeKind, 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, type WorkWindow, type ZoneSuggestion, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, formatDateLabel, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, groupMessagesBySection, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isSketchShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePlace, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBody, parseBoxesAndLines, parseBracket, parseC4, parseChart, parseClassDiagram, parseClock, parseCountdown, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFamily, parseFixedOffset, parseFlowchart, parseGantt, parseGoal, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseLiveLink, parseMap, parseMindmap, parsePert, parsePyramid, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseSketch, 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, renderBody, renderBodyForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderBracket, renderBracketForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderClock, renderClockForExport, renderCountdown, renderCountdownForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFamily, renderFamilyForExport, renderFlowchart, renderFlowchartForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSketch, renderSketchForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchEdgeGeometry, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra, validateLabelCharacters };
|