@diagrammo/dgmo 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -1
- package/dist/advanced.cjs +53069 -0
- package/dist/advanced.d.cts +4691 -0
- package/dist/advanced.d.ts +4691 -0
- package/dist/advanced.js +52823 -0
- package/dist/auto.cjs +1495 -1288
- package/dist/auto.js +132 -109
- package/dist/auto.mjs +1491 -1284
- package/dist/cli.cjs +173 -150
- package/dist/index.cjs +1486 -1276
- package/dist/index.d.cts +45 -1
- package/dist/index.d.ts +45 -1
- package/dist/index.js +1481 -1272
- package/dist/internal.cjs +1497 -1289
- package/dist/internal.d.cts +80 -79
- package/dist/internal.d.ts +80 -79
- package/dist/internal.js +1492 -1285
- package/dist/pert.cjs +325 -0
- package/dist/pert.d.cts +542 -0
- package/dist/pert.d.ts +542 -0
- package/dist/pert.js +294 -0
- package/package.json +28 -3
- package/src/advanced.ts +731 -0
- package/src/auto/index.ts +14 -13
- package/src/boxes-and-lines/layout.ts +481 -445
- package/src/c4/parser.ts +7 -7
- package/src/chart-types.ts +0 -5
- package/src/class/parser.ts +1 -9
- package/src/cli.ts +9 -7
- package/src/completion-types.ts +28 -0
- package/src/completion.ts +15 -18
- package/src/cycle/layout.ts +2 -2
- package/src/d3.ts +1455 -1122
- package/src/echarts.ts +11 -11
- package/src/er/parser.ts +1 -9
- package/src/er/renderer.ts +1 -1
- package/src/gantt/calculator.ts +1 -11
- package/src/gantt/parser.ts +16 -16
- package/src/gantt/renderer.ts +2 -2
- package/src/graph/flowchart-parser.ts +1 -1
- package/src/graph/flowchart-renderer.ts +1 -1
- package/src/graph/state-renderer.ts +1 -1
- package/src/index.ts +17 -1
- package/src/infra/parser.ts +19 -19
- package/src/infra/renderer.ts +2 -2
- package/src/internal.ts +9 -721
- package/src/kanban/parser.ts +2 -2
- package/src/mindmap/layout.ts +1 -1
- package/src/mindmap/parser.ts +1 -1
- package/src/org/parser.ts +1 -1
- package/src/org/renderer.ts +1 -1
- package/src/pert/layout.ts +1 -1
- package/src/pert/monte-carlo.ts +2 -2
- package/src/pert/parser.ts +3 -3
- package/src/raci/parser.ts +4 -4
- package/src/raci/renderer.ts +1 -1
- package/src/sequence/renderer.ts +1 -4
- package/src/sitemap/parser.ts +1 -1
- package/src/tech-radar/interactive.ts +1 -1
- package/src/tech-radar/renderer.ts +1 -1
- package/src/utils/tag-groups.ts +11 -12
- package/src/wireframe/layout.ts +11 -7
- package/src/wireframe/parser.ts +2 -2
- package/src/wireframe/renderer.ts +5 -2
package/dist/internal.d.cts
CHANGED
|
@@ -215,7 +215,6 @@ interface ChartTypeMeta {
|
|
|
215
215
|
readonly fallback?: true;
|
|
216
216
|
}
|
|
217
217
|
declare const chartTypes: readonly ChartTypeMeta[];
|
|
218
|
-
declare const BETA_CHART_IDS: ReadonlySet<string>;
|
|
219
218
|
|
|
220
219
|
/** Normalize a string to lowercase ASCII-ish tokens for matching. */
|
|
221
220
|
declare function normalize(s: string): string[];
|
|
@@ -1162,7 +1161,7 @@ declare function renderTimeline(container: HTMLDivElement, parsed: ParsedVisuali
|
|
|
1162
1161
|
* Renders a word cloud into the given container using d3-cloud.
|
|
1163
1162
|
*/
|
|
1164
1163
|
declare function renderWordCloud(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
1165
|
-
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors,
|
|
1164
|
+
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
1166
1165
|
/**
|
|
1167
1166
|
* Renders a quadrant chart using D3.
|
|
1168
1167
|
* Displays 4 colored quadrant regions, axis labels, quadrant labels, and data points.
|
|
@@ -1352,18 +1351,6 @@ interface ParsedGraph {
|
|
|
1352
1351
|
error: string | null;
|
|
1353
1352
|
}
|
|
1354
1353
|
|
|
1355
|
-
/**
|
|
1356
|
-
* Diagram symbol extraction API + completion registry.
|
|
1357
|
-
*
|
|
1358
|
-
* Provides:
|
|
1359
|
-
* - DiagramSymbols interface + extractDiagramSymbols() dispatch
|
|
1360
|
-
* - COMPLETION_REGISTRY: chart-type → directives map (for editor autocomplete)
|
|
1361
|
-
* - CHART_TYPES: array of { name, description } for chart type completion
|
|
1362
|
-
* - METADATA_KEY_SET: derived set of all known directive keys
|
|
1363
|
-
*
|
|
1364
|
-
* Each diagram type registers its own extractor via registerExtractor().
|
|
1365
|
-
* All built-in extractors are registered at module init below.
|
|
1366
|
-
*/
|
|
1367
1354
|
type ChartType = string;
|
|
1368
1355
|
interface DiagramSymbols {
|
|
1369
1356
|
kind: ChartType;
|
|
@@ -1378,67 +1365,6 @@ interface DiagramSymbols {
|
|
|
1378
1365
|
aliases?: Record<string, string>;
|
|
1379
1366
|
}
|
|
1380
1367
|
type ExtractFn = (docText: string) => DiagramSymbols;
|
|
1381
|
-
declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
|
|
1382
|
-
/**
|
|
1383
|
-
* Extract diagram symbols from document text.
|
|
1384
|
-
* Returns null if the chart type is unknown or has no registered extractor.
|
|
1385
|
-
*/
|
|
1386
|
-
declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
|
|
1387
|
-
/** Specification for a single directive: description + optional enumerated values. */
|
|
1388
|
-
interface DirectiveValueSpec {
|
|
1389
|
-
description: string;
|
|
1390
|
-
values?: string[];
|
|
1391
|
-
}
|
|
1392
|
-
/** Specification for a chart type's directives. */
|
|
1393
|
-
interface DirectiveSpec {
|
|
1394
|
-
directives: Record<string, DirectiveValueSpec>;
|
|
1395
|
-
}
|
|
1396
|
-
/** Chart-type → directive specifications. Every chart type has at least palette + theme. */
|
|
1397
|
-
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
1398
|
-
/** All chart types with descriptions, for chart type autocomplete. Excludes `multi-line` alias. */
|
|
1399
|
-
declare const CHART_TYPES: ReadonlyArray<{
|
|
1400
|
-
name: string;
|
|
1401
|
-
description: string;
|
|
1402
|
-
}>;
|
|
1403
|
-
/**
|
|
1404
|
-
* Entity types for `Name is a <type>` declarations, keyed by chart type.
|
|
1405
|
-
* Values are sourced from parser constants (VALID_PARTICIPANT_TYPES,
|
|
1406
|
-
* C4_IS_A_RE).
|
|
1407
|
-
*/
|
|
1408
|
-
declare const ENTITY_TYPES: Map<string, string[]>;
|
|
1409
|
-
/** Specification for a single pipe metadata key. */
|
|
1410
|
-
interface PipeKeySpec {
|
|
1411
|
-
description: string;
|
|
1412
|
-
values?: string[];
|
|
1413
|
-
}
|
|
1414
|
-
/**
|
|
1415
|
-
* Pipe metadata keys for inline `| key value` on data lines.
|
|
1416
|
-
* Keyed by chart type → { context-name: keys }.
|
|
1417
|
-
*
|
|
1418
|
-
* Contexts are open-ended. The two universal ones are:
|
|
1419
|
-
* - `node` — the default for any non-arrow line
|
|
1420
|
-
* - `edge` — lines containing an arrow (`->`, `--`)
|
|
1421
|
-
*
|
|
1422
|
-
* Charts with richer line types declare additional contexts:
|
|
1423
|
-
* - raci: `role`, `phase`, `assignment`
|
|
1424
|
-
* - ring / pyramid: `layer`
|
|
1425
|
-
* - tech-radar: `quadrant`, `blip`
|
|
1426
|
-
* - journey-map: `step`
|
|
1427
|
-
*
|
|
1428
|
-
* IMPORTANT: NEVER add 'sequence' here. The `|` character in sequence
|
|
1429
|
-
* diagrams separates display names from identifiers and tag metadata.
|
|
1430
|
-
* Adding sequence would trigger false pipe-metadata completions on every `|`.
|
|
1431
|
-
*/
|
|
1432
|
-
type PipeContextMap = Record<string, Record<string, PipeKeySpec>>;
|
|
1433
|
-
declare const PIPE_METADATA: Map<string, PipeContextMap>;
|
|
1434
|
-
/** All known directive keys, derived from COMPLETION_REGISTRY. Includes implicit keys. */
|
|
1435
|
-
declare const METADATA_KEY_SET: ReadonlySet<string>;
|
|
1436
|
-
/**
|
|
1437
|
-
* Extract tag declarations from document text.
|
|
1438
|
-
* Returns a map of alias (or full name) → array of tag values.
|
|
1439
|
-
* Keys preserve original case for display; use case-insensitive lookup.
|
|
1440
|
-
*/
|
|
1441
|
-
declare function extractTagDeclarations(docText: string): Map<string, string[]>;
|
|
1442
1368
|
|
|
1443
1369
|
declare function parseFlowchart(content: string, palette?: PaletteColors): ParsedGraph;
|
|
1444
1370
|
/**
|
|
@@ -2208,7 +2134,8 @@ interface BLLayoutEdge {
|
|
|
2208
2134
|
yOffset: number;
|
|
2209
2135
|
parallelCount: number;
|
|
2210
2136
|
metadata: Record<string, string>;
|
|
2211
|
-
/**
|
|
2137
|
+
/** Marker for renderer: draw with linear curve, not curveBasis (ELK gives
|
|
2138
|
+
* us orthogonal polylines and curveBasis would smooth corners into waves) */
|
|
2212
2139
|
deferred?: boolean;
|
|
2213
2140
|
}
|
|
2214
2141
|
interface BLLayoutGroup {
|
|
@@ -2233,7 +2160,7 @@ declare function layoutBoxesAndLines(parsed: ParsedBoxesAndLines, collapseInfo?:
|
|
|
2233
2160
|
originalGroups: BLGroup[];
|
|
2234
2161
|
}, layoutOptions?: {
|
|
2235
2162
|
hideDescriptions?: boolean;
|
|
2236
|
-
}): BLLayoutResult
|
|
2163
|
+
}): Promise<BLLayoutResult>;
|
|
2237
2164
|
|
|
2238
2165
|
interface BLRenderOptions {
|
|
2239
2166
|
onClickItem?: (lineNumber: number) => void;
|
|
@@ -3703,7 +3630,7 @@ interface MindmapLayoutResult {
|
|
|
3703
3630
|
|
|
3704
3631
|
declare function parseMindmap(content: string, palette?: PaletteColors): ParsedMindmap;
|
|
3705
3632
|
|
|
3706
|
-
declare function layoutMindmap(parsed: ParsedMindmap,
|
|
3633
|
+
declare function layoutMindmap(parsed: ParsedMindmap, _palette: PaletteColors, options?: {
|
|
3707
3634
|
interactive?: boolean;
|
|
3708
3635
|
hiddenCounts?: Map<string, number>;
|
|
3709
3636
|
activeTagGroup?: string | null;
|
|
@@ -4646,6 +4573,80 @@ declare function resolveColorWithDiagnostic(color: string, line: number, diagnos
|
|
|
4646
4573
|
/** @deprecated Use getSeriesColors(palette) from '@/lib/palettes' instead. */
|
|
4647
4574
|
declare const seriesColors: string[];
|
|
4648
4575
|
|
|
4576
|
+
/**
|
|
4577
|
+
* Diagram symbol extraction API + completion registry.
|
|
4578
|
+
*
|
|
4579
|
+
* Provides:
|
|
4580
|
+
* - DiagramSymbols interface + extractDiagramSymbols() dispatch
|
|
4581
|
+
* - COMPLETION_REGISTRY: chart-type → directives map (for editor autocomplete)
|
|
4582
|
+
* - CHART_TYPES: array of { name, description } for chart type completion
|
|
4583
|
+
* - METADATA_KEY_SET: derived set of all known directive keys
|
|
4584
|
+
*
|
|
4585
|
+
* Each diagram type registers its own extractor via registerExtractor().
|
|
4586
|
+
* All built-in extractors are registered at module init below.
|
|
4587
|
+
*/
|
|
4588
|
+
|
|
4589
|
+
declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
|
|
4590
|
+
/**
|
|
4591
|
+
* Extract diagram symbols from document text.
|
|
4592
|
+
* Returns null if the chart type is unknown or has no registered extractor.
|
|
4593
|
+
*/
|
|
4594
|
+
declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
|
|
4595
|
+
/** Specification for a single directive: description + optional enumerated values. */
|
|
4596
|
+
interface DirectiveValueSpec {
|
|
4597
|
+
description: string;
|
|
4598
|
+
values?: string[];
|
|
4599
|
+
}
|
|
4600
|
+
/** Specification for a chart type's directives. */
|
|
4601
|
+
interface DirectiveSpec {
|
|
4602
|
+
directives: Record<string, DirectiveValueSpec>;
|
|
4603
|
+
}
|
|
4604
|
+
/** Chart-type → directive specifications. Every chart type has at least palette + theme. */
|
|
4605
|
+
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
4606
|
+
declare const CHART_TYPES: ReadonlyArray<{
|
|
4607
|
+
name: string;
|
|
4608
|
+
description: string;
|
|
4609
|
+
}>;
|
|
4610
|
+
/**
|
|
4611
|
+
* Entity types for `Name is a <type>` declarations, keyed by chart type.
|
|
4612
|
+
* Values are sourced from parser constants (VALID_PARTICIPANT_TYPES,
|
|
4613
|
+
* C4_IS_A_RE).
|
|
4614
|
+
*/
|
|
4615
|
+
declare const ENTITY_TYPES: Map<string, string[]>;
|
|
4616
|
+
/** Specification for a single pipe metadata key. */
|
|
4617
|
+
interface PipeKeySpec {
|
|
4618
|
+
description: string;
|
|
4619
|
+
values?: string[];
|
|
4620
|
+
}
|
|
4621
|
+
/**
|
|
4622
|
+
* Pipe metadata keys for inline `| key value` on data lines.
|
|
4623
|
+
* Keyed by chart type → { context-name: keys }.
|
|
4624
|
+
*
|
|
4625
|
+
* Contexts are open-ended. The two universal ones are:
|
|
4626
|
+
* - `node` — the default for any non-arrow line
|
|
4627
|
+
* - `edge` — lines containing an arrow (`->`, `--`)
|
|
4628
|
+
*
|
|
4629
|
+
* Charts with richer line types declare additional contexts:
|
|
4630
|
+
* - raci: `role`, `phase`, `assignment`
|
|
4631
|
+
* - ring / pyramid: `layer`
|
|
4632
|
+
* - tech-radar: `quadrant`, `blip`
|
|
4633
|
+
* - journey-map: `step`
|
|
4634
|
+
*
|
|
4635
|
+
* IMPORTANT: NEVER add 'sequence' here. The `|` character in sequence
|
|
4636
|
+
* diagrams separates display names from identifiers and tag metadata.
|
|
4637
|
+
* Adding sequence would trigger false pipe-metadata completions on every `|`.
|
|
4638
|
+
*/
|
|
4639
|
+
type PipeContextMap = Record<string, Record<string, PipeKeySpec>>;
|
|
4640
|
+
declare const PIPE_METADATA: Map<string, PipeContextMap>;
|
|
4641
|
+
/** All known directive keys, derived from COMPLETION_REGISTRY. Includes implicit keys. */
|
|
4642
|
+
declare const METADATA_KEY_SET: ReadonlySet<string>;
|
|
4643
|
+
/**
|
|
4644
|
+
* Extract tag declarations from document text.
|
|
4645
|
+
* Returns a map of alias (or full name) → array of tag values.
|
|
4646
|
+
* Keys preserve original case for display; use case-insensitive lookup.
|
|
4647
|
+
*/
|
|
4648
|
+
declare function extractTagDeclarations(docText: string): Map<string, string[]>;
|
|
4649
|
+
|
|
4649
4650
|
/**
|
|
4650
4651
|
* Shared parser utilities — extracted from individual parsers to eliminate
|
|
4651
4652
|
* duplication of measureIndent, extractColor, header regexes, and
|
|
@@ -4687,4 +4688,4 @@ declare const themes: {
|
|
|
4687
4688
|
readonly transparent: "transparent";
|
|
4688
4689
|
};
|
|
4689
4690
|
|
|
4690
|
-
export { ALL_CHART_TYPES, AMBIGUITY_THRESHOLD, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, BETA_CHART_IDS, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, CHART_TYPES, CHART_TYPE_DESCRIPTIONS, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type Confidence as ChartTypeConfidence, type ChartTypeMeta, type ChartTypeScore, type SuggestionResult as ChartTypeSuggestionResult, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, type CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DirectiveSpec, type DirectiveValueSpec, type Duration, type DurationUnit, ENTITY_TYPES, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type ExpandedActivity, type ExtendedChartType, type ExtractFn, type FocusOrgResult, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type GanttParallelBlock, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, type ImportSource, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, METADATA_KEY_SET, MIN_PRIMARY_SCORE, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PERT_LEGEND_PILL_HEIGHT, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PipeKeySpec, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, type RaciMarker, type RaciPhase, type RaciRoleAssignment, type RaciTask, type RaciVariant, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type RingLayer, type ScatterLabelPoint, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type StateCollapseResult, type TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, confidence as chartTypeConfidence, chartTypeParsers, chartTypes, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, matchesContiguously, measurePertAnalysisBlock, mix, monokaiPalette, mulberry32, nord, nordPalette, normalize as normalizeChartTypePrompt, normalizeName, normalizePertSourceForShare, oneDarkPalette, orderArcNodes, palettes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, pertLegendBlockWidth, pertLegendEntries, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerExtractor, registerPalette, relayoutPert, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderLegendBlock as renderPertLegendBlock, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resetPertCriticalPath, resetPertHighlight, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|
|
4691
|
+
export { ALL_CHART_TYPES, AMBIGUITY_THRESHOLD, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, CHART_TYPES, CHART_TYPE_DESCRIPTIONS, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type Confidence as ChartTypeConfidence, type ChartTypeMeta, type ChartTypeScore, type SuggestionResult as ChartTypeSuggestionResult, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, type CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DirectiveSpec, type DirectiveValueSpec, type Duration, type DurationUnit, ENTITY_TYPES, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type ExpandedActivity, type ExtendedChartType, type ExtractFn, type FocusOrgResult, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type GanttParallelBlock, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, type ImportSource, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, METADATA_KEY_SET, MIN_PRIMARY_SCORE, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PERT_LEGEND_PILL_HEIGHT, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PipeKeySpec, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, type RaciMarker, type RaciPhase, type RaciRoleAssignment, type RaciTask, type RaciVariant, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type RingLayer, type ScatterLabelPoint, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type StateCollapseResult, type TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, confidence as chartTypeConfidence, chartTypeParsers, chartTypes, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, matchesContiguously, measurePertAnalysisBlock, mix, monokaiPalette, mulberry32, nord, nordPalette, normalize as normalizeChartTypePrompt, normalizeName, normalizePertSourceForShare, oneDarkPalette, orderArcNodes, palettes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, pertLegendBlockWidth, pertLegendEntries, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerExtractor, registerPalette, relayoutPert, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderLegendBlock as renderPertLegendBlock, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resetPertCriticalPath, resetPertHighlight, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|
package/dist/internal.d.ts
CHANGED
|
@@ -215,7 +215,6 @@ interface ChartTypeMeta {
|
|
|
215
215
|
readonly fallback?: true;
|
|
216
216
|
}
|
|
217
217
|
declare const chartTypes: readonly ChartTypeMeta[];
|
|
218
|
-
declare const BETA_CHART_IDS: ReadonlySet<string>;
|
|
219
218
|
|
|
220
219
|
/** Normalize a string to lowercase ASCII-ish tokens for matching. */
|
|
221
220
|
declare function normalize(s: string): string[];
|
|
@@ -1162,7 +1161,7 @@ declare function renderTimeline(container: HTMLDivElement, parsed: ParsedVisuali
|
|
|
1162
1161
|
* Renders a word cloud into the given container using d3-cloud.
|
|
1163
1162
|
*/
|
|
1164
1163
|
declare function renderWordCloud(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
1165
|
-
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors,
|
|
1164
|
+
declare function renderVenn(container: HTMLDivElement, parsed: ParsedVisualization, palette: PaletteColors, _isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions): void;
|
|
1166
1165
|
/**
|
|
1167
1166
|
* Renders a quadrant chart using D3.
|
|
1168
1167
|
* Displays 4 colored quadrant regions, axis labels, quadrant labels, and data points.
|
|
@@ -1352,18 +1351,6 @@ interface ParsedGraph {
|
|
|
1352
1351
|
error: string | null;
|
|
1353
1352
|
}
|
|
1354
1353
|
|
|
1355
|
-
/**
|
|
1356
|
-
* Diagram symbol extraction API + completion registry.
|
|
1357
|
-
*
|
|
1358
|
-
* Provides:
|
|
1359
|
-
* - DiagramSymbols interface + extractDiagramSymbols() dispatch
|
|
1360
|
-
* - COMPLETION_REGISTRY: chart-type → directives map (for editor autocomplete)
|
|
1361
|
-
* - CHART_TYPES: array of { name, description } for chart type completion
|
|
1362
|
-
* - METADATA_KEY_SET: derived set of all known directive keys
|
|
1363
|
-
*
|
|
1364
|
-
* Each diagram type registers its own extractor via registerExtractor().
|
|
1365
|
-
* All built-in extractors are registered at module init below.
|
|
1366
|
-
*/
|
|
1367
1354
|
type ChartType = string;
|
|
1368
1355
|
interface DiagramSymbols {
|
|
1369
1356
|
kind: ChartType;
|
|
@@ -1378,67 +1365,6 @@ interface DiagramSymbols {
|
|
|
1378
1365
|
aliases?: Record<string, string>;
|
|
1379
1366
|
}
|
|
1380
1367
|
type ExtractFn = (docText: string) => DiagramSymbols;
|
|
1381
|
-
declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
|
|
1382
|
-
/**
|
|
1383
|
-
* Extract diagram symbols from document text.
|
|
1384
|
-
* Returns null if the chart type is unknown or has no registered extractor.
|
|
1385
|
-
*/
|
|
1386
|
-
declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
|
|
1387
|
-
/** Specification for a single directive: description + optional enumerated values. */
|
|
1388
|
-
interface DirectiveValueSpec {
|
|
1389
|
-
description: string;
|
|
1390
|
-
values?: string[];
|
|
1391
|
-
}
|
|
1392
|
-
/** Specification for a chart type's directives. */
|
|
1393
|
-
interface DirectiveSpec {
|
|
1394
|
-
directives: Record<string, DirectiveValueSpec>;
|
|
1395
|
-
}
|
|
1396
|
-
/** Chart-type → directive specifications. Every chart type has at least palette + theme. */
|
|
1397
|
-
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
1398
|
-
/** All chart types with descriptions, for chart type autocomplete. Excludes `multi-line` alias. */
|
|
1399
|
-
declare const CHART_TYPES: ReadonlyArray<{
|
|
1400
|
-
name: string;
|
|
1401
|
-
description: string;
|
|
1402
|
-
}>;
|
|
1403
|
-
/**
|
|
1404
|
-
* Entity types for `Name is a <type>` declarations, keyed by chart type.
|
|
1405
|
-
* Values are sourced from parser constants (VALID_PARTICIPANT_TYPES,
|
|
1406
|
-
* C4_IS_A_RE).
|
|
1407
|
-
*/
|
|
1408
|
-
declare const ENTITY_TYPES: Map<string, string[]>;
|
|
1409
|
-
/** Specification for a single pipe metadata key. */
|
|
1410
|
-
interface PipeKeySpec {
|
|
1411
|
-
description: string;
|
|
1412
|
-
values?: string[];
|
|
1413
|
-
}
|
|
1414
|
-
/**
|
|
1415
|
-
* Pipe metadata keys for inline `| key value` on data lines.
|
|
1416
|
-
* Keyed by chart type → { context-name: keys }.
|
|
1417
|
-
*
|
|
1418
|
-
* Contexts are open-ended. The two universal ones are:
|
|
1419
|
-
* - `node` — the default for any non-arrow line
|
|
1420
|
-
* - `edge` — lines containing an arrow (`->`, `--`)
|
|
1421
|
-
*
|
|
1422
|
-
* Charts with richer line types declare additional contexts:
|
|
1423
|
-
* - raci: `role`, `phase`, `assignment`
|
|
1424
|
-
* - ring / pyramid: `layer`
|
|
1425
|
-
* - tech-radar: `quadrant`, `blip`
|
|
1426
|
-
* - journey-map: `step`
|
|
1427
|
-
*
|
|
1428
|
-
* IMPORTANT: NEVER add 'sequence' here. The `|` character in sequence
|
|
1429
|
-
* diagrams separates display names from identifiers and tag metadata.
|
|
1430
|
-
* Adding sequence would trigger false pipe-metadata completions on every `|`.
|
|
1431
|
-
*/
|
|
1432
|
-
type PipeContextMap = Record<string, Record<string, PipeKeySpec>>;
|
|
1433
|
-
declare const PIPE_METADATA: Map<string, PipeContextMap>;
|
|
1434
|
-
/** All known directive keys, derived from COMPLETION_REGISTRY. Includes implicit keys. */
|
|
1435
|
-
declare const METADATA_KEY_SET: ReadonlySet<string>;
|
|
1436
|
-
/**
|
|
1437
|
-
* Extract tag declarations from document text.
|
|
1438
|
-
* Returns a map of alias (or full name) → array of tag values.
|
|
1439
|
-
* Keys preserve original case for display; use case-insensitive lookup.
|
|
1440
|
-
*/
|
|
1441
|
-
declare function extractTagDeclarations(docText: string): Map<string, string[]>;
|
|
1442
1368
|
|
|
1443
1369
|
declare function parseFlowchart(content: string, palette?: PaletteColors): ParsedGraph;
|
|
1444
1370
|
/**
|
|
@@ -2208,7 +2134,8 @@ interface BLLayoutEdge {
|
|
|
2208
2134
|
yOffset: number;
|
|
2209
2135
|
parallelCount: number;
|
|
2210
2136
|
metadata: Record<string, string>;
|
|
2211
|
-
/**
|
|
2137
|
+
/** Marker for renderer: draw with linear curve, not curveBasis (ELK gives
|
|
2138
|
+
* us orthogonal polylines and curveBasis would smooth corners into waves) */
|
|
2212
2139
|
deferred?: boolean;
|
|
2213
2140
|
}
|
|
2214
2141
|
interface BLLayoutGroup {
|
|
@@ -2233,7 +2160,7 @@ declare function layoutBoxesAndLines(parsed: ParsedBoxesAndLines, collapseInfo?:
|
|
|
2233
2160
|
originalGroups: BLGroup[];
|
|
2234
2161
|
}, layoutOptions?: {
|
|
2235
2162
|
hideDescriptions?: boolean;
|
|
2236
|
-
}): BLLayoutResult
|
|
2163
|
+
}): Promise<BLLayoutResult>;
|
|
2237
2164
|
|
|
2238
2165
|
interface BLRenderOptions {
|
|
2239
2166
|
onClickItem?: (lineNumber: number) => void;
|
|
@@ -3703,7 +3630,7 @@ interface MindmapLayoutResult {
|
|
|
3703
3630
|
|
|
3704
3631
|
declare function parseMindmap(content: string, palette?: PaletteColors): ParsedMindmap;
|
|
3705
3632
|
|
|
3706
|
-
declare function layoutMindmap(parsed: ParsedMindmap,
|
|
3633
|
+
declare function layoutMindmap(parsed: ParsedMindmap, _palette: PaletteColors, options?: {
|
|
3707
3634
|
interactive?: boolean;
|
|
3708
3635
|
hiddenCounts?: Map<string, number>;
|
|
3709
3636
|
activeTagGroup?: string | null;
|
|
@@ -4646,6 +4573,80 @@ declare function resolveColorWithDiagnostic(color: string, line: number, diagnos
|
|
|
4646
4573
|
/** @deprecated Use getSeriesColors(palette) from '@/lib/palettes' instead. */
|
|
4647
4574
|
declare const seriesColors: string[];
|
|
4648
4575
|
|
|
4576
|
+
/**
|
|
4577
|
+
* Diagram symbol extraction API + completion registry.
|
|
4578
|
+
*
|
|
4579
|
+
* Provides:
|
|
4580
|
+
* - DiagramSymbols interface + extractDiagramSymbols() dispatch
|
|
4581
|
+
* - COMPLETION_REGISTRY: chart-type → directives map (for editor autocomplete)
|
|
4582
|
+
* - CHART_TYPES: array of { name, description } for chart type completion
|
|
4583
|
+
* - METADATA_KEY_SET: derived set of all known directive keys
|
|
4584
|
+
*
|
|
4585
|
+
* Each diagram type registers its own extractor via registerExtractor().
|
|
4586
|
+
* All built-in extractors are registered at module init below.
|
|
4587
|
+
*/
|
|
4588
|
+
|
|
4589
|
+
declare function registerExtractor(kind: ChartType, fn: ExtractFn): void;
|
|
4590
|
+
/**
|
|
4591
|
+
* Extract diagram symbols from document text.
|
|
4592
|
+
* Returns null if the chart type is unknown or has no registered extractor.
|
|
4593
|
+
*/
|
|
4594
|
+
declare function extractDiagramSymbols(docText: string): DiagramSymbols | null;
|
|
4595
|
+
/** Specification for a single directive: description + optional enumerated values. */
|
|
4596
|
+
interface DirectiveValueSpec {
|
|
4597
|
+
description: string;
|
|
4598
|
+
values?: string[];
|
|
4599
|
+
}
|
|
4600
|
+
/** Specification for a chart type's directives. */
|
|
4601
|
+
interface DirectiveSpec {
|
|
4602
|
+
directives: Record<string, DirectiveValueSpec>;
|
|
4603
|
+
}
|
|
4604
|
+
/** Chart-type → directive specifications. Every chart type has at least palette + theme. */
|
|
4605
|
+
declare const COMPLETION_REGISTRY: Map<string, DirectiveSpec>;
|
|
4606
|
+
declare const CHART_TYPES: ReadonlyArray<{
|
|
4607
|
+
name: string;
|
|
4608
|
+
description: string;
|
|
4609
|
+
}>;
|
|
4610
|
+
/**
|
|
4611
|
+
* Entity types for `Name is a <type>` declarations, keyed by chart type.
|
|
4612
|
+
* Values are sourced from parser constants (VALID_PARTICIPANT_TYPES,
|
|
4613
|
+
* C4_IS_A_RE).
|
|
4614
|
+
*/
|
|
4615
|
+
declare const ENTITY_TYPES: Map<string, string[]>;
|
|
4616
|
+
/** Specification for a single pipe metadata key. */
|
|
4617
|
+
interface PipeKeySpec {
|
|
4618
|
+
description: string;
|
|
4619
|
+
values?: string[];
|
|
4620
|
+
}
|
|
4621
|
+
/**
|
|
4622
|
+
* Pipe metadata keys for inline `| key value` on data lines.
|
|
4623
|
+
* Keyed by chart type → { context-name: keys }.
|
|
4624
|
+
*
|
|
4625
|
+
* Contexts are open-ended. The two universal ones are:
|
|
4626
|
+
* - `node` — the default for any non-arrow line
|
|
4627
|
+
* - `edge` — lines containing an arrow (`->`, `--`)
|
|
4628
|
+
*
|
|
4629
|
+
* Charts with richer line types declare additional contexts:
|
|
4630
|
+
* - raci: `role`, `phase`, `assignment`
|
|
4631
|
+
* - ring / pyramid: `layer`
|
|
4632
|
+
* - tech-radar: `quadrant`, `blip`
|
|
4633
|
+
* - journey-map: `step`
|
|
4634
|
+
*
|
|
4635
|
+
* IMPORTANT: NEVER add 'sequence' here. The `|` character in sequence
|
|
4636
|
+
* diagrams separates display names from identifiers and tag metadata.
|
|
4637
|
+
* Adding sequence would trigger false pipe-metadata completions on every `|`.
|
|
4638
|
+
*/
|
|
4639
|
+
type PipeContextMap = Record<string, Record<string, PipeKeySpec>>;
|
|
4640
|
+
declare const PIPE_METADATA: Map<string, PipeContextMap>;
|
|
4641
|
+
/** All known directive keys, derived from COMPLETION_REGISTRY. Includes implicit keys. */
|
|
4642
|
+
declare const METADATA_KEY_SET: ReadonlySet<string>;
|
|
4643
|
+
/**
|
|
4644
|
+
* Extract tag declarations from document text.
|
|
4645
|
+
* Returns a map of alias (or full name) → array of tag values.
|
|
4646
|
+
* Keys preserve original case for display; use case-insensitive lookup.
|
|
4647
|
+
*/
|
|
4648
|
+
declare function extractTagDeclarations(docText: string): Map<string, string[]>;
|
|
4649
|
+
|
|
4649
4650
|
/**
|
|
4650
4651
|
* Shared parser utilities — extracted from individual parsers to eliminate
|
|
4651
4652
|
* duplication of measureIndent, extractColor, header regexes, and
|
|
@@ -4687,4 +4688,4 @@ declare const themes: {
|
|
|
4687
4688
|
readonly transparent: "transparent";
|
|
4688
4689
|
};
|
|
4689
4690
|
|
|
4690
|
-
export { ALL_CHART_TYPES, AMBIGUITY_THRESHOLD, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, BETA_CHART_IDS, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, CHART_TYPES, CHART_TYPE_DESCRIPTIONS, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type Confidence as ChartTypeConfidence, type ChartTypeMeta, type ChartTypeScore, type SuggestionResult as ChartTypeSuggestionResult, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, type CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DirectiveSpec, type DirectiveValueSpec, type Duration, type DurationUnit, ENTITY_TYPES, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type ExpandedActivity, type ExtendedChartType, type ExtractFn, type FocusOrgResult, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type GanttParallelBlock, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, type ImportSource, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, METADATA_KEY_SET, MIN_PRIMARY_SCORE, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PERT_LEGEND_PILL_HEIGHT, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PipeKeySpec, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, type RaciMarker, type RaciPhase, type RaciRoleAssignment, type RaciTask, type RaciVariant, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type RingLayer, type ScatterLabelPoint, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type StateCollapseResult, type TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, confidence as chartTypeConfidence, chartTypeParsers, chartTypes, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, matchesContiguously, measurePertAnalysisBlock, mix, monokaiPalette, mulberry32, nord, nordPalette, normalize as normalizeChartTypePrompt, normalizeName, normalizePertSourceForShare, oneDarkPalette, orderArcNodes, palettes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, pertLegendBlockWidth, pertLegendEntries, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerExtractor, registerPalette, relayoutPert, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderLegendBlock as renderPertLegendBlock, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resetPertCriticalPath, resetPertHighlight, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|
|
4691
|
+
export { ALL_CHART_TYPES, AMBIGUITY_THRESHOLD, ARROW_DIAGNOSTIC_CODES, type Activation, type AncestorInfo, type ArcLink, type ArcNodeGroup, type BLCollapseResult, type BLEdge, type BLGroup, type BLLayoutEdge, type BLLayoutGroup, type BLLayoutNode, type BLLayoutResult, type BLNode, type BlipTrend, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, CHART_TYPES, CHART_TYPE_DESCRIPTIONS, COMPLETION_REGISTRY, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type Confidence as ChartTypeConfidence, type ChartTypeMeta, type ChartTypeScore, type SuggestionResult as ChartTypeSuggestionResult, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, type CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, type DecodedDiagramUrl, type DgmoError, type DgmoSeverity, type DiagramSymbols, type DirectiveSpec, type DirectiveValueSpec, type Duration, type DurationUnit, ENTITY_TYPES, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EncodeDiagramUrlOptions, type EncodeDiagramUrlResult, type ExpandedActivity, type ExtendedChartType, type ExtractFn, type FocusOrgResult, type GanttDependency, type GanttEra, type GanttGroup, type GroupRow as GanttGroupRow, type GanttHolidays, type GanttInteractiveOptions, type LaneHeaderRow as GanttLaneHeaderRow, type GanttMarker, type GanttNode, type GanttOptions, type GanttParallelBlock, type Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type GetOrCreateNameResult, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, type ImportSource, type InfraAvailabilityPercentiles, type InfraBehaviorKey, type InfraCbState, type InfraComputeParams, type InfraDiagnostic, type InfraEdge, type InfraGroup, type InfraLatencyPercentiles, type InfraLayoutEdge, type InfraLayoutGroup, type InfraLayoutNode, type InfraLayoutResult, type InfraLegendGroup, type InfraNode, type InfraPlaybackState, type InfraProperty, type InfraRole, type InfraTagGroup, type InlineSpan, type JourneyMapAnnotation, type JourneyMapInteractiveOptions, type JourneyMapLayout, type JourneyMapPersona, type JourneyMapPhase, type JourneyMapStep, type KanbanCard, type KanbanColumn, type KanbanTagEntry, type KanbanTagGroup, LEGEND_GEAR_PILL_W, LEGEND_HEIGHT, type LayoutEdge, type LayoutGroup, type LayoutNode, type LayoutOptions, type LayoutResult$1 as LayoutResult, type LegendCallbacks, type LegendConfig, type LegendControl, type LegendGroupData, type LegendHandle, type LegendLayout, type LegendMode, type LegendPalette, type LegendPosition, type LegendState, METADATA_KEY_SET, MIN_PRIMARY_SCORE, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, type OrgNode, PERT_LEGEND_PILL_HEIGHT, PIPE_METADATA, type PaletteColors, type PaletteConfig, type ParseInArrowLabelResult, type ParsedBoxesAndLines, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedCycle, type ParsedERDiagram, type ParsedExtendedChart, type ParsedGantt, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedMindmap, type ParsedOrg, type ParsedPert, type ParsedPyramid, type ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedTechRadar, type ParsedVisualization, type ParsedWireframe, type ParticipantType, type PertActivity, type Anchor as PertAnchor, type PertDirection, type PertEdge, type PertGroup, type PertLayoutEdge, type PertLayoutGroup, type PertLayoutNode, type LayoutOverrides as PertLayoutOverrides, type LayoutResult as PertLayoutResult, type PertMilestone, type PertOptions, type PertRenderOptions, type PipeKeySpec, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, type RaciMarker, type RaciPhase, type RaciRoleAssignment, type RaciTask, type RaciVariant, type ReadFileFn, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type RingLayer, type ScatterLabelPoint, type SectionMessageGroup, type SequenceBlock, type SequenceElement, type SequenceGroup, type SequenceMessage, type SequenceNote, type SequenceParticipant, type SequenceRenderOptions, type SequenceSection, type SimulateOptions, type SitemapContainerBounds, type SitemapDirection, type SitemapEdge, type SitemapLayoutEdge, type SitemapLayoutNode, type SitemapLayoutResult, type SitemapLegendEntry, type SitemapLegendGroup, type SitemapNode, type StateCollapseResult, type TagEntry, type TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type Theme, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, addDurationToDate, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, boldPalette, buildExtendedChartOption, buildNoteMessageMap, buildRenderSequence, buildSimpleChartOption, buildSimulationContext, buildTagLaneRowList, calculateSchedule, catppuccinPalette, confidence as chartTypeConfidence, chartTypeParsers, chartTypes, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, focusOrgTree, formatDateLabel, formatDgmoError, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchColorParens, matchesContiguously, measurePertAnalysisBlock, mix, monokaiPalette, mulberry32, nord, nordPalette, normalize as normalizeChartTypePrompt, normalizeName, normalizePertSourceForShare, oneDarkPalette, orderArcNodes, palettes, parseAndLayoutInfra, parseBoxesAndLines, parseC4, parseChart, parseClassDiagram, parseCycle, parseDataRowValues, parseDgmo, parseDgmoChartType, parseERDiagram, parseExtendedChart, parseFirstLine, parseFlowchart, parseGantt, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseMindmap, parseOrg, parsePert, parsePyramid, parseRaci, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseState, parseTechRadar, parseTimelineDate, parseVisualization, parseWireframe, pertLegendBlockWidth, pertLegendEntries, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, registerExtractor, registerPalette, relayoutPert, render, renderArcDiagram, renderBoxesAndLines, renderBoxesAndLinesForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderExtendedChartForExport, renderFlowchart, renderFlowchartForExport, renderForExport, renderGantt, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderLegendBlock as renderPertLegendBlock, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSlopeChart, renderState, renderStateForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderVenn, renderWireframe, renderWordCloud, resetPertCriticalPath, resetPertHighlight, resolveColor, resolveColorWithDiagnostic, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|