@diagrammo/dgmo 0.6.3 → 0.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/dist/cli.cjs +180 -178
  2. package/dist/index.cjs +5447 -2229
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +236 -16
  5. package/dist/index.d.ts +236 -16
  6. package/dist/index.js +5439 -2228
  7. package/dist/index.js.map +1 -1
  8. package/package.json +1 -1
  9. package/src/c4/parser.ts +3 -2
  10. package/src/c4/renderer.ts +6 -6
  11. package/src/class/renderer.ts +183 -7
  12. package/src/cli.ts +3 -11
  13. package/src/colors.ts +3 -3
  14. package/src/d3.ts +132 -29
  15. package/src/dgmo-router.ts +3 -1
  16. package/src/er/parser.ts +5 -3
  17. package/src/er/renderer.ts +11 -5
  18. package/src/gantt/calculator.ts +717 -0
  19. package/src/gantt/parser.ts +767 -0
  20. package/src/gantt/renderer.ts +2251 -0
  21. package/src/gantt/resolver.ts +144 -0
  22. package/src/gantt/types.ts +168 -0
  23. package/src/index.ts +27 -0
  24. package/src/infra/renderer.ts +48 -12
  25. package/src/initiative-status/filter.ts +63 -0
  26. package/src/initiative-status/layout.ts +319 -67
  27. package/src/initiative-status/parser.ts +200 -25
  28. package/src/initiative-status/renderer.ts +293 -10
  29. package/src/initiative-status/types.ts +6 -0
  30. package/src/org/layout.ts +22 -55
  31. package/src/org/parser.ts +7 -5
  32. package/src/org/renderer.ts +4 -8
  33. package/src/palettes/dracula.ts +60 -0
  34. package/src/palettes/index.ts +8 -6
  35. package/src/palettes/monokai.ts +60 -0
  36. package/src/palettes/registry.ts +4 -2
  37. package/src/sequence/parser.ts +10 -9
  38. package/src/sequence/renderer.ts +5 -4
  39. package/src/sharing.ts +8 -0
  40. package/src/sitemap/parser.ts +5 -3
  41. package/src/sitemap/renderer.ts +4 -4
  42. package/src/utils/duration.ts +212 -0
  43. package/src/utils/legend-constants.ts +1 -0
  44. package/src/utils/parsing.ts +23 -12
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.
@@ -935,7 +935,7 @@ declare function layoutClassDiagram(parsed: ParsedClassDiagram): ClassLayoutResu
935
935
  declare function renderClassDiagram(container: HTMLDivElement, parsed: ParsedClassDiagram, layout: ClassLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
936
936
  width?: number;
937
937
  height?: number;
938
- }): void;
938
+ }, legendActive?: boolean | null): void;
939
939
  declare function renderClassDiagramForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
940
940
 
941
941
  type ERConstraint = 'pk' | 'fk' | 'unique' | 'nullable';
@@ -1372,6 +1372,7 @@ interface ISNode {
1372
1372
  status: InitiativeStatus;
1373
1373
  shape: ParticipantType;
1374
1374
  lineNumber: number;
1375
+ metadata: Record<string, string>;
1375
1376
  }
1376
1377
  interface ISEdge {
1377
1378
  source: string;
@@ -1379,6 +1380,7 @@ interface ISEdge {
1379
1380
  label?: string;
1380
1381
  status: InitiativeStatus;
1381
1382
  lineNumber: number;
1383
+ metadata: Record<string, string>;
1382
1384
  }
1383
1385
  interface ISGroup {
1384
1386
  label: string;
@@ -1392,7 +1394,10 @@ interface ParsedInitiativeStatus {
1392
1394
  nodes: ISNode[];
1393
1395
  edges: ISEdge[];
1394
1396
  groups: ISGroup[];
1397
+ tagGroups: TagGroup[];
1395
1398
  options: Record<string, string>;
1399
+ /** Initial hidden tag values from `hide:` DSL directive. Map<groupKey, Set<values>> */
1400
+ initialHiddenTagValues: Map<string, Set<string>>;
1396
1401
  diagnostics: DgmoError[];
1397
1402
  error: string | null;
1398
1403
  }
@@ -1420,6 +1425,7 @@ interface ISLayoutNode {
1420
1425
  y: number;
1421
1426
  width: number;
1422
1427
  height: number;
1428
+ metadata: Record<string, string>;
1423
1429
  }
1424
1430
  interface ISLayoutEdge {
1425
1431
  source: string;
@@ -1452,12 +1458,30 @@ interface ISLayoutResult {
1452
1458
  }
1453
1459
  declare function layoutInitiativeStatus(parsed: ParsedInitiativeStatus, collapseResult?: CollapseResult): ISLayoutResult;
1454
1460
 
1455
- declare function renderInitiativeStatus(container: HTMLDivElement, parsed: ParsedInitiativeStatus, layout: ISLayoutResult, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: {
1456
- width?: number;
1457
- height?: number;
1458
- }): 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;
1459
1473
  declare function renderInitiativeStatusForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
1460
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
+
1461
1485
  interface SitemapNode {
1462
1486
  id: string;
1463
1487
  label: string;
@@ -1854,6 +1878,201 @@ declare function parseAndLayoutInfra(content: string): {
1854
1878
  layout: InfraLayoutResult;
1855
1879
  };
1856
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
+
1857
2076
  interface CollapsedOrgResult {
1858
2077
  /** ParsedOrg with collapsed subtrees pruned (deep-cloned, never mutates original) */
1859
2078
  parsed: ParsedOrg;
@@ -1988,9 +2207,9 @@ declare const nord: {
1988
2207
  /** Color name → Nord hex for inline `(color)` annotations. */
1989
2208
  declare const colorNames: Record<string, string>;
1990
2209
  /**
1991
- * Resolves a color name or hex code to a valid CSS color.
2210
+ * Resolves a color name to a valid CSS color.
1992
2211
  * When a palette is provided, named colors resolve against its color map first.
1993
- * Hex codes (e.g. "#ff0000") are passed through regardless of palette (FR8).
2212
+ * Hex codes are NOT supported use named colors only.
1994
2213
  * Unknown names are returned as-is.
1995
2214
  */
1996
2215
  declare function resolveColor(color: string, palette?: {
@@ -2003,6 +2222,7 @@ interface DiagramViewState {
2003
2222
  activeTagGroup?: string;
2004
2223
  collapsedGroups?: string[];
2005
2224
  swimlaneTagGroup?: string;
2225
+ collapsedLanes?: string[];
2006
2226
  palette?: string;
2007
2227
  theme?: 'light' | 'dark';
2008
2228
  }
@@ -2047,4 +2267,4 @@ declare function decodeDiagramUrl(hash: string): DecodedDiagramUrl;
2047
2267
  */
2048
2268
  declare function injectBranding(svgHtml: string, mutedColor: string): string;
2049
2269
 
2050
- 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 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 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, extractDiagramSymbols, 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, registerExtractor, 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 };