@diagrammo/dgmo 0.8.21 → 0.8.23
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/AGENTS.md +2 -1
- package/README.md +1 -0
- package/dist/cli.cjs +145 -93
- package/dist/editor.cjs +20 -3
- package/dist/editor.cjs.map +1 -1
- package/dist/editor.js +20 -3
- package/dist/editor.js.map +1 -1
- package/dist/highlight.cjs +15 -2
- package/dist/highlight.cjs.map +1 -1
- package/dist/highlight.js +15 -2
- package/dist/highlight.js.map +1 -1
- package/dist/index.cjs +20843 -14937
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +426 -17
- package/dist/index.d.ts +426 -17
- package/dist/index.js +20795 -14912
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +380 -0
- package/dist/internal.cjs.map +1 -0
- package/dist/internal.d.cts +179 -0
- package/dist/internal.d.ts +179 -0
- package/dist/internal.js +337 -0
- package/dist/internal.js.map +1 -0
- package/docs/guide/chart-cycle.md +156 -0
- package/docs/guide/chart-journey-map.md +179 -0
- package/docs/guide/chart-pyramid.md +111 -0
- package/docs/guide/chart-sitemap.md +18 -1
- package/docs/guide/chart-tech-radar.md +219 -0
- package/docs/guide/registry.json +6 -0
- package/docs/language-reference.md +177 -6
- package/gallery/fixtures/boxes-and-lines.dgmo +10 -3
- package/gallery/fixtures/c4-full.dgmo +2 -2
- package/gallery/fixtures/cycle/ooda-loop.dgmo +25 -0
- package/gallery/fixtures/cycle/pdca-circle-nodes.dgmo +12 -0
- package/gallery/fixtures/cycle/pdca-minimal.dgmo +6 -0
- package/gallery/fixtures/cycle/sprint-cycle-span.dgmo +17 -0
- package/gallery/fixtures/gantt-full.dgmo +2 -2
- package/gallery/fixtures/gantt.dgmo +2 -2
- package/gallery/fixtures/infra-full.dgmo +2 -2
- package/gallery/fixtures/infra.dgmo +1 -1
- package/gallery/fixtures/pyramid/dikw.dgmo +17 -0
- package/gallery/fixtures/pyramid/inverted-funnel.dgmo +16 -0
- package/gallery/fixtures/pyramid/minimal.dgmo +5 -0
- package/gallery/fixtures/sequence-tags-protocols.dgmo +2 -2
- package/gallery/fixtures/sequence-tags.dgmo +2 -2
- package/gallery/fixtures/tech-radar-dense.dgmo +77 -0
- package/gallery/fixtures/tech-radar.dgmo +36 -0
- package/gallery/fixtures/timeline.dgmo +1 -1
- package/package.json +11 -1
- package/src/boxes-and-lines/layout.ts +309 -33
- package/src/boxes-and-lines/parser.ts +86 -10
- package/src/boxes-and-lines/renderer.ts +250 -91
- package/src/boxes-and-lines/types.ts +1 -1
- package/src/c4/layout.ts +8 -8
- package/src/c4/parser.ts +35 -2
- package/src/c4/renderer.ts +19 -3
- package/src/c4/types.ts +1 -0
- package/src/chart.ts +14 -7
- package/src/cli.ts +5 -35
- package/src/completion.ts +233 -41
- package/src/cycle/layout.ts +723 -0
- package/src/cycle/parser.ts +352 -0
- package/src/cycle/renderer.ts +566 -0
- package/src/cycle/types.ts +98 -0
- package/src/d3.ts +107 -8
- package/src/dgmo-router.ts +82 -3
- package/src/echarts.ts +8 -5
- package/src/editor/dgmo.grammar +5 -1
- package/src/editor/dgmo.grammar.js +1 -1
- package/src/editor/keywords.ts +17 -0
- package/src/gantt/parser.ts +2 -8
- package/src/graph/flowchart-parser.ts +15 -21
- package/src/graph/state-parser.ts +5 -10
- package/src/index.ts +63 -2
- package/src/infra/layout.ts +218 -74
- package/src/infra/parser.ts +32 -8
- package/src/infra/renderer.ts +14 -8
- package/src/infra/types.ts +10 -3
- package/src/internal.ts +16 -0
- package/src/journey-map/layout.ts +386 -0
- package/src/journey-map/parser.ts +540 -0
- package/src/journey-map/renderer.ts +1521 -0
- package/src/journey-map/types.ts +47 -0
- package/src/kanban/parser.ts +3 -10
- package/src/kanban/renderer.ts +31 -15
- package/src/mindmap/parser.ts +12 -18
- package/src/mindmap/renderer.ts +14 -13
- package/src/mindmap/text-wrap.ts +22 -12
- package/src/mindmap/types.ts +2 -2
- package/src/org/collapse.ts +81 -0
- package/src/org/parser.ts +2 -6
- package/src/org/renderer.ts +212 -4
- package/src/pyramid/parser.ts +172 -0
- package/src/pyramid/renderer.ts +684 -0
- package/src/pyramid/types.ts +28 -0
- package/src/render.ts +2 -8
- package/src/sequence/parser.ts +62 -20
- package/src/sequence/renderer.ts +146 -40
- package/src/sharing.ts +1 -0
- package/src/sitemap/layout.ts +21 -6
- package/src/sitemap/parser.ts +26 -17
- package/src/sitemap/renderer.ts +34 -0
- package/src/sitemap/types.ts +1 -0
- package/src/tech-radar/index.ts +14 -0
- package/src/tech-radar/interactive.ts +1112 -0
- package/src/tech-radar/layout.ts +190 -0
- package/src/tech-radar/parser.ts +385 -0
- package/src/tech-radar/renderer.ts +1159 -0
- package/src/tech-radar/shared.ts +187 -0
- package/src/tech-radar/types.ts +81 -0
- package/src/utils/description-helpers.ts +33 -0
- package/src/utils/legend-layout.ts +3 -1
- package/src/utils/parsing.ts +47 -7
- package/src/utils/tag-groups.ts +46 -60
package/dist/index.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ interface CompactViewState {
|
|
|
114
114
|
io?: Record<string, number>;
|
|
115
115
|
hd?: boolean;
|
|
116
116
|
cbd?: boolean;
|
|
117
|
+
rq?: string;
|
|
117
118
|
}
|
|
118
119
|
interface DecodedDiagramUrl {
|
|
119
120
|
dsl: string;
|
|
@@ -225,12 +226,24 @@ declare function getRenderCategory(chartType: string): RenderCategory | null;
|
|
|
225
226
|
* Returns false for standard chart types and all other types.
|
|
226
227
|
*/
|
|
227
228
|
declare function isExtendedChartType(chartType: string): boolean;
|
|
229
|
+
/**
|
|
230
|
+
* Returns all supported chart type identifiers.
|
|
231
|
+
* Useful for CLI enumeration and autocomplete.
|
|
232
|
+
*/
|
|
233
|
+
declare function getAllChartTypes(): string[];
|
|
234
|
+
/**
|
|
235
|
+
* Canonical descriptions for every supported chart type. Shared by the CLI
|
|
236
|
+
* `--chart-types` flag, the editor autocomplete popup, and the MCP
|
|
237
|
+
* `list_chart_types` tool so all three surfaces stay in sync.
|
|
238
|
+
*/
|
|
239
|
+
declare const CHART_TYPE_DESCRIPTIONS: Record<string, string>;
|
|
228
240
|
/**
|
|
229
241
|
* Parse DGMO content and return diagnostics without rendering.
|
|
230
242
|
* Useful for the CLI and editor to surface all errors before attempting render.
|
|
231
243
|
*/
|
|
232
244
|
declare function parseDgmo(content: string): {
|
|
233
245
|
diagnostics: DgmoError[];
|
|
246
|
+
chartType: string | null;
|
|
234
247
|
};
|
|
235
248
|
|
|
236
249
|
/**
|
|
@@ -795,7 +808,7 @@ interface TagGroup {
|
|
|
795
808
|
lineNumber: number;
|
|
796
809
|
}
|
|
797
810
|
|
|
798
|
-
type VisualizationType = 'slope' | 'wordcloud' | 'arc' | 'timeline' | 'venn' | 'quadrant' | 'sequence';
|
|
811
|
+
type VisualizationType = 'slope' | 'wordcloud' | 'arc' | 'timeline' | 'venn' | 'quadrant' | 'sequence' | 'tech-radar' | 'cycle' | 'pyramid';
|
|
799
812
|
interface D3DataItem {
|
|
800
813
|
label: string;
|
|
801
814
|
values: number[];
|
|
@@ -1574,10 +1587,37 @@ interface OrgLayoutResult {
|
|
|
1574
1587
|
}
|
|
1575
1588
|
declare function layoutOrg(parsed: ParsedOrg, hiddenCounts?: Map<string, number>, activeTagGroup?: string | null, hiddenAttributes?: Set<string>, expandAllLegend?: boolean): OrgLayoutResult;
|
|
1576
1589
|
|
|
1590
|
+
interface CollapsedOrgResult {
|
|
1591
|
+
/** ParsedOrg with collapsed subtrees pruned (deep-cloned, never mutates original) */
|
|
1592
|
+
parsed: ParsedOrg;
|
|
1593
|
+
/** nodeId → count of hidden descendants */
|
|
1594
|
+
hiddenCounts: Map<string, number>;
|
|
1595
|
+
}
|
|
1596
|
+
interface AncestorInfo {
|
|
1597
|
+
id: string;
|
|
1598
|
+
label: string;
|
|
1599
|
+
lineNumber: number;
|
|
1600
|
+
color?: string;
|
|
1601
|
+
metadata: Record<string, string>;
|
|
1602
|
+
isContainer: boolean;
|
|
1603
|
+
}
|
|
1604
|
+
interface FocusOrgResult {
|
|
1605
|
+
/** ParsedOrg with only the focused subtree as the single root */
|
|
1606
|
+
parsed: ParsedOrg;
|
|
1607
|
+
/** Ancestor path from original root → parent of focused node (top-down order) */
|
|
1608
|
+
ancestorPath: AncestorInfo[];
|
|
1609
|
+
}
|
|
1610
|
+
declare function collapseOrgTree(original: ParsedOrg, collapsedIds: Set<string>): CollapsedOrgResult;
|
|
1611
|
+
/**
|
|
1612
|
+
* Extract a subtree rooted at `focusNodeId`, returning the focused tree
|
|
1613
|
+
* and the ancestor breadcrumb path. Returns null if the node is not found.
|
|
1614
|
+
*/
|
|
1615
|
+
declare function focusOrgTree(original: ParsedOrg, focusNodeId: string): FocusOrgResult | null;
|
|
1616
|
+
|
|
1577
1617
|
declare function renderOrg(container: HTMLDivElement, parsed: ParsedOrg, layout: OrgLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
|
|
1578
1618
|
width?: number;
|
|
1579
1619
|
height?: number;
|
|
1580
|
-
}, activeTagGroup?: string | null, hiddenAttributes?: Set<string
|
|
1620
|
+
}, activeTagGroup?: string | null, hiddenAttributes?: Set<string>, ancestorPath?: AncestorInfo[]): void;
|
|
1581
1621
|
declare function renderOrgForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
1582
1622
|
|
|
1583
1623
|
/** @deprecated Use `TagEntry` from `utils/tag-groups` */
|
|
@@ -1676,6 +1716,7 @@ interface C4Element {
|
|
|
1676
1716
|
type: C4ElementType;
|
|
1677
1717
|
shape: C4Shape;
|
|
1678
1718
|
metadata: Record<string, string>;
|
|
1719
|
+
description?: string[];
|
|
1679
1720
|
children: C4Element[];
|
|
1680
1721
|
groups: C4Group[];
|
|
1681
1722
|
relationships: C4Relationship[];
|
|
@@ -1833,7 +1874,7 @@ interface BLNode {
|
|
|
1833
1874
|
label: string;
|
|
1834
1875
|
lineNumber: number;
|
|
1835
1876
|
metadata: Record<string, string>;
|
|
1836
|
-
description?: string;
|
|
1877
|
+
description?: string[];
|
|
1837
1878
|
}
|
|
1838
1879
|
interface BLEdge {
|
|
1839
1880
|
source: string;
|
|
@@ -1912,6 +1953,8 @@ interface BLLayoutResult {
|
|
|
1912
1953
|
declare function layoutBoxesAndLines(parsed: ParsedBoxesAndLines, collapseInfo?: {
|
|
1913
1954
|
collapsedChildCounts: Map<string, number>;
|
|
1914
1955
|
originalGroups: BLGroup[];
|
|
1956
|
+
}, layoutOptions?: {
|
|
1957
|
+
hideDescriptions?: boolean;
|
|
1915
1958
|
}): BLLayoutResult;
|
|
1916
1959
|
|
|
1917
1960
|
interface BLRenderOptions {
|
|
@@ -1922,6 +1965,10 @@ interface BLRenderOptions {
|
|
|
1922
1965
|
};
|
|
1923
1966
|
activeTagGroup?: string | null;
|
|
1924
1967
|
hiddenTagValues?: Map<string, Set<string>>;
|
|
1968
|
+
hideDescriptions?: boolean;
|
|
1969
|
+
controlsExpanded?: boolean;
|
|
1970
|
+
onToggleDescriptions?: (active: boolean) => void;
|
|
1971
|
+
onToggleControlsExpand?: () => void;
|
|
1925
1972
|
}
|
|
1926
1973
|
declare function renderBoxesAndLines(container: HTMLDivElement, parsed: ParsedBoxesAndLines, layout: BLLayoutResult, palette: PaletteColors, isDark: boolean, options?: BLRenderOptions): void;
|
|
1927
1974
|
declare function renderBoxesAndLinesForExport(container: HTMLDivElement, parsed: ParsedBoxesAndLines, layout: BLLayoutResult, palette: PaletteColors, isDark: boolean, options?: {
|
|
@@ -1956,6 +2003,7 @@ interface SitemapNode {
|
|
|
1956
2003
|
metadata: Record<string, string>;
|
|
1957
2004
|
children: SitemapNode[];
|
|
1958
2005
|
parentId: string | null;
|
|
2006
|
+
description?: string[];
|
|
1959
2007
|
/** True for [Group Name] container nodes */
|
|
1960
2008
|
isContainer: boolean;
|
|
1961
2009
|
lineNumber: number;
|
|
@@ -1997,6 +2045,7 @@ interface SitemapLayoutNode {
|
|
|
1997
2045
|
metadata: Record<string, string>;
|
|
1998
2046
|
/** Original (unfiltered) metadata for tag-based coloring and hover dimming */
|
|
1999
2047
|
tagMetadata: Record<string, string>;
|
|
2048
|
+
description?: string[];
|
|
2000
2049
|
isContainer: boolean;
|
|
2001
2050
|
lineNumber: number;
|
|
2002
2051
|
color?: string;
|
|
@@ -2095,7 +2144,7 @@ interface InfraNode {
|
|
|
2095
2144
|
groupId: string | null;
|
|
2096
2145
|
tags: Record<string, string>;
|
|
2097
2146
|
isEdge: boolean;
|
|
2098
|
-
description?: string;
|
|
2147
|
+
description?: string[];
|
|
2099
2148
|
lineNumber: number;
|
|
2100
2149
|
}
|
|
2101
2150
|
interface InfraEdge {
|
|
@@ -2191,7 +2240,7 @@ interface ComputedInfraNode {
|
|
|
2191
2240
|
};
|
|
2192
2241
|
properties: InfraProperty[];
|
|
2193
2242
|
tags: Record<string, string>;
|
|
2194
|
-
description?: string;
|
|
2243
|
+
description?: string[];
|
|
2195
2244
|
lineNumber: number;
|
|
2196
2245
|
}
|
|
2197
2246
|
interface ComputedInfraEdge {
|
|
@@ -2272,7 +2321,7 @@ interface InfraLayoutNode {
|
|
|
2272
2321
|
properties: ComputedInfraNode['properties'];
|
|
2273
2322
|
queueMetrics?: ComputedInfraNode['queueMetrics'];
|
|
2274
2323
|
tags: Record<string, string>;
|
|
2275
|
-
description?: string;
|
|
2324
|
+
description?: string[];
|
|
2276
2325
|
lineNumber: number;
|
|
2277
2326
|
}
|
|
2278
2327
|
interface InfraLayoutEdge {
|
|
@@ -2569,18 +2618,10 @@ declare function collectTasks(nodes: GanttNode[]): GanttTask[];
|
|
|
2569
2618
|
*/
|
|
2570
2619
|
declare function resolveTaskName(name: string, allTasks: GanttTask[]): ResolverResult;
|
|
2571
2620
|
|
|
2572
|
-
interface CollapsedOrgResult {
|
|
2573
|
-
/** ParsedOrg with collapsed subtrees pruned (deep-cloned, never mutates original) */
|
|
2574
|
-
parsed: ParsedOrg;
|
|
2575
|
-
/** nodeId → count of hidden descendants */
|
|
2576
|
-
hiddenCounts: Map<string, number>;
|
|
2577
|
-
}
|
|
2578
|
-
declare function collapseOrgTree(original: ParsedOrg, collapsedIds: Set<string>): CollapsedOrgResult;
|
|
2579
|
-
|
|
2580
2621
|
interface MindmapNode {
|
|
2581
2622
|
id: string;
|
|
2582
2623
|
label: string;
|
|
2583
|
-
description?: string;
|
|
2624
|
+
description?: string[];
|
|
2584
2625
|
metadata: Record<string, string>;
|
|
2585
2626
|
children: MindmapNode[];
|
|
2586
2627
|
parentId: string | null;
|
|
@@ -2600,7 +2641,7 @@ interface ParsedMindmap {
|
|
|
2600
2641
|
interface MindmapLayoutNode {
|
|
2601
2642
|
id: string;
|
|
2602
2643
|
label: string;
|
|
2603
|
-
description?: string;
|
|
2644
|
+
description?: string[];
|
|
2604
2645
|
metadata: Record<string, string>;
|
|
2605
2646
|
lineNumber: number;
|
|
2606
2647
|
color?: string;
|
|
@@ -2776,6 +2817,365 @@ declare function renderWireframe(container: HTMLDivElement, parsed: ParsedWirefr
|
|
|
2776
2817
|
height?: number;
|
|
2777
2818
|
}, theme?: string, options?: WireframeRenderOptions): void;
|
|
2778
2819
|
|
|
2820
|
+
type QuadrantPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
2821
|
+
type BlipTrend = 'new' | 'up' | 'down' | 'stable';
|
|
2822
|
+
interface TechRadarRing {
|
|
2823
|
+
name: string;
|
|
2824
|
+
alias: string | null;
|
|
2825
|
+
lineNumber: number;
|
|
2826
|
+
}
|
|
2827
|
+
interface TechRadarBlip {
|
|
2828
|
+
name: string;
|
|
2829
|
+
ring: string;
|
|
2830
|
+
trend: BlipTrend | null;
|
|
2831
|
+
description: string[];
|
|
2832
|
+
lineNumber: number;
|
|
2833
|
+
/** Assigned after parsing — global numbering across all quadrants. */
|
|
2834
|
+
globalNumber: number;
|
|
2835
|
+
}
|
|
2836
|
+
interface TechRadarQuadrant {
|
|
2837
|
+
name: string;
|
|
2838
|
+
position: QuadrantPosition;
|
|
2839
|
+
color: string | null;
|
|
2840
|
+
lineNumber: number;
|
|
2841
|
+
blips: TechRadarBlip[];
|
|
2842
|
+
}
|
|
2843
|
+
interface ParsedTechRadar {
|
|
2844
|
+
type: 'tech-radar';
|
|
2845
|
+
title: string;
|
|
2846
|
+
titleLineNumber: number;
|
|
2847
|
+
rings: TechRadarRing[];
|
|
2848
|
+
quadrants: TechRadarQuadrant[];
|
|
2849
|
+
options: Record<string, string>;
|
|
2850
|
+
diagnostics: DgmoError[];
|
|
2851
|
+
error: string | null;
|
|
2852
|
+
}
|
|
2853
|
+
interface TechRadarLayoutPoint {
|
|
2854
|
+
blip: TechRadarBlip;
|
|
2855
|
+
x: number;
|
|
2856
|
+
y: number;
|
|
2857
|
+
quadrantIndex: number;
|
|
2858
|
+
ringIndex: number;
|
|
2859
|
+
}
|
|
2860
|
+
interface TechRadarRenderOptions {
|
|
2861
|
+
/** Whether the blip listing is visible. Default: true for export, false for interactive. */
|
|
2862
|
+
showListing?: boolean;
|
|
2863
|
+
/** Callback when the listing toggle is clicked. */
|
|
2864
|
+
onToggleListing?: (show: boolean) => void;
|
|
2865
|
+
/** Whether the controls legend capsule is expanded. */
|
|
2866
|
+
controlsExpanded?: boolean;
|
|
2867
|
+
/** Callback when the controls gear pill is clicked (expand/collapse). */
|
|
2868
|
+
onToggleControlsExpand?: () => void;
|
|
2869
|
+
/** Active legend group name (e.g. 'Trends'). */
|
|
2870
|
+
activeLegendGroup?: string | null;
|
|
2871
|
+
/** Callback when a legend group pill is toggled. */
|
|
2872
|
+
onLegendGroupToggle?: (groupName: string) => void;
|
|
2873
|
+
/** Active line from the editor cursor — triggers popover/expansion for that blip. */
|
|
2874
|
+
activeLine?: number | null;
|
|
2875
|
+
}
|
|
2876
|
+
|
|
2877
|
+
declare function parseTechRadar(content: string): ParsedTechRadar;
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Compute deterministic, non-overlapping blip positions for a tech radar.
|
|
2881
|
+
*
|
|
2882
|
+
* Each blip is positioned within its ring+quadrant slice using polar coordinates,
|
|
2883
|
+
* then converted to cartesian. The algorithm is:
|
|
2884
|
+
* - Stable: changes in one slice don't affect other slices
|
|
2885
|
+
* - Deterministic: same input always produces same output
|
|
2886
|
+
* - Collision-avoiding: nudges overlapping blips radially within their ring band
|
|
2887
|
+
*/
|
|
2888
|
+
declare function computeRadarLayout(parsed: ParsedTechRadar, width: number, height: number): TechRadarLayoutPoint[];
|
|
2889
|
+
/**
|
|
2890
|
+
* Get the center and max radius for a radar at the given dimensions.
|
|
2891
|
+
* Useful for renderers that need these values independently.
|
|
2892
|
+
*/
|
|
2893
|
+
declare function getRadarGeometry(width: number, height: number, ringCount: number): {
|
|
2894
|
+
cx: number;
|
|
2895
|
+
cy: number;
|
|
2896
|
+
maxRadius: number;
|
|
2897
|
+
ringBandWidth: number;
|
|
2898
|
+
};
|
|
2899
|
+
|
|
2900
|
+
declare function renderTechRadar(container: HTMLDivElement, parsed: ParsedTechRadar, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, viewState?: CompactViewState, options?: TechRadarRenderOptions): void;
|
|
2901
|
+
declare function renderTechRadarForExport(container: HTMLDivElement, parsed: ParsedTechRadar, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions, viewState?: CompactViewState): void;
|
|
2902
|
+
|
|
2903
|
+
declare function renderQuadrantFocus(container: HTMLDivElement, parsed: ParsedTechRadar, quadrantPosition: QuadrantPosition, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, _options?: TechRadarRenderOptions): void;
|
|
2904
|
+
declare function renderQuadrantFocusForExport(container: HTMLDivElement, parsed: ParsedTechRadar, quadrantPosition: QuadrantPosition, palette: PaletteColors, isDark: boolean, exportDims: {
|
|
2905
|
+
width: number;
|
|
2906
|
+
height: number;
|
|
2907
|
+
}): void;
|
|
2908
|
+
|
|
2909
|
+
interface CycleNode {
|
|
2910
|
+
label: string;
|
|
2911
|
+
lineNumber: number;
|
|
2912
|
+
color?: string;
|
|
2913
|
+
span: number;
|
|
2914
|
+
description: string[];
|
|
2915
|
+
metadata: Record<string, string>;
|
|
2916
|
+
}
|
|
2917
|
+
interface CycleEdge {
|
|
2918
|
+
sourceIndex: number;
|
|
2919
|
+
targetIndex: number;
|
|
2920
|
+
label?: string;
|
|
2921
|
+
color?: string;
|
|
2922
|
+
width?: number;
|
|
2923
|
+
description: string[];
|
|
2924
|
+
lineNumber?: number;
|
|
2925
|
+
metadata: Record<string, string>;
|
|
2926
|
+
}
|
|
2927
|
+
interface ParsedCycle {
|
|
2928
|
+
type: 'cycle';
|
|
2929
|
+
title: string;
|
|
2930
|
+
titleLineNumber: number;
|
|
2931
|
+
nodes: CycleNode[];
|
|
2932
|
+
edges: CycleEdge[];
|
|
2933
|
+
direction: 'clockwise' | 'counterclockwise';
|
|
2934
|
+
options: Record<string, string>;
|
|
2935
|
+
diagnostics: DgmoError[];
|
|
2936
|
+
error: string | null;
|
|
2937
|
+
}
|
|
2938
|
+
interface CycleLayoutNode {
|
|
2939
|
+
label: string;
|
|
2940
|
+
x: number;
|
|
2941
|
+
y: number;
|
|
2942
|
+
angle: number;
|
|
2943
|
+
width: number;
|
|
2944
|
+
height: number;
|
|
2945
|
+
/** Pre-wrapped description lines (fit to node width). Empty if no descriptions. */
|
|
2946
|
+
wrappedDesc: string[];
|
|
2947
|
+
/** Whether this node should be rendered as a circle. */
|
|
2948
|
+
isCircle: boolean;
|
|
2949
|
+
}
|
|
2950
|
+
interface CycleLayoutEdge {
|
|
2951
|
+
sourceIndex: number;
|
|
2952
|
+
targetIndex: number;
|
|
2953
|
+
path: string;
|
|
2954
|
+
labelX: number;
|
|
2955
|
+
labelY: number;
|
|
2956
|
+
/** Angle of the label position on the circle (radians), for text-anchor. */
|
|
2957
|
+
labelAngle: number;
|
|
2958
|
+
label?: string;
|
|
2959
|
+
}
|
|
2960
|
+
interface CycleLayoutResult {
|
|
2961
|
+
nodes: CycleLayoutNode[];
|
|
2962
|
+
edges: CycleLayoutEdge[];
|
|
2963
|
+
cx: number;
|
|
2964
|
+
cy: number;
|
|
2965
|
+
radius: number;
|
|
2966
|
+
width: number;
|
|
2967
|
+
height: number;
|
|
2968
|
+
/** Scale factor applied to nodes (1 = no scaling, <1 = shrunk to fit). */
|
|
2969
|
+
scale: number;
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2972
|
+
/**
|
|
2973
|
+
* Parse a `.dgmo` cycle diagram document.
|
|
2974
|
+
*
|
|
2975
|
+
* Syntax:
|
|
2976
|
+
* ```
|
|
2977
|
+
* cycle Title
|
|
2978
|
+
*
|
|
2979
|
+
* direction-counterclockwise
|
|
2980
|
+
*
|
|
2981
|
+
* NodeLabel | color: blue, span: 3
|
|
2982
|
+
* Description line (indented under node)
|
|
2983
|
+
* -Label-> | color: red, width: 6
|
|
2984
|
+
* Edge description (indented under edge)
|
|
2985
|
+
* ```
|
|
2986
|
+
*/
|
|
2987
|
+
declare function parseCycle(content: string): ParsedCycle;
|
|
2988
|
+
|
|
2989
|
+
/**
|
|
2990
|
+
* Compute cycle diagram layout: positions nodes equidistant (or span-weighted)
|
|
2991
|
+
* on a circle, and generates curved edge paths between consecutive nodes.
|
|
2992
|
+
*/
|
|
2993
|
+
declare function computeCycleLayout(parsed: ParsedCycle, options?: {
|
|
2994
|
+
width?: number;
|
|
2995
|
+
height?: number;
|
|
2996
|
+
hideDescriptions?: boolean;
|
|
2997
|
+
}): CycleLayoutResult;
|
|
2998
|
+
|
|
2999
|
+
interface CycleRenderOptions {
|
|
3000
|
+
onClickItem?: (lineNumber: number) => void;
|
|
3001
|
+
exportDims?: D3ExportDimensions;
|
|
3002
|
+
viewState?: CompactViewState;
|
|
3003
|
+
hideDescriptions?: boolean;
|
|
3004
|
+
controlsExpanded?: boolean;
|
|
3005
|
+
onToggleDescriptions?: (active: boolean) => void;
|
|
3006
|
+
onToggleControlsExpand?: () => void;
|
|
3007
|
+
}
|
|
3008
|
+
/**
|
|
3009
|
+
* Render a cycle diagram into the given container.
|
|
3010
|
+
*/
|
|
3011
|
+
declare function renderCycle(container: HTMLDivElement, parsed: ParsedCycle, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions, viewState?: CompactViewState, renderOptions?: CycleRenderOptions): void;
|
|
3012
|
+
/**
|
|
3013
|
+
* Render for CLI/export (no click handlers).
|
|
3014
|
+
*/
|
|
3015
|
+
declare function renderCycleForExport(container: HTMLDivElement, parsed: ParsedCycle, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions, viewState?: CompactViewState): void;
|
|
3016
|
+
|
|
3017
|
+
interface JourneyMapAnnotation {
|
|
3018
|
+
type: 'pain' | 'opportunity' | 'thought';
|
|
3019
|
+
text: string;
|
|
3020
|
+
}
|
|
3021
|
+
interface JourneyMapStep {
|
|
3022
|
+
id: string;
|
|
3023
|
+
title: string;
|
|
3024
|
+
score?: number;
|
|
3025
|
+
emotionLabel?: string;
|
|
3026
|
+
tags: Record<string, string>;
|
|
3027
|
+
annotations: JourneyMapAnnotation[];
|
|
3028
|
+
description?: string;
|
|
3029
|
+
lineNumber: number;
|
|
3030
|
+
endLineNumber: number;
|
|
3031
|
+
}
|
|
3032
|
+
interface JourneyMapPhase {
|
|
3033
|
+
id: string;
|
|
3034
|
+
name: string;
|
|
3035
|
+
steps: JourneyMapStep[];
|
|
3036
|
+
lineNumber: number;
|
|
3037
|
+
}
|
|
3038
|
+
interface JourneyMapPersona {
|
|
3039
|
+
name: string;
|
|
3040
|
+
description?: string;
|
|
3041
|
+
color?: string;
|
|
3042
|
+
lineNumber: number;
|
|
3043
|
+
}
|
|
3044
|
+
interface ParsedJourneyMap {
|
|
3045
|
+
type: 'journey-map';
|
|
3046
|
+
title?: string;
|
|
3047
|
+
titleLineNumber?: number;
|
|
3048
|
+
persona?: JourneyMapPersona;
|
|
3049
|
+
phases: JourneyMapPhase[];
|
|
3050
|
+
/** Flat-mode steps (not inside any phase) */
|
|
3051
|
+
steps: JourneyMapStep[];
|
|
3052
|
+
tagGroups: TagGroup[];
|
|
3053
|
+
options: Record<string, string>;
|
|
3054
|
+
diagnostics: DgmoError[];
|
|
3055
|
+
error: string | null;
|
|
3056
|
+
}
|
|
3057
|
+
|
|
3058
|
+
declare function parseJourneyMap(content: string, palette?: PaletteColors): ParsedJourneyMap;
|
|
3059
|
+
|
|
3060
|
+
interface CurvePoint {
|
|
3061
|
+
x: number;
|
|
3062
|
+
y: number;
|
|
3063
|
+
score: number;
|
|
3064
|
+
emotionLabel?: string;
|
|
3065
|
+
stepIndex: number;
|
|
3066
|
+
}
|
|
3067
|
+
interface StepLayout {
|
|
3068
|
+
x: number;
|
|
3069
|
+
y: number;
|
|
3070
|
+
width: number;
|
|
3071
|
+
height: number;
|
|
3072
|
+
step: JourneyMapStep;
|
|
3073
|
+
color: string;
|
|
3074
|
+
}
|
|
3075
|
+
interface PhaseLayout {
|
|
3076
|
+
x: number;
|
|
3077
|
+
y: number;
|
|
3078
|
+
width: number;
|
|
3079
|
+
height: number;
|
|
3080
|
+
phase: JourneyMapPhase;
|
|
3081
|
+
headerColor: string;
|
|
3082
|
+
stepLayouts: StepLayout[];
|
|
3083
|
+
}
|
|
3084
|
+
interface JourneyMapLayout {
|
|
3085
|
+
phases: PhaseLayout[];
|
|
3086
|
+
flatStepLayouts: StepLayout[];
|
|
3087
|
+
curvePoints: CurvePoint[];
|
|
3088
|
+
totalWidth: number;
|
|
3089
|
+
totalHeight: number;
|
|
3090
|
+
curveAreaTop: number;
|
|
3091
|
+
curveAreaBottom: number;
|
|
3092
|
+
cardAreaTop: number;
|
|
3093
|
+
personaHeight: number;
|
|
3094
|
+
titleHeight: number;
|
|
3095
|
+
/** Whether any step has thought annotations */
|
|
3096
|
+
hasThoughts: boolean;
|
|
3097
|
+
}
|
|
3098
|
+
declare function layoutJourneyMap(parsed: ParsedJourneyMap, palette: PaletteColors, options?: {
|
|
3099
|
+
exportDims?: {
|
|
3100
|
+
width: number;
|
|
3101
|
+
height: number;
|
|
3102
|
+
};
|
|
3103
|
+
collapsedPhases?: Set<string>;
|
|
3104
|
+
}): JourneyMapLayout;
|
|
3105
|
+
|
|
3106
|
+
interface JourneyMapInteractiveOptions {
|
|
3107
|
+
onNavigateToLine?: (line: number) => void;
|
|
3108
|
+
exportDims?: {
|
|
3109
|
+
width: number;
|
|
3110
|
+
height: number;
|
|
3111
|
+
};
|
|
3112
|
+
activeTagGroup?: string | null;
|
|
3113
|
+
onActiveTagGroupChange?: (group: string | null) => void;
|
|
3114
|
+
/** Current editor cursor line — highlights the matching face + card, dims the rest */
|
|
3115
|
+
currentLine?: number | null;
|
|
3116
|
+
/** Set of collapsed phase names */
|
|
3117
|
+
collapsedPhases?: Set<string>;
|
|
3118
|
+
/** Called when a phase is toggled */
|
|
3119
|
+
onPhaseToggle?: (phaseName: string) => void;
|
|
3120
|
+
}
|
|
3121
|
+
declare function renderJourneyMap(container: HTMLElement, parsed: ParsedJourneyMap, palette: PaletteColors, isDark: boolean, options?: JourneyMapInteractiveOptions): void;
|
|
3122
|
+
declare function renderJourneyMapForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
3123
|
+
|
|
3124
|
+
interface PyramidLayer {
|
|
3125
|
+
label: string;
|
|
3126
|
+
lineNumber: number;
|
|
3127
|
+
/** Optional palette color name (red/green/blue/…). */
|
|
3128
|
+
color?: string;
|
|
3129
|
+
/** Description lines — from bare pipe shorthand or indented body. */
|
|
3130
|
+
description: string[];
|
|
3131
|
+
/** Unconsumed pipe metadata (reserved for future use). */
|
|
3132
|
+
metadata: Record<string, string>;
|
|
3133
|
+
}
|
|
3134
|
+
interface ParsedPyramid {
|
|
3135
|
+
type: 'pyramid';
|
|
3136
|
+
title: string;
|
|
3137
|
+
titleLineNumber: number;
|
|
3138
|
+
layers: PyramidLayer[];
|
|
3139
|
+
/** When true, apex points down instead of up. */
|
|
3140
|
+
inverted: boolean;
|
|
3141
|
+
options: Record<string, string>;
|
|
3142
|
+
diagnostics: DgmoError[];
|
|
3143
|
+
error: string | null;
|
|
3144
|
+
}
|
|
3145
|
+
|
|
3146
|
+
/**
|
|
3147
|
+
* Parse a `.dgmo` pyramid diagram document.
|
|
3148
|
+
*
|
|
3149
|
+
* Top of file = apex of pyramid (reads top-down).
|
|
3150
|
+
*
|
|
3151
|
+
* Syntax:
|
|
3152
|
+
* ```
|
|
3153
|
+
* pyramid Maslow's Hierarchy of Needs
|
|
3154
|
+
*
|
|
3155
|
+
* inverted // optional — flips apex to bottom
|
|
3156
|
+
*
|
|
3157
|
+
* Self-Actualization // indented body = description
|
|
3158
|
+
* Achieving one's full potential.
|
|
3159
|
+
*
|
|
3160
|
+
* Esteem | Respect, recognition // bare pipe shorthand = description
|
|
3161
|
+
*
|
|
3162
|
+
* Love & Belonging | color: blue // structured metadata
|
|
3163
|
+
* Friendship, intimacy, family.
|
|
3164
|
+
*
|
|
3165
|
+
* Physiological | Food, water, rest
|
|
3166
|
+
* ```
|
|
3167
|
+
*/
|
|
3168
|
+
declare function parsePyramid(content: string): ParsedPyramid;
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
3171
|
+
* Render a pyramid diagram into the given container.
|
|
3172
|
+
*/
|
|
3173
|
+
declare function renderPyramid(container: HTMLDivElement, parsed: ParsedPyramid, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
3174
|
+
/**
|
|
3175
|
+
* Render for CLI/export (no click handlers).
|
|
3176
|
+
*/
|
|
3177
|
+
declare function renderPyramidForExport(container: HTMLDivElement, parsed: ParsedPyramid, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions): void;
|
|
3178
|
+
|
|
2779
3179
|
/**
|
|
2780
3180
|
* Async or sync file reader. Receives an absolute path, returns content.
|
|
2781
3181
|
* Throwing means "file not found".
|
|
@@ -2829,6 +3229,10 @@ interface SequenceRenderOptions {
|
|
|
2829
3229
|
expandedNoteLines?: Set<number>;
|
|
2830
3230
|
exportWidth?: number;
|
|
2831
3231
|
activeTagGroup?: string | null;
|
|
3232
|
+
expandAllNotes?: boolean;
|
|
3233
|
+
onExpandAllNotes?: (expand: boolean) => void;
|
|
3234
|
+
controlsExpanded?: boolean;
|
|
3235
|
+
onToggleControlsExpand?: () => void;
|
|
2832
3236
|
}
|
|
2833
3237
|
/**
|
|
2834
3238
|
* Group messages by the top-level section that precedes them.
|
|
@@ -2887,6 +3291,11 @@ declare function renderSequenceDiagram(container: HTMLDivElement, parsed: Parsed
|
|
|
2887
3291
|
* Used by the app to expand notes when cursor is on the associated message.
|
|
2888
3292
|
*/
|
|
2889
3293
|
declare function buildNoteMessageMap(elements: SequenceElement[]): Map<number, number>;
|
|
3294
|
+
/**
|
|
3295
|
+
* Collect all note line numbers from a sequence diagram's elements.
|
|
3296
|
+
* Used by the app to compute the "expand all" set.
|
|
3297
|
+
*/
|
|
3298
|
+
declare function collectNoteLineNumbers(elements: SequenceElement[]): number[];
|
|
2890
3299
|
|
|
2891
3300
|
interface CollapsedView {
|
|
2892
3301
|
participants: SequenceParticipant[];
|
|
@@ -2978,4 +3387,4 @@ declare function parseFirstLine(line: string): {
|
|
|
2978
3387
|
title: string | undefined;
|
|
2979
3388
|
} | null;
|
|
2980
3389
|
|
|
2981
|
-
export { ALL_CHART_TYPES, ARROW_DIAGNOSTIC_CODES, type Activation, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, 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, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, type CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, 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 ExtendedChartType, type ExtractFn, 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 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 KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions, type LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, METADATA_KEY_SET, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PipeKeySpec, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedGroup, type ResolvedSchedule, type ResolvedTask, type ScatterLabelPoint, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, 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 VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildTagLaneRowList, calculateSchedule, catppuccinPalette, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, decodeDiagramUrl, decodeViewState, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractTagDeclarations, formatDateLabel, formatDgmoError, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getPalette, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutMindmap, layoutOrg, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, mix, monokaiPalette, nord, nordPalette, oneDarkPalette, orderArcNodes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseKanban, parseMindmap, parseOrg, parseSequenceDgmo, parseSitemap, parseState, parseTimelineDate, parseVisualization, parseWireframe, registerExtractor, registerPalette, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderQuadrant, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, seriesColors, shade, solarizedPalette, tint, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra, validateLabelCharacters };
|
|
3390
|
+
export { ALL_CHART_TYPES, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type 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 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 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 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_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions, type LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, METADATA_KEY_SET, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, 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 ParsedPyramid, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PipeKeySpec, type PyramidLayer, type QuadrantPosition, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedGroup, type ResolvedSchedule, type ResolvedTask, type ScatterLabelPoint, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, 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 VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildTagLaneRowList, calculateSchedule, catppuccinPalette, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectNoteLineNumbers, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, decodeDiagramUrl, decodeViewState, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, mix, monokaiPalette, nord, nordPalette, oneDarkPalette, orderArcNodes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePyramid, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, registerExtractor, registerPalette, 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, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, seriesColors, shade, solarizedPalette, tint, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra, validateLabelCharacters };
|