@diagrammo/dgmo 0.15.0 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +23 -10
- package/dist/advanced.cjs +53094 -0
- package/dist/advanced.d.cts +4690 -0
- package/dist/advanced.d.ts +4690 -0
- package/dist/advanced.js +52849 -0
- package/dist/auto.cjs +2298 -2069
- package/dist/auto.js +132 -109
- package/dist/auto.mjs +2294 -2065
- package/dist/cli.cjs +175 -152
- package/dist/editor.cjs +8 -9
- package/dist/editor.js +8 -9
- package/dist/highlight.cjs +8 -9
- package/dist/highlight.js +8 -9
- package/dist/index.cjs +2281 -2048
- package/dist/index.d.cts +45 -1
- package/dist/index.d.ts +45 -1
- package/dist/index.js +2276 -2044
- package/dist/internal.cjs +2064 -1831
- package/dist/internal.d.cts +113 -113
- package/dist/internal.d.ts +113 -113
- package/dist/internal.js +2059 -1826
- package/dist/pert.cjs +325 -0
- package/dist/pert.d.cts +542 -0
- package/dist/pert.d.ts +542 -0
- package/dist/pert.js +294 -0
- package/docs/language-reference.md +83 -66
- package/gallery/fixtures/area.dgmo +3 -3
- package/gallery/fixtures/bar-stacked.dgmo +5 -5
- package/gallery/fixtures/boxes-and-lines.dgmo +2 -2
- package/gallery/fixtures/c4-full.dgmo +8 -8
- package/gallery/fixtures/class-full.dgmo +2 -2
- package/gallery/fixtures/doughnut.dgmo +6 -6
- package/gallery/fixtures/flowchart-colors.dgmo +3 -3
- package/gallery/fixtures/function.dgmo +3 -3
- package/gallery/fixtures/gantt-full.dgmo +9 -9
- package/gallery/fixtures/gantt.dgmo +7 -7
- package/gallery/fixtures/infra-full.dgmo +6 -6
- package/gallery/fixtures/infra.dgmo +2 -2
- package/gallery/fixtures/kanban.dgmo +9 -9
- package/gallery/fixtures/line.dgmo +2 -2
- package/gallery/fixtures/multi-line.dgmo +3 -3
- package/gallery/fixtures/org-full.dgmo +6 -6
- package/gallery/fixtures/quadrant.dgmo +2 -2
- package/gallery/fixtures/sankey.dgmo +9 -9
- package/gallery/fixtures/scatter.dgmo +3 -3
- package/gallery/fixtures/sequence-tags-protocols.dgmo +8 -8
- package/gallery/fixtures/sequence-tags.dgmo +7 -7
- package/gallery/fixtures/sitemap-full.dgmo +7 -7
- package/gallery/fixtures/slope.dgmo +5 -5
- package/gallery/fixtures/spr-eras.dgmo +9 -9
- package/gallery/fixtures/timeline.dgmo +3 -3
- package/gallery/fixtures/venn.dgmo +3 -3
- package/package.json +28 -3
- package/src/advanced.ts +730 -0
- package/src/auto/index.ts +14 -13
- package/src/boxes-and-lines/layout.ts +481 -445
- package/src/boxes-and-lines/renderer.ts +5 -1
- package/src/c4/parser.ts +8 -8
- package/src/c4/renderer.ts +15 -8
- package/src/chart-types.ts +0 -5
- package/src/chart.ts +18 -9
- package/src/class/parser.ts +8 -15
- package/src/class/renderer.ts +17 -6
- package/src/cli.ts +15 -13
- package/src/completion-types.ts +28 -0
- package/src/completion.ts +28 -21
- package/src/cycle/layout.ts +2 -2
- package/src/cycle/parser.ts +14 -0
- package/src/cycle/renderer.ts +6 -3
- package/src/d3.ts +1537 -1164
- package/src/echarts.ts +37 -20
- package/src/editor/dgmo.grammar +1 -3
- package/src/editor/dgmo.grammar.js +8 -8
- package/src/editor/dgmo.grammar.terms.js +11 -12
- package/src/editor/highlight-api.ts +0 -1
- package/src/editor/highlight.ts +0 -1
- package/src/er/parser.ts +19 -20
- package/src/er/renderer.ts +20 -8
- package/src/gantt/calculator.ts +1 -11
- package/src/gantt/parser.ts +17 -17
- package/src/gantt/renderer.ts +9 -6
- package/src/graph/flowchart-parser.ts +19 -85
- package/src/graph/flowchart-renderer.ts +4 -9
- package/src/graph/layout.ts +0 -2
- package/src/graph/state-parser.ts +17 -62
- package/src/graph/state-renderer.ts +4 -9
- package/src/index.ts +17 -1
- package/src/infra/parser.ts +40 -30
- package/src/infra/renderer.ts +9 -6
- package/src/internal.ts +9 -721
- package/src/journey-map/parser.ts +10 -3
- package/src/journey-map/renderer.ts +3 -1
- package/src/kanban/parser.ts +12 -8
- package/src/kanban/renderer.ts +3 -1
- package/src/mindmap/layout.ts +1 -1
- package/src/mindmap/parser.ts +3 -3
- package/src/mindmap/renderer.ts +2 -1
- package/src/org/parser.ts +3 -3
- package/src/org/renderer.ts +5 -4
- package/src/pert/layout.ts +1 -1
- package/src/pert/monte-carlo.ts +2 -2
- package/src/pert/parser.ts +10 -10
- package/src/pert/renderer.ts +7 -2
- package/src/pert/types.ts +1 -1
- package/src/pyramid/parser.ts +12 -0
- package/src/raci/parser.ts +44 -14
- package/src/raci/renderer.ts +3 -2
- package/src/raci/types.ts +4 -3
- package/src/ring/parser.ts +12 -0
- package/src/sequence/parser.ts +15 -9
- package/src/sequence/renderer.ts +2 -5
- package/src/sitemap/layout.ts +0 -2
- package/src/sitemap/parser.ts +12 -38
- package/src/sitemap/renderer.ts +13 -13
- package/src/sitemap/types.ts +0 -1
- package/src/tech-radar/interactive.ts +1 -1
- package/src/tech-radar/renderer.ts +6 -4
- package/src/tech-radar/types.ts +2 -0
- package/src/utils/arrows.ts +3 -28
- package/src/utils/legend-d3.ts +12 -6
- package/src/utils/legend-layout.ts +1 -1
- package/src/utils/legend-types.ts +1 -1
- package/src/utils/parsing.ts +64 -35
- package/src/utils/tag-groups.ts +109 -30
- package/src/wireframe/layout.ts +11 -7
- package/src/wireframe/parser.ts +4 -4
- package/src/wireframe/renderer.ts +5 -2
package/dist/internal.d.cts
CHANGED
|
@@ -72,22 +72,11 @@ interface ParseInArrowLabelResult {
|
|
|
72
72
|
*
|
|
73
73
|
* This helper is intentionally chart-agnostic: it operates on an already
|
|
74
74
|
* extracted label string, leaving each chart's existing arrow-finding
|
|
75
|
-
* tokenization in place.
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
* `matchColorParens()` from this module for the shared lookup.
|
|
75
|
+
* tokenization in place. Edges no longer have a color slot on any chart
|
|
76
|
+
* type (see spec §1.7 "Edge color is not a feature"); arrow content is
|
|
77
|
+
* pure label text.
|
|
79
78
|
*/
|
|
80
79
|
declare function parseInArrowLabel(rawLabel: string, lineNumber: number): ParseInArrowLabelResult;
|
|
81
|
-
/**
|
|
82
|
-
* Test whether a string matches the TD-11 color-parens form `(colorName)`
|
|
83
|
-
* where `colorName` is one of the 11 recognized palette color names from
|
|
84
|
-
* `src/colors.ts:RECOGNIZED_COLOR_NAMES`. Returns the lowercase color name
|
|
85
|
-
* on a match, or `null` on fall-through (whole string becomes a label).
|
|
86
|
-
*
|
|
87
|
-
* Used by flowchart and state parsers to keep the color-parens recognition
|
|
88
|
-
* rule in one place — do NOT re-implement the regex in chart parsers.
|
|
89
|
-
*/
|
|
90
|
-
declare function matchColorParens(content: string): string | null;
|
|
91
80
|
|
|
92
81
|
/**
|
|
93
82
|
* Compact view state schema (ADR-6).
|
|
@@ -215,7 +204,6 @@ interface ChartTypeMeta {
|
|
|
215
204
|
readonly fallback?: true;
|
|
216
205
|
}
|
|
217
206
|
declare const chartTypes: readonly ChartTypeMeta[];
|
|
218
|
-
declare const BETA_CHART_IDS: ReadonlySet<string>;
|
|
219
207
|
|
|
220
208
|
/** Normalize a string to lowercase ASCII-ish tokens for matching. */
|
|
221
209
|
declare function normalize(s: string): string[];
|
|
@@ -647,7 +635,7 @@ interface LegendPosition {
|
|
|
647
635
|
placement: 'top-center';
|
|
648
636
|
titleRelation: 'below-title' | 'inline-with-title';
|
|
649
637
|
}
|
|
650
|
-
type LegendMode = '
|
|
638
|
+
type LegendMode = 'preview' | 'export';
|
|
651
639
|
type LegendControlExportBehavior = 'include' | 'strip' | 'static';
|
|
652
640
|
interface LegendControl {
|
|
653
641
|
id: string;
|
|
@@ -971,7 +959,7 @@ interface D3ExportDimensions {
|
|
|
971
959
|
height?: number;
|
|
972
960
|
}
|
|
973
961
|
|
|
974
|
-
/** A single entry inside a tag group: `Value
|
|
962
|
+
/** A single entry inside a tag group: `Value color` */
|
|
975
963
|
interface TagEntry {
|
|
976
964
|
value: string;
|
|
977
965
|
color: string;
|
|
@@ -1157,12 +1145,12 @@ declare function formatDateLabel(dateStr: string): string;
|
|
|
1157
1145
|
* Renders a timeline chart into the given container using D3.
|
|
1158
1146
|
* Supports horizontal (default) and vertical orientation.
|
|
1159
1147
|
*/
|
|
1160
|
-
declare function renderTimeline(container: HTMLDivElement, parsed: ParsedVisualization, 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): void;
|
|
1148
|
+
declare function renderTimeline(container: HTMLDivElement, parsed: ParsedVisualization, 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;
|
|
1161
1149
|
/**
|
|
1162
1150
|
* Renders a word cloud into the given container using d3-cloud.
|
|
1163
1151
|
*/
|
|
1164
1152
|
declare function renderWordCloud(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
1165
|
-
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors,
|
|
1153
|
+
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
1166
1154
|
/**
|
|
1167
1155
|
* Renders a quadrant chart using D3.
|
|
1168
1156
|
* Displays 4 colored quadrant regions, axis labels, quadrant labels, and data points.
|
|
@@ -1177,6 +1165,7 @@ declare function renderForExport(content: string, theme: 'light' | 'dark' | 'tra
|
|
|
1177
1165
|
c4System?: string;
|
|
1178
1166
|
c4Container?: string;
|
|
1179
1167
|
tagGroup?: string;
|
|
1168
|
+
exportMode?: boolean;
|
|
1180
1169
|
}): Promise<string>;
|
|
1181
1170
|
|
|
1182
1171
|
/**
|
|
@@ -1352,18 +1341,6 @@ interface ParsedGraph {
|
|
|
1352
1341
|
error: string | null;
|
|
1353
1342
|
}
|
|
1354
1343
|
|
|
1355
|
-
/**
|
|
1356
|
-
* Diagram symbol extraction API + completion registry.
|
|
1357
|
-
*
|
|
1358
|
-
* Provides:
|
|
1359
|
-
* - DiagramSymbols interface + extractDiagramSymbols() dispatch
|
|
1360
|
-
* - COMPLETION_REGISTRY: chart-type → directives map (for editor autocomplete)
|
|
1361
|
-
* - CHART_TYPES: array of { name, description } for chart type completion
|
|
1362
|
-
* - METADATA_KEY_SET: derived set of all known directive keys
|
|
1363
|
-
*
|
|
1364
|
-
* Each diagram type registers its own extractor via registerExtractor().
|
|
1365
|
-
* All built-in extractors are registered at module init below.
|
|
1366
|
-
*/
|
|
1367
1344
|
type ChartType = string;
|
|
1368
1345
|
interface DiagramSymbols {
|
|
1369
1346
|
kind: ChartType;
|
|
@@ -1378,67 +1355,6 @@ interface DiagramSymbols {
|
|
|
1378
1355
|
aliases?: Record<string, string>;
|
|
1379
1356
|
}
|
|
1380
1357
|
type ExtractFn = (docText: string) => DiagramSymbols;
|
|
1381
|
-
declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
|
|
1382
|
-
/**
|
|
1383
|
-
* Extract diagram symbols from document text.
|
|
1384
|
-
* Returns null if the chart type is unknown or has no registered extractor.
|
|
1385
|
-
*/
|
|
1386
|
-
declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
|
|
1387
|
-
/** Specification for a single directive: description + optional enumerated values. */
|
|
1388
|
-
interface DirectiveValueSpec {
|
|
1389
|
-
description: string;
|
|
1390
|
-
values?: string[];
|
|
1391
|
-
}
|
|
1392
|
-
/** Specification for a chart type's directives. */
|
|
1393
|
-
interface DirectiveSpec {
|
|
1394
|
-
directives: Record<string, DirectiveValueSpec>;
|
|
1395
|
-
}
|
|
1396
|
-
/** Chart-type → directive specifications. Every chart type has at least palette + theme. */
|
|
1397
|
-
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
1398
|
-
/** All chart types with descriptions, for chart type autocomplete. Excludes `multi-line` alias. */
|
|
1399
|
-
declare const CHART_TYPES: ReadonlyArray<{
|
|
1400
|
-
name: string;
|
|
1401
|
-
description: string;
|
|
1402
|
-
}>;
|
|
1403
|
-
/**
|
|
1404
|
-
* Entity types for `Name is a <type>` declarations, keyed by chart type.
|
|
1405
|
-
* Values are sourced from parser constants (VALID_PARTICIPANT_TYPES,
|
|
1406
|
-
* C4_IS_A_RE).
|
|
1407
|
-
*/
|
|
1408
|
-
declare const ENTITY_TYPES: Map<string, string[]>;
|
|
1409
|
-
/** Specification for a single pipe metadata key. */
|
|
1410
|
-
interface PipeKeySpec {
|
|
1411
|
-
description: string;
|
|
1412
|
-
values?: string[];
|
|
1413
|
-
}
|
|
1414
|
-
/**
|
|
1415
|
-
* Pipe metadata keys for inline `| key value` on data lines.
|
|
1416
|
-
* Keyed by chart type → { context-name: keys }.
|
|
1417
|
-
*
|
|
1418
|
-
* Contexts are open-ended. The two universal ones are:
|
|
1419
|
-
* - `node` — the default for any non-arrow line
|
|
1420
|
-
* - `edge` — lines containing an arrow (`->`, `--`)
|
|
1421
|
-
*
|
|
1422
|
-
* Charts with richer line types declare additional contexts:
|
|
1423
|
-
* - raci: `role`, `phase`, `assignment`
|
|
1424
|
-
* - ring / pyramid: `layer`
|
|
1425
|
-
* - tech-radar: `quadrant`, `blip`
|
|
1426
|
-
* - journey-map: `step`
|
|
1427
|
-
*
|
|
1428
|
-
* IMPORTANT: NEVER add 'sequence' here. The `|` character in sequence
|
|
1429
|
-
* diagrams separates display names from identifiers and tag metadata.
|
|
1430
|
-
* Adding sequence would trigger false pipe-metadata completions on every `|`.
|
|
1431
|
-
*/
|
|
1432
|
-
type PipeContextMap = Record<string, Record<string, PipeKeySpec>>;
|
|
1433
|
-
declare const PIPE_METADATA: Map<string, PipeContextMap>;
|
|
1434
|
-
/** All known directive keys, derived from COMPLETION_REGISTRY. Includes implicit keys. */
|
|
1435
|
-
declare const METADATA_KEY_SET: ReadonlySet<string>;
|
|
1436
|
-
/**
|
|
1437
|
-
* Extract tag declarations from document text.
|
|
1438
|
-
* Returns a map of alias (or full name) → array of tag values.
|
|
1439
|
-
* Keys preserve original case for display; use case-insensitive lookup.
|
|
1440
|
-
*/
|
|
1441
|
-
declare function extractTagDeclarations(docText: string): Map<string, string[]>;
|
|
1442
1358
|
|
|
1443
1359
|
declare function parseFlowchart(content: string, palette?: PaletteColors): ParsedGraph;
|
|
1444
1360
|
/**
|
|
@@ -1475,7 +1391,6 @@ interface LayoutEdge {
|
|
|
1475
1391
|
y: number;
|
|
1476
1392
|
}[];
|
|
1477
1393
|
label?: string;
|
|
1478
|
-
color?: string;
|
|
1479
1394
|
lineNumber: number;
|
|
1480
1395
|
}
|
|
1481
1396
|
interface LayoutGroup {
|
|
@@ -1605,7 +1520,7 @@ declare function layoutClassDiagram(parsed: ParsedClassDiagram): ClassLayoutResu
|
|
|
1605
1520
|
declare function renderClassDiagram(container: HTMLDivElement, parsed: ParsedClassDiagram, layout: ClassLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
1606
1521
|
width?: number;
|
|
1607
1522
|
height?: number;
|
|
1608
|
-
}, legendActive?: boolean | null): void;
|
|
1523
|
+
}, legendActive?: boolean | null, exportMode?: boolean): void;
|
|
1609
1524
|
declare function renderClassDiagramForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
1610
1525
|
|
|
1611
1526
|
type ERConstraint = 'pk' | 'fk' | 'unique' | 'nullable';
|
|
@@ -1689,7 +1604,7 @@ declare function renderERDiagram(container: HTMLDivElement, parsed: ParsedERDiag
|
|
|
1689
1604
|
height?: number;
|
|
1690
1605
|
}, activeTagGroup?: string | null,
|
|
1691
1606
|
/** When false, semantic role colors are suppressed and entities use a neutral color. */
|
|
1692
|
-
semanticColorsActive?: boolean): void;
|
|
1607
|
+
semanticColorsActive?: boolean, exportMode?: boolean): void;
|
|
1693
1608
|
declare function renderERDiagramForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
1694
1609
|
|
|
1695
1610
|
interface InlineSpan {
|
|
@@ -1895,7 +1810,7 @@ declare function focusOrgTree(original: ParsedOrg, focusNodeId: string): FocusOr
|
|
|
1895
1810
|
declare function renderOrg(container: HTMLDivElement, parsed: ParsedOrg, layout: OrgLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
1896
1811
|
width?: number;
|
|
1897
1812
|
height?: number;
|
|
1898
|
-
}, activeTagGroup?: string | null, hiddenAttributes?: Set<string>, ancestorPath?: AncestorInfo[]): void;
|
|
1813
|
+
}, activeTagGroup?: string | null, hiddenAttributes?: Set<string>, ancestorPath?: AncestorInfo[], exportMode?: boolean): void;
|
|
1899
1814
|
declare function renderOrgForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
1900
1815
|
|
|
1901
1816
|
/** @deprecated Use `TagEntry` from `utils/tag-groups` */
|
|
@@ -1966,6 +1881,7 @@ interface KanbanInteractiveOptions {
|
|
|
1966
1881
|
collapsedLanes?: Set<string>;
|
|
1967
1882
|
collapsedColumns?: Set<string>;
|
|
1968
1883
|
compactMeta?: boolean;
|
|
1884
|
+
exportMode?: boolean;
|
|
1969
1885
|
}
|
|
1970
1886
|
declare function renderKanban(container: HTMLElement, parsed: ParsedKanban, palette: PaletteColors, isDark: boolean, options?: KanbanInteractiveOptions): void;
|
|
1971
1887
|
declare function renderKanbanForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
@@ -2122,7 +2038,7 @@ declare function layoutC4Deployment(parsed: ParsedC4, activeTagGroup?: string |
|
|
|
2122
2038
|
declare function renderC4Context(container: HTMLDivElement, parsed: ParsedC4, layout: C4LayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
2123
2039
|
width?: number;
|
|
2124
2040
|
height?: number;
|
|
2125
|
-
}, activeTagGroup?: string | null): void;
|
|
2041
|
+
}, activeTagGroup?: string | null, exportMode?: boolean): void;
|
|
2126
2042
|
declare function renderC4ContextForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
2127
2043
|
/**
|
|
2128
2044
|
* Render a C4 container-level diagram showing containers inside a system boundary
|
|
@@ -2131,7 +2047,7 @@ declare function renderC4ContextForExport(content: string, theme: 'light' | 'dar
|
|
|
2131
2047
|
declare function renderC4Containers(container: HTMLDivElement, parsed: ParsedC4, layout: C4LayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
2132
2048
|
width?: number;
|
|
2133
2049
|
height?: number;
|
|
2134
|
-
}, activeTagGroup?: string | null): void;
|
|
2050
|
+
}, activeTagGroup?: string | null, exportMode?: boolean): void;
|
|
2135
2051
|
declare function renderC4ContainersForExport(content: string, systemName: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
2136
2052
|
declare function renderC4ComponentsForExport(content: string, systemName: string, containerName: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
2137
2053
|
/**
|
|
@@ -2142,7 +2058,7 @@ declare function renderC4ComponentsForExport(content: string, systemName: string
|
|
|
2142
2058
|
declare function renderC4Deployment(container: HTMLDivElement, parsed: ParsedC4, layout: C4LayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
2143
2059
|
width?: number;
|
|
2144
2060
|
height?: number;
|
|
2145
|
-
}, activeTagGroup?: string | null): void;
|
|
2061
|
+
}, activeTagGroup?: string | null, exportMode?: boolean): void;
|
|
2146
2062
|
/**
|
|
2147
2063
|
* Export convenience function for deployment diagrams.
|
|
2148
2064
|
*/
|
|
@@ -2208,7 +2124,8 @@ interface BLLayoutEdge {
|
|
|
2208
2124
|
yOffset: number;
|
|
2209
2125
|
parallelCount: number;
|
|
2210
2126
|
metadata: Record<string, string>;
|
|
2211
|
-
/**
|
|
2127
|
+
/** Marker for renderer: draw with linear curve, not curveBasis (ELK gives
|
|
2128
|
+
* us orthogonal polylines and curveBasis would smooth corners into waves) */
|
|
2212
2129
|
deferred?: boolean;
|
|
2213
2130
|
}
|
|
2214
2131
|
interface BLLayoutGroup {
|
|
@@ -2233,7 +2150,7 @@ declare function layoutBoxesAndLines(parsed: ParsedBoxesAndLines, collapseInfo?:
|
|
|
2233
2150
|
originalGroups: BLGroup[];
|
|
2234
2151
|
}, layoutOptions?: {
|
|
2235
2152
|
hideDescriptions?: boolean;
|
|
2236
|
-
}): BLLayoutResult
|
|
2153
|
+
}): Promise<BLLayoutResult>;
|
|
2237
2154
|
|
|
2238
2155
|
interface BLRenderOptions {
|
|
2239
2156
|
onClickItem?: (lineNumber: number) => void;
|
|
@@ -2247,6 +2164,7 @@ interface BLRenderOptions {
|
|
|
2247
2164
|
controlsExpanded?: boolean;
|
|
2248
2165
|
onToggleDescriptions?: (active: boolean) => void;
|
|
2249
2166
|
onToggleControlsExpand?: () => void;
|
|
2167
|
+
exportMode?: boolean;
|
|
2250
2168
|
}
|
|
2251
2169
|
declare function renderBoxesAndLines(container: HTMLDivElement, parsed: ParsedBoxesAndLines, layout: BLLayoutResult, palette: PaletteColors, isDark: boolean, options?: BLRenderOptions): void;
|
|
2252
2170
|
declare function renderBoxesAndLinesForExport(container: HTMLDivElement, parsed: ParsedBoxesAndLines, layout: BLLayoutResult, palette: PaletteColors, isDark: boolean, options?: {
|
|
@@ -2256,6 +2174,7 @@ declare function renderBoxesAndLinesForExport(container: HTMLDivElement, parsed:
|
|
|
2256
2174
|
};
|
|
2257
2175
|
activeTagGroup?: string | null;
|
|
2258
2176
|
hiddenTagValues?: Map<string, Set<string>>;
|
|
2177
|
+
exportMode?: boolean;
|
|
2259
2178
|
}): void;
|
|
2260
2179
|
|
|
2261
2180
|
interface BLCollapseResult {
|
|
@@ -2291,7 +2210,6 @@ interface SitemapEdge {
|
|
|
2291
2210
|
sourceId: string;
|
|
2292
2211
|
targetId: string;
|
|
2293
2212
|
label?: string;
|
|
2294
|
-
color?: string;
|
|
2295
2213
|
lineNumber: number;
|
|
2296
2214
|
}
|
|
2297
2215
|
type SitemapDirection = 'TB' | 'LR';
|
|
@@ -2344,7 +2262,6 @@ interface SitemapLayoutEdge {
|
|
|
2344
2262
|
y: number;
|
|
2345
2263
|
}[];
|
|
2346
2264
|
label?: string;
|
|
2347
|
-
color?: string;
|
|
2348
2265
|
lineNumber: number;
|
|
2349
2266
|
/** True for edges deferred from dagre (container endpoints) — use linear curve */
|
|
2350
2267
|
deferred?: boolean;
|
|
@@ -2395,7 +2312,7 @@ declare function layoutSitemap(parsed: ParsedSitemap, hiddenCounts?: Map<string,
|
|
|
2395
2312
|
declare function renderSitemap(container: HTMLDivElement, parsed: ParsedSitemap, layout: SitemapLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
2396
2313
|
width?: number;
|
|
2397
2314
|
height?: number;
|
|
2398
|
-
}, activeTagGroup?: string | null, hiddenAttributes?: Set<string
|
|
2315
|
+
}, activeTagGroup?: string | null, hiddenAttributes?: Set<string>, exportMode?: boolean): void;
|
|
2399
2316
|
declare function renderSitemapForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette?: PaletteColors): Promise<string>;
|
|
2400
2317
|
|
|
2401
2318
|
interface CollapsedSitemapResult {
|
|
@@ -2851,6 +2768,7 @@ interface GanttInteractiveOptions {
|
|
|
2851
2768
|
collapsedLanes?: Set<string>;
|
|
2852
2769
|
onToggleLane?: (laneName: string) => void;
|
|
2853
2770
|
viewMode?: boolean;
|
|
2771
|
+
exportMode?: boolean;
|
|
2854
2772
|
}
|
|
2855
2773
|
declare function renderGantt(container: HTMLDivElement, resolved: ResolvedSchedule, palette: PaletteColors, isDark: boolean, options?: GanttInteractiveOptions, exportDims?: D3ExportDimensions): void;
|
|
2856
2774
|
type GroupRow = {
|
|
@@ -3121,7 +3039,7 @@ interface ParsedPert {
|
|
|
3121
3039
|
groups: PertGroup[];
|
|
3122
3040
|
/**
|
|
3123
3041
|
* Tag groups declared at the top of the diagram (`tag Priority as p
|
|
3124
|
-
* High
|
|
3042
|
+
* High red, Low green`). Drive node fill via `resolveTagColor()`.
|
|
3125
3043
|
* Empty when no `tag` blocks are declared.
|
|
3126
3044
|
*/
|
|
3127
3045
|
tagGroups: TagGroup[];
|
|
@@ -3378,7 +3296,7 @@ interface ParsePertOptions {
|
|
|
3378
3296
|
now?: Date;
|
|
3379
3297
|
/**
|
|
3380
3298
|
* Active palette — used when resolving color names on `tag` entries
|
|
3381
|
-
* (e.g. `High
|
|
3299
|
+
* (e.g. `High red` → palette.colors.red). Optional; when omitted the
|
|
3382
3300
|
* universal default color map is used.
|
|
3383
3301
|
*/
|
|
3384
3302
|
palette?: PaletteColors;
|
|
@@ -3541,6 +3459,8 @@ interface PertRenderOptions {
|
|
|
3541
3459
|
* through to the parsed `active-tag` directive.
|
|
3542
3460
|
*/
|
|
3543
3461
|
activeTagOverride?: string | null;
|
|
3462
|
+
/** True when rendering for export — strips collapsed pills and cog from legend. */
|
|
3463
|
+
exportMode?: boolean;
|
|
3544
3464
|
}
|
|
3545
3465
|
declare function renderPert(container: HTMLDivElement, resolved: ResolvedPert, layout: LayoutResult, palette: PaletteColors, isDark: boolean, options?: PertRenderOptions): void;
|
|
3546
3466
|
declare function renderPertForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors,
|
|
@@ -3703,7 +3623,7 @@ interface MindmapLayoutResult {
|
|
|
3703
3623
|
|
|
3704
3624
|
declare function parseMindmap(content: string, palette?: PaletteColors): ParsedMindmap;
|
|
3705
3625
|
|
|
3706
|
-
declare function layoutMindmap(parsed: ParsedMindmap,
|
|
3626
|
+
declare function layoutMindmap(parsed: ParsedMindmap, _palette: PaletteColors, options?: {
|
|
3707
3627
|
interactive?: boolean;
|
|
3708
3628
|
hiddenCounts?: Map<string, number>;
|
|
3709
3629
|
activeTagGroup?: string | null;
|
|
@@ -3719,6 +3639,7 @@ declare function renderMindmap(container: HTMLDivElement, parsed: ParsedMindmap,
|
|
|
3719
3639
|
onToggleDescriptions?: (active: boolean) => void;
|
|
3720
3640
|
controlsExpanded?: boolean;
|
|
3721
3641
|
onToggleControlsExpand?: () => void;
|
|
3642
|
+
exportMode?: boolean;
|
|
3722
3643
|
}): void;
|
|
3723
3644
|
declare function renderMindmapForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
3724
3645
|
|
|
@@ -3906,6 +3827,8 @@ interface TechRadarRenderOptions {
|
|
|
3906
3827
|
onLegendGroupToggle?: (groupName: string) => void;
|
|
3907
3828
|
/** Active line from the editor cursor — triggers popover/expansion for that blip. */
|
|
3908
3829
|
activeLine?: number | null;
|
|
3830
|
+
/** True when rendering for export (PNG/SVG/PDF) — controls whether collapsed legend pills and cog are stripped. */
|
|
3831
|
+
exportMode?: boolean;
|
|
3909
3832
|
}
|
|
3910
3833
|
|
|
3911
3834
|
declare function parseTechRadar(content: string): ParsedTechRadar;
|
|
@@ -3932,7 +3855,7 @@ declare function getRadarGeometry(width: number, height: number, ringCount: numb
|
|
|
3932
3855
|
};
|
|
3933
3856
|
|
|
3934
3857
|
declare function renderTechRadar(container: HTMLDivElement, parsed: ParsedTechRadar, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, viewState?: CompactViewState, options?: TechRadarRenderOptions): void;
|
|
3935
|
-
declare function renderTechRadarForExport(container: HTMLDivElement, parsed: ParsedTechRadar, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions, viewState?: CompactViewState): void;
|
|
3858
|
+
declare function renderTechRadarForExport(container: HTMLDivElement, parsed: ParsedTechRadar, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions, viewState?: CompactViewState, exportMode?: boolean): void;
|
|
3936
3859
|
|
|
3937
3860
|
declare function renderQuadrantFocus(container: HTMLDivElement, parsed: ParsedTechRadar, quadrantPosition: QuadrantPosition, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, _options?: TechRadarRenderOptions): void;
|
|
3938
3861
|
declare function renderQuadrantFocusForExport(container: HTMLDivElement, parsed: ParsedTechRadar, quadrantPosition: QuadrantPosition, palette: PaletteColors, isDark: boolean, exportDims: {
|
|
@@ -4055,6 +3978,7 @@ interface CycleRenderOptions {
|
|
|
4055
3978
|
controlsExpanded?: boolean;
|
|
4056
3979
|
onToggleDescriptions?: (active: boolean) => void;
|
|
4057
3980
|
onToggleControlsExpand?: () => void;
|
|
3981
|
+
exportMode?: boolean;
|
|
4058
3982
|
}
|
|
4059
3983
|
/**
|
|
4060
3984
|
* Render a cycle diagram into the given container.
|
|
@@ -4063,7 +3987,7 @@ declare function renderCycle(container: HTMLDivElement, parsed: ParsedCycle, pal
|
|
|
4063
3987
|
/**
|
|
4064
3988
|
* Render for CLI/export (no click handlers).
|
|
4065
3989
|
*/
|
|
4066
|
-
declare function renderCycleForExport(container: HTMLDivElement, parsed: ParsedCycle, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions, viewState?: CompactViewState): void;
|
|
3990
|
+
declare function renderCycleForExport(container: HTMLDivElement, parsed: ParsedCycle, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions, viewState?: CompactViewState, exportMode?: boolean): void;
|
|
4067
3991
|
|
|
4068
3992
|
interface JourneyMapAnnotation {
|
|
4069
3993
|
type: 'pain' | 'opportunity' | 'thought';
|
|
@@ -4169,6 +4093,7 @@ interface JourneyMapInteractiveOptions {
|
|
|
4169
4093
|
collapsedPhases?: Set<string>;
|
|
4170
4094
|
/** Called when a phase is toggled */
|
|
4171
4095
|
onPhaseToggle?: (phaseName: string) => void;
|
|
4096
|
+
exportMode?: boolean;
|
|
4172
4097
|
}
|
|
4173
4098
|
declare function renderJourneyMap(container: HTMLElement, parsed: ParsedJourneyMap, palette: PaletteColors, isDark: boolean, options?: JourneyMapInteractiveOptions): void;
|
|
4174
4099
|
declare function renderJourneyMapForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
@@ -4319,9 +4244,10 @@ interface ParsedRaci {
|
|
|
4319
4244
|
/** Display name for each role (parallel to `roles`). */
|
|
4320
4245
|
roleDisplayNames: string[];
|
|
4321
4246
|
/**
|
|
4322
|
-
* Optional per-role palette color from `Cap
|
|
4323
|
-
* roles block
|
|
4324
|
-
*
|
|
4247
|
+
* Optional per-role palette color from the `Cap blue` trailing-token
|
|
4248
|
+
* suffix in the roles block (or the long pipe form `Cap | color: blue`).
|
|
4249
|
+
* Parallel to `roles`; entries default to `undefined` (renderer falls
|
|
4250
|
+
* back to the neutral column tint).
|
|
4325
4251
|
*/
|
|
4326
4252
|
roleColors: Array<string | undefined>;
|
|
4327
4253
|
phases: RaciPhase[];
|
|
@@ -4646,6 +4572,80 @@ declare function resolveColorWithDiagnostic(color: string, line: number, diagnos
|
|
|
4646
4572
|
/** @deprecated Use getSeriesColors(palette) from '@/lib/palettes' instead. */
|
|
4647
4573
|
declare const seriesColors: string[];
|
|
4648
4574
|
|
|
4575
|
+
/**
|
|
4576
|
+
* Diagram symbol extraction API + completion registry.
|
|
4577
|
+
*
|
|
4578
|
+
* Provides:
|
|
4579
|
+
* - DiagramSymbols interface + extractDiagramSymbols() dispatch
|
|
4580
|
+
* - COMPLETION_REGISTRY: chart-type → directives map (for editor autocomplete)
|
|
4581
|
+
* - CHART_TYPES: array of { name, description } for chart type completion
|
|
4582
|
+
* - METADATA_KEY_SET: derived set of all known directive keys
|
|
4583
|
+
*
|
|
4584
|
+
* Each diagram type registers its own extractor via registerExtractor().
|
|
4585
|
+
* All built-in extractors are registered at module init below.
|
|
4586
|
+
*/
|
|
4587
|
+
|
|
4588
|
+
declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
|
|
4589
|
+
/**
|
|
4590
|
+
* Extract diagram symbols from document text.
|
|
4591
|
+
* Returns null if the chart type is unknown or has no registered extractor.
|
|
4592
|
+
*/
|
|
4593
|
+
declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
|
|
4594
|
+
/** Specification for a single directive: description + optional enumerated values. */
|
|
4595
|
+
interface DirectiveValueSpec {
|
|
4596
|
+
description: string;
|
|
4597
|
+
values?: string[];
|
|
4598
|
+
}
|
|
4599
|
+
/** Specification for a chart type's directives. */
|
|
4600
|
+
interface DirectiveSpec {
|
|
4601
|
+
directives: Record<string, DirectiveValueSpec>;
|
|
4602
|
+
}
|
|
4603
|
+
/** Chart-type → directive specifications. Every chart type has at least palette + theme. */
|
|
4604
|
+
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
4605
|
+
declare const CHART_TYPES: ReadonlyArray<{
|
|
4606
|
+
name: string;
|
|
4607
|
+
description: string;
|
|
4608
|
+
}>;
|
|
4609
|
+
/**
|
|
4610
|
+
* Entity types for `Name is a <type>` declarations, keyed by chart type.
|
|
4611
|
+
* Values are sourced from parser constants (VALID_PARTICIPANT_TYPES,
|
|
4612
|
+
* C4_IS_A_RE).
|
|
4613
|
+
*/
|
|
4614
|
+
declare const ENTITY_TYPES: Map<string, string[]>;
|
|
4615
|
+
/** Specification for a single pipe metadata key. */
|
|
4616
|
+
interface PipeKeySpec {
|
|
4617
|
+
description: string;
|
|
4618
|
+
values?: string[];
|
|
4619
|
+
}
|
|
4620
|
+
/**
|
|
4621
|
+
* Pipe metadata keys for inline `| key value` on data lines.
|
|
4622
|
+
* Keyed by chart type → { context-name: keys }.
|
|
4623
|
+
*
|
|
4624
|
+
* Contexts are open-ended. The two universal ones are:
|
|
4625
|
+
* - `node` — the default for any non-arrow line
|
|
4626
|
+
* - `edge` — lines containing an arrow (`->`, `--`)
|
|
4627
|
+
*
|
|
4628
|
+
* Charts with richer line types declare additional contexts:
|
|
4629
|
+
* - raci: `role`, `phase`, `assignment`
|
|
4630
|
+
* - ring / pyramid: `layer`
|
|
4631
|
+
* - tech-radar: `quadrant`, `blip`
|
|
4632
|
+
* - journey-map: `step`
|
|
4633
|
+
*
|
|
4634
|
+
* IMPORTANT: NEVER add 'sequence' here. The `|` character in sequence
|
|
4635
|
+
* diagrams separates display names from identifiers and tag metadata.
|
|
4636
|
+
* Adding sequence would trigger false pipe-metadata completions on every `|`.
|
|
4637
|
+
*/
|
|
4638
|
+
type PipeContextMap = Record<string, Record<string, PipeKeySpec>>;
|
|
4639
|
+
declare const PIPE_METADATA: Map<string, PipeContextMap>;
|
|
4640
|
+
/** All known directive keys, derived from COMPLETION_REGISTRY. Includes implicit keys. */
|
|
4641
|
+
declare const METADATA_KEY_SET: ReadonlySet<string>;
|
|
4642
|
+
/**
|
|
4643
|
+
* Extract tag declarations from document text.
|
|
4644
|
+
* Returns a map of alias (or full name) → array of tag values.
|
|
4645
|
+
* Keys preserve original case for display; use case-insensitive lookup.
|
|
4646
|
+
*/
|
|
4647
|
+
declare function extractTagDeclarations(docText: string): Map<string, string[]>;
|
|
4648
|
+
|
|
4649
4649
|
/**
|
|
4650
4650
|
* Shared parser utilities — extracted from individual parsers to eliminate
|
|
4651
4651
|
* duplication of measureIndent, extractColor, header regexes, and
|
|
@@ -4687,4 +4687,4 @@ declare const themes: {
|
|
|
4687
4687
|
readonly transparent: "transparent";
|
|
4688
4688
|
};
|
|
4689
4689
|
|
|
4690
|
-
export { ALL_CHART_TYPES, AMBIGUITY_THRESHOLD, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, BETA_CHART_IDS, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, 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_TYPES, CHART_TYPE_DESCRIPTIONS, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type Confidence as ChartTypeConfidence, type ChartTypeMeta, type ChartTypeScore, type SuggestionResult as ChartTypeSuggestionResult, 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 CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DirectiveSpec, type DirectiveValueSpec, type Duration, type DurationUnit, ENTITY_TYPES, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type ExpandedActivity, type ExtendedChartType, type ExtractFn, type FocusOrgResult, 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 GanttParallelBlock, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, 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, 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, METADATA_KEY_SET, MIN_PRIMARY_SCORE, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PERT_LEGEND_PILL_HEIGHT, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, 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 PipeKeySpec, 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 ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type RingLayer, type ScatterLabelPoint, 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 TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, confidence as chartTypeConfidence, chartTypeParsers, chartTypes, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, matchesContiguously, measurePertAnalysisBlock, mix, monokaiPalette, mulberry32, nord, nordPalette, normalize as normalizeChartTypePrompt, normalizeName, normalizePertSourceForShare, oneDarkPalette, orderArcNodes, palettes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, pertLegendBlockWidth, pertLegendEntries, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerExtractor, registerPalette, relayoutPert, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderLegendBlock as renderPertLegendBlock, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resetPertCriticalPath, resetPertHighlight, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|
|
4690
|
+
export { ALL_CHART_TYPES, AMBIGUITY_THRESHOLD, 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 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_TYPES, CHART_TYPE_DESCRIPTIONS, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type Confidence as ChartTypeConfidence, type ChartTypeMeta, type ChartTypeScore, type SuggestionResult as ChartTypeSuggestionResult, 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 CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DirectiveSpec, type DirectiveValueSpec, type Duration, type DurationUnit, ENTITY_TYPES, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type ExpandedActivity, type ExtendedChartType, type ExtractFn, type FocusOrgResult, 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 GanttParallelBlock, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, 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, 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, METADATA_KEY_SET, MIN_PRIMARY_SCORE, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PERT_LEGEND_PILL_HEIGHT, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, 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 PipeKeySpec, 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 ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type RingLayer, type ScatterLabelPoint, 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 TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, confidence as chartTypeConfidence, chartTypeParsers, chartTypes, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchesContiguously, measurePertAnalysisBlock, mix, monokaiPalette, mulberry32, nord, nordPalette, normalize as normalizeChartTypePrompt, normalizeName, normalizePertSourceForShare, oneDarkPalette, orderArcNodes, palettes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, pertLegendBlockWidth, pertLegendEntries, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerExtractor, registerPalette, relayoutPert, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderLegendBlock as renderPertLegendBlock, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resetPertCriticalPath, resetPertHighlight, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|