@diagrammo/dgmo 0.6.2 → 0.7.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.
Files changed (61) hide show
  1. package/.claude/commands/dgmo.md +231 -13
  2. package/AGENTS.md +148 -0
  3. package/dist/cli.cjs +341 -165
  4. package/dist/index.cjs +4900 -1685
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +259 -18
  7. package/dist/index.d.ts +259 -18
  8. package/dist/index.js +4642 -1436
  9. package/dist/index.js.map +1 -1
  10. package/package.json +5 -3
  11. package/src/c4/layout.ts +0 -5
  12. package/src/c4/parser.ts +0 -16
  13. package/src/c4/renderer.ts +7 -11
  14. package/src/class/layout.ts +0 -1
  15. package/src/class/parser.ts +28 -0
  16. package/src/class/renderer.ts +189 -34
  17. package/src/cli.ts +566 -25
  18. package/src/colors.ts +3 -3
  19. package/src/completion.ts +58 -0
  20. package/src/d3.ts +179 -122
  21. package/src/dgmo-router.ts +3 -58
  22. package/src/echarts.ts +96 -55
  23. package/src/er/parser.ts +30 -1
  24. package/src/er/renderer.ts +12 -7
  25. package/src/gantt/calculator.ts +677 -0
  26. package/src/gantt/parser.ts +761 -0
  27. package/src/gantt/renderer.ts +2125 -0
  28. package/src/gantt/resolver.ts +144 -0
  29. package/src/gantt/types.ts +168 -0
  30. package/src/graph/flowchart-parser.ts +27 -4
  31. package/src/graph/flowchart-renderer.ts +1 -2
  32. package/src/graph/state-parser.ts +0 -1
  33. package/src/graph/state-renderer.ts +1 -3
  34. package/src/index.ts +37 -0
  35. package/src/infra/compute.ts +0 -7
  36. package/src/infra/layout.ts +0 -2
  37. package/src/infra/parser.ts +46 -4
  38. package/src/infra/renderer.ts +49 -27
  39. package/src/initiative-status/filter.ts +63 -0
  40. package/src/initiative-status/layout.ts +319 -67
  41. package/src/initiative-status/parser.ts +200 -25
  42. package/src/initiative-status/renderer.ts +298 -35
  43. package/src/initiative-status/types.ts +6 -0
  44. package/src/kanban/parser.ts +0 -2
  45. package/src/org/layout.ts +22 -59
  46. package/src/org/renderer.ts +11 -36
  47. package/src/palettes/dracula.ts +60 -0
  48. package/src/palettes/index.ts +8 -6
  49. package/src/palettes/monokai.ts +60 -0
  50. package/src/palettes/registry.ts +4 -2
  51. package/src/sequence/parser.ts +14 -11
  52. package/src/sequence/renderer.ts +5 -6
  53. package/src/sequence/tag-resolution.ts +0 -1
  54. package/src/sharing.ts +8 -0
  55. package/src/sitemap/layout.ts +1 -14
  56. package/src/sitemap/parser.ts +1 -2
  57. package/src/sitemap/renderer.ts +4 -7
  58. package/src/utils/arrows.ts +7 -7
  59. package/src/utils/duration.ts +212 -0
  60. package/src/utils/export-container.ts +40 -0
  61. package/src/utils/legend-constants.ts +1 -0
package/dist/index.d.cts CHANGED
@@ -135,7 +135,7 @@ declare function isValidHex(value: string): boolean;
135
135
  declare function registerPalette(palette: PaletteConfig): void;
136
136
  /** Get palette by id. Returns Nord if id is unrecognized (FR10). */
137
137
  declare function getPalette(id: string): PaletteConfig;
138
- /** List all registered palettes (for the selector UI). */
138
+ /** List all registered palettes alphabetically (for the selector UI). */
139
139
  declare function getAvailablePalettes(): PaletteConfig[];
140
140
 
141
141
  /** Convert hex (#RRGGBB or #RGB) to { h, s, l } with h in degrees, s/l as percentages. */
@@ -175,21 +175,21 @@ declare function contrastText(bg: string, lightText: string, darkText: string):
175
175
  /** Derive the 8-color series rotation from a palette's named colors. */
176
176
  declare function getSeriesColors(palette: PaletteColors): string[];
177
177
 
178
- declare const nordPalette: PaletteConfig;
179
-
180
- declare const solarizedPalette: PaletteConfig;
178
+ declare const boldPalette: PaletteConfig;
181
179
 
182
180
  declare const catppuccinPalette: PaletteConfig;
183
181
 
184
- declare const rosePinePalette: PaletteConfig;
185
-
186
182
  declare const gruvboxPalette: PaletteConfig;
187
183
 
188
- declare const tokyoNightPalette: PaletteConfig;
184
+ declare const nordPalette: PaletteConfig;
189
185
 
190
186
  declare const oneDarkPalette: PaletteConfig;
191
187
 
192
- declare const boldPalette: PaletteConfig;
188
+ declare const rosePinePalette: PaletteConfig;
189
+
190
+ declare const solarizedPalette: PaletteConfig;
191
+
192
+ declare const tokyoNightPalette: PaletteConfig;
193
193
 
194
194
  /**
195
195
  * Generates ~121 Mermaid theme variables from palette tokens.
@@ -205,7 +205,7 @@ declare function buildMermaidThemeVars(colors: PaletteColors, isDark: boolean):
205
205
  */
206
206
  declare function buildThemeCSS(palette: PaletteColors, isDark: boolean): string;
207
207
 
208
- type ChartType = 'bar' | 'line' | 'pie' | 'doughnut' | 'area' | 'polar-area' | 'radar' | 'bar-stacked';
208
+ type ChartType$1 = 'bar' | 'line' | 'pie' | 'doughnut' | 'area' | 'polar-area' | 'radar' | 'bar-stacked';
209
209
  interface ChartDataPoint {
210
210
  label: string;
211
211
  value: number;
@@ -221,7 +221,7 @@ interface ChartEra {
221
221
  }
222
222
 
223
223
  interface ParsedChart {
224
- type: ChartType;
224
+ type: ChartType$1;
225
225
  title?: string;
226
226
  titleLineNumber?: number;
227
227
  series?: string;
@@ -773,6 +773,27 @@ interface ParsedGraph {
773
773
  error: string | null;
774
774
  }
775
775
 
776
+ /**
777
+ * Diagram symbol extraction API.
778
+ *
779
+ * Provides DiagramSymbols interface + extractDiagramSymbols() dispatch.
780
+ * Each diagram type registers its own extractor via registerExtractor().
781
+ * All built-in extractors are registered at module init below.
782
+ */
783
+ type ChartType = string;
784
+ interface DiagramSymbols {
785
+ kind: ChartType;
786
+ entities: string[];
787
+ keywords: string[];
788
+ }
789
+ type ExtractFn = (docText: string) => DiagramSymbols;
790
+ declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
791
+ /**
792
+ * Extract diagram symbols from document text.
793
+ * Returns null if the chart type is unknown or has no registered extractor.
794
+ */
795
+ declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
796
+
776
797
  declare function parseFlowchart(content: string, palette?: PaletteColors): ParsedGraph;
777
798
  /**
778
799
  * Detect if content looks like a flowchart (without explicit `chart: flowchart` header).
@@ -914,7 +935,7 @@ declare function layoutClassDiagram(parsed: ParsedClassDiagram): ClassLayoutResu
914
935
  declare function renderClassDiagram(container: HTMLDivElement, parsed: ParsedClassDiagram, layout: ClassLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
915
936
  width?: number;
916
937
  height?: number;
917
- }): void;
938
+ }, legendActive?: boolean | null): void;
918
939
  declare function renderClassDiagramForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
919
940
 
920
941
  type ERConstraint = 'pk' | 'fk' | 'unique' | 'nullable';
@@ -1351,6 +1372,7 @@ interface ISNode {
1351
1372
  status: InitiativeStatus;
1352
1373
  shape: ParticipantType;
1353
1374
  lineNumber: number;
1375
+ metadata: Record<string, string>;
1354
1376
  }
1355
1377
  interface ISEdge {
1356
1378
  source: string;
@@ -1358,6 +1380,7 @@ interface ISEdge {
1358
1380
  label?: string;
1359
1381
  status: InitiativeStatus;
1360
1382
  lineNumber: number;
1383
+ metadata: Record<string, string>;
1361
1384
  }
1362
1385
  interface ISGroup {
1363
1386
  label: string;
@@ -1371,7 +1394,10 @@ interface ParsedInitiativeStatus {
1371
1394
  nodes: ISNode[];
1372
1395
  edges: ISEdge[];
1373
1396
  groups: ISGroup[];
1397
+ tagGroups: TagGroup[];
1374
1398
  options: Record<string, string>;
1399
+ /** Initial hidden tag values from `hide:` DSL directive. Map<groupKey, Set<values>> */
1400
+ initialHiddenTagValues: Map<string, Set<string>>;
1375
1401
  diagnostics: DgmoError[];
1376
1402
  error: string | null;
1377
1403
  }
@@ -1399,6 +1425,7 @@ interface ISLayoutNode {
1399
1425
  y: number;
1400
1426
  width: number;
1401
1427
  height: number;
1428
+ metadata: Record<string, string>;
1402
1429
  }
1403
1430
  interface ISLayoutEdge {
1404
1431
  source: string;
@@ -1431,12 +1458,30 @@ interface ISLayoutResult {
1431
1458
  }
1432
1459
  declare function layoutInitiativeStatus(parsed: ParsedInitiativeStatus, collapseResult?: CollapseResult): ISLayoutResult;
1433
1460
 
1434
- declare function renderInitiativeStatus(container: HTMLDivElement, parsed: ParsedInitiativeStatus, layout: ISLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
1435
- width?: number;
1436
- height?: number;
1437
- }): void;
1461
+ interface ISRenderOptions {
1462
+ onClickItem?: (lineNumber: number) => void;
1463
+ exportDims?: {
1464
+ width?: number;
1465
+ height?: number;
1466
+ };
1467
+ legendActive?: boolean | null;
1468
+ activeTagGroup?: string | null;
1469
+ hiddenTagValues?: Map<string, Set<string>>;
1470
+ tagGroups?: TagGroup[];
1471
+ }
1472
+ declare function renderInitiativeStatus(container: HTMLDivElement, parsed: ParsedInitiativeStatus, layout: ISLayoutResult, palette: PaletteColors, isDark: boolean, options?: ISRenderOptions): void;
1438
1473
  declare function renderInitiativeStatusForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
1439
1474
 
1475
+ /**
1476
+ * Filter an initiative-status graph by hiding nodes whose tag metadata
1477
+ * matches any hidden value. Returns a new (immutable copy) ParsedInitiativeStatus.
1478
+ *
1479
+ * @param parsed Fully-resolved parsed result (defaults already injected)
1480
+ * @param hiddenTagValues Map<groupKey, Set<hiddenValues>> — all keys/values lowercase
1481
+ * @returns Filtered copy; original is not mutated
1482
+ */
1483
+ declare function filterInitiativeStatusByTags(parsed: ParsedInitiativeStatus, hiddenTagValues: Map<string, Set<string>>): ParsedInitiativeStatus;
1484
+
1440
1485
  interface SitemapNode {
1441
1486
  id: string;
1442
1487
  label: string;
@@ -1833,6 +1878,201 @@ declare function parseAndLayoutInfra(content: string): {
1833
1878
  layout: InfraLayoutResult;
1834
1879
  };
1835
1880
 
1881
+ /** Calendar units: d (days), w (weeks), m (months), q (quarters), y (years). bd = business days. */
1882
+ type DurationUnit = 'd' | 'bd' | 'w' | 'm' | 'q' | 'y';
1883
+ interface Duration {
1884
+ amount: number;
1885
+ unit: DurationUnit;
1886
+ }
1887
+ interface Offset {
1888
+ duration: Duration;
1889
+ direction: 1 | -1;
1890
+ }
1891
+ interface GanttDependency {
1892
+ targetName: string;
1893
+ offset?: Offset;
1894
+ lineNumber: number;
1895
+ }
1896
+ interface GanttTask {
1897
+ id: string;
1898
+ label: string;
1899
+ duration: Duration | null;
1900
+ explicitStart?: string;
1901
+ uncertain: boolean;
1902
+ progress: number | null;
1903
+ offset?: Offset;
1904
+ dependencies: GanttDependency[];
1905
+ metadata: Record<string, string>;
1906
+ lineNumber: number;
1907
+ groupPath: string[];
1908
+ comment?: string;
1909
+ }
1910
+ interface GanttGroup {
1911
+ name: string;
1912
+ color: string | null;
1913
+ metadata: Record<string, string>;
1914
+ lineNumber: number;
1915
+ children: GanttNode[];
1916
+ }
1917
+ interface GanttParallelBlock {
1918
+ kind: 'parallel';
1919
+ lineNumber: number;
1920
+ children: GanttNode[];
1921
+ }
1922
+ /** A node in the gantt tree: either a task, group, or parallel block. */
1923
+ type GanttNode = ({
1924
+ kind: 'task';
1925
+ } & GanttTask) | ({
1926
+ kind: 'group';
1927
+ } & GanttGroup) | GanttParallelBlock;
1928
+ type Weekday = 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat' | 'sun';
1929
+ interface HolidayDate {
1930
+ date: string;
1931
+ label: string;
1932
+ lineNumber: number;
1933
+ }
1934
+ interface HolidayRange {
1935
+ startDate: string;
1936
+ endDate: string;
1937
+ label: string;
1938
+ lineNumber: number;
1939
+ }
1940
+ interface GanttHolidays {
1941
+ dates: HolidayDate[];
1942
+ ranges: HolidayRange[];
1943
+ workweek: Weekday[];
1944
+ }
1945
+ interface GanttEra {
1946
+ startDate: string;
1947
+ endDate: string;
1948
+ label: string;
1949
+ color: string | null;
1950
+ }
1951
+ interface GanttMarker {
1952
+ date: string;
1953
+ label: string;
1954
+ color: string | null;
1955
+ lineNumber: number;
1956
+ }
1957
+ interface GanttOptions {
1958
+ start: string | null;
1959
+ title: string | null;
1960
+ titleLineNumber: number | null;
1961
+ orientation: 'horizontal' | 'vertical';
1962
+ todayMarker: 'off' | 'on' | string;
1963
+ criticalPath: boolean;
1964
+ dependencies: boolean;
1965
+ sort: 'default' | 'tag';
1966
+ defaultSwimlaneGroup: string | null;
1967
+ }
1968
+ interface ParsedGantt {
1969
+ nodes: GanttNode[];
1970
+ holidays: GanttHolidays;
1971
+ tagGroups: TagGroup[];
1972
+ eras: GanttEra[];
1973
+ markers: GanttMarker[];
1974
+ options: GanttOptions;
1975
+ diagnostics: DgmoError[];
1976
+ error: string | null;
1977
+ }
1978
+ interface ResolvedTask {
1979
+ task: GanttTask;
1980
+ startDate: Date;
1981
+ endDate: Date;
1982
+ isCriticalPath: boolean;
1983
+ isUncertain: boolean;
1984
+ isMilestone: boolean;
1985
+ groupPath: string[];
1986
+ effectiveMetadata: Record<string, string>;
1987
+ }
1988
+ interface ResolvedGroup {
1989
+ name: string;
1990
+ color: string | null;
1991
+ metadata: Record<string, string>;
1992
+ startDate: Date;
1993
+ endDate: Date;
1994
+ progress: number | null;
1995
+ lineNumber: number;
1996
+ depth: number;
1997
+ }
1998
+ interface ResolvedSchedule {
1999
+ tasks: ResolvedTask[];
2000
+ groups: ResolvedGroup[];
2001
+ startDate: Date;
2002
+ endDate: Date;
2003
+ holidays: GanttHolidays;
2004
+ tagGroups: TagGroup[];
2005
+ eras: GanttEra[];
2006
+ markers: GanttMarker[];
2007
+ options: GanttOptions;
2008
+ diagnostics: DgmoError[];
2009
+ error: string | null;
2010
+ }
2011
+
2012
+ declare function parseGantt(content: string, palette?: PaletteColors): ParsedGantt;
2013
+
2014
+ declare function calculateSchedule(parsed: ParsedGantt): ResolvedSchedule;
2015
+
2016
+ interface GanttInteractiveOptions {
2017
+ onClickItem?: (lineNumber: number) => void;
2018
+ collapsedGroups?: Set<string>;
2019
+ onToggleGroup?: (groupName: string) => void;
2020
+ currentSwimlaneGroup?: string | null;
2021
+ onSwimlaneChange?: (group: string | null) => void;
2022
+ currentActiveGroup?: string | null;
2023
+ onActiveGroupChange?: (group: string | null) => void;
2024
+ collapsedLanes?: Set<string>;
2025
+ onToggleLane?: (laneName: string) => void;
2026
+ viewMode?: boolean;
2027
+ }
2028
+ declare function renderGantt(container: HTMLDivElement, resolved: ResolvedSchedule, palette: PaletteColors, isDark: boolean, options?: GanttInteractiveOptions, exportDims?: D3ExportDimensions): void;
2029
+ type GroupRow = {
2030
+ type: 'group';
2031
+ group: ResolvedGroup;
2032
+ };
2033
+ type TaskRow = {
2034
+ type: 'task';
2035
+ task: ResolvedTask;
2036
+ };
2037
+ type LaneHeaderRow = {
2038
+ type: 'lane-header';
2039
+ laneName: string;
2040
+ laneColor: string;
2041
+ aggregateProgress: number | null;
2042
+ tagKey: string;
2043
+ isCollapsed: boolean;
2044
+ laneStartDate: Date | null;
2045
+ laneEndDate: Date | null;
2046
+ };
2047
+ type Row = GroupRow | TaskRow | LaneHeaderRow;
2048
+
2049
+ declare function buildTagLaneRowList(resolved: ResolvedSchedule, swimlaneGroup: string, collapsedLanes?: Set<string>): Row[] | null;
2050
+
2051
+ interface ResolverMatch {
2052
+ task: GanttTask;
2053
+ }
2054
+ interface ResolverError {
2055
+ kind: 'not_found' | 'ambiguous';
2056
+ message: string;
2057
+ }
2058
+ type ResolverResult = ResolverMatch | ResolverError;
2059
+ /**
2060
+ * Collect all tasks from a tree of GanttNodes, annotating each with its
2061
+ * fully qualified group path (e.g., ["Backend", "API"]).
2062
+ */
2063
+ declare function collectTasks(nodes: GanttNode[]): GanttTask[];
2064
+ /**
2065
+ * Resolve a dependency target name to a task.
2066
+ *
2067
+ * Resolution strategy (greedy right-to-left):
2068
+ * 1. Try the full string as an exact task label match
2069
+ * 2. If no match, split at the last dot → group prefix + task label
2070
+ * 3. Recurse for deeper paths
2071
+ *
2072
+ * Returns a match or an error with helpful suggestions.
2073
+ */
2074
+ declare function resolveTaskName(name: string, allTasks: GanttTask[]): ResolverResult;
2075
+
1836
2076
  interface CollapsedOrgResult {
1837
2077
  /** ParsedOrg with collapsed subtrees pruned (deep-cloned, never mutates original) */
1838
2078
  parsed: ParsedOrg;
@@ -1967,9 +2207,9 @@ declare const nord: {
1967
2207
  /** Color name → Nord hex for inline `(color)` annotations. */
1968
2208
  declare const colorNames: Record<string, string>;
1969
2209
  /**
1970
- * Resolves a color name or hex code to a valid CSS color.
2210
+ * Resolves a color name to a valid CSS color.
1971
2211
  * When a palette is provided, named colors resolve against its color map first.
1972
- * Hex codes (e.g. "#ff0000") are passed through regardless of palette (FR8).
2212
+ * Hex codes are NOT supported use named colors only.
1973
2213
  * Unknown names are returned as-is.
1974
2214
  */
1975
2215
  declare function resolveColor(color: string, palette?: {
@@ -1982,6 +2222,7 @@ interface DiagramViewState {
1982
2222
  activeTagGroup?: string;
1983
2223
  collapsedGroups?: string[];
1984
2224
  swimlaneTagGroup?: string;
2225
+ collapsedLanes?: string[];
1985
2226
  palette?: string;
1986
2227
  theme?: 'light' | 'dark';
1987
2228
  }
@@ -2026,4 +2267,4 @@ declare function decodeDiagramUrl(hash: string): DecodedDiagramUrl;
2026
2267
  */
2027
2268
  declare function injectBranding(svgHtml: string, mutedColor: string): string;
2028
2269
 
2029
- export { type Activation, type ArcLink, type ArcNodeGroup, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, type ChartDataPoint, type ChartEra, type ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapseResult, type CollapsedOrgResult, type CollapsedSitemapResult, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramViewState, 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 GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, type ISEdge, type ISGroup, type ISLayoutEdge, type ISLayoutGroup, type ISLayoutNode, type ISLayoutResult, type ISNode, 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 InfraProperty, type InfraRole, type InfraTagGroup, type InitiativeStatus, type InlineSpan, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutResult, type MemberVisibility, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, type OrgTagEntry, type OrgTagGroup, type PaletteColors, type PaletteConfig, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGraph, type ParsedInfra, type ParsedInitiativeStatus, type ParsedKanban, type ParsedOrg, type ParsedQuadrant, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedVisualization, type ParticipantType, RULE_COUNT, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, 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 TagEntry, type TagGroup, type VisualizationType, addDurationToDate, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildMermaidQuadrant, buildMermaidThemeVars, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildThemeCSS, catppuccinPalette, collapseInitiativeStatus, collapseOrgTree, collapseSitemapTree, collectDiagramRoles, colorNames, computeActivations, computeCardArchive, computeCardMove, computeInfra, computeInfraLegendGroups, computeTimeTicks, contrastText, decodeDiagramUrl, encodeDiagramUrl, formatDateLabel, formatDgmoError, getAvailablePalettes, getPalette, getRenderCategory, getSeriesColors, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, hslToHex, inferParticipantType, inferRoles, injectBranding, isArchiveColumn, isExtendedChartType, isSequenceBlock, isSequenceNote, isValidHex, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutInitiativeStatus, layoutOrg, layoutSitemap, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeInitiativeStatus, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, mute, nord, nordPalette, oneDarkPalette, orderArcNodes, parseAndLayoutInfra, parseC4, parseChart, parseClassDiagram, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFlowchart, parseInfra, parseInitiativeStatus, parseInlineMarkdown, parseKanban, parseOrg, parseQuadrant, parseSequenceDgmo, parseSitemap, parseState, parseTimelineDate, parseVisualization, registerPalette, render, renderArcDiagram, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderInfra, renderInitiativeStatus, renderInitiativeStatusForExport, renderKanban, renderKanbanForExport, renderOrg, renderOrgForExport, renderQuadrant, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTimeline, renderVenn, renderWordCloud, resolveColor, resolveOrgImports, rollUpContextRelationships, rosePinePalette, seriesColors, shade, solarizedPalette, tint, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra };
2270
+ export { type Activation, type ArcLink, type ArcNodeGroup, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapseResult, type CollapsedOrgResult, type CollapsedSitemapResult, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DiagramViewState, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type 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 ISEdge, type ISGroup, type ISLayoutEdge, type ISLayoutGroup, type ISLayoutNode, type ISLayoutResult, type ISNode, type ISRenderOptions, 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 InfraProperty, type InfraRole, type InfraTagGroup, type InitiativeStatus, type InlineSpan, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutResult, type MemberVisibility, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, type OrgTagEntry, type OrgTagGroup, type PaletteColors, type PaletteConfig, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedInitiativeStatus, type ParsedKanban, type ParsedOrg, type ParsedQuadrant, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedVisualization, type ParticipantType, RULE_COUNT, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedGroup, type ResolvedSchedule, type ResolvedTask, 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 TagEntry, type TagGroup, type VisualizationType, addDurationToDate, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildMermaidQuadrant, buildMermaidThemeVars, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildTagLaneRowList, buildThemeCSS, calculateSchedule, catppuccinPalette, collapseInitiativeStatus, collapseOrgTree, collapseSitemapTree, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeInfra, computeInfraLegendGroups, computeTimeTicks, contrastText, decodeDiagramUrl, encodeDiagramUrl, extractDiagramSymbols, filterInitiativeStatusByTags, formatDateLabel, formatDgmoError, getAvailablePalettes, getPalette, getRenderCategory, getSeriesColors, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, hslToHex, inferParticipantType, inferRoles, injectBranding, isArchiveColumn, isExtendedChartType, isSequenceBlock, isSequenceNote, isValidHex, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutInitiativeStatus, layoutOrg, layoutSitemap, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeInitiativeStatus, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, mute, nord, nordPalette, oneDarkPalette, orderArcNodes, parseAndLayoutInfra, parseC4, parseChart, parseClassDiagram, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFlowchart, parseGantt, parseInfra, parseInitiativeStatus, parseInlineMarkdown, parseKanban, parseOrg, parseQuadrant, parseSequenceDgmo, parseSitemap, parseState, parseTimelineDate, parseVisualization, registerExtractor, registerPalette, render, renderArcDiagram, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderInitiativeStatus, renderInitiativeStatusForExport, renderKanban, renderKanbanForExport, renderOrg, renderOrgForExport, renderQuadrant, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTimeline, renderVenn, renderWordCloud, resolveColor, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, seriesColors, shade, solarizedPalette, tint, tokyoNightPalette, truncateBareUrl, validateComputed, validateInfra };