@diagrammo/dgmo 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/advanced.cjs +919 -298
- package/dist/advanced.d.cts +148 -54
- package/dist/advanced.d.ts +148 -54
- package/dist/advanced.js +922 -300
- package/dist/auto.cjs +904 -297
- package/dist/auto.js +117 -117
- package/dist/auto.mjs +909 -299
- package/dist/cli.cjs +159 -159
- package/dist/index.cjs +903 -296
- package/dist/index.js +908 -298
- package/dist/internal.cjs +919 -298
- package/dist/internal.d.cts +148 -54
- package/dist/internal.d.ts +148 -54
- package/dist/internal.js +922 -300
- package/dist/map-data/PROVENANCE.json +1 -1
- package/dist/map-data/lakes.json +1 -0
- package/dist/map-data/na-lakes.json +1 -0
- package/dist/map-data/na-land.json +1 -0
- package/dist/map-data/rivers.json +1 -0
- package/docs/language-reference.md +12 -7
- package/gallery/fixtures/map-region-scope.dgmo +15 -0
- package/package.json +4 -4
- package/src/advanced.ts +6 -2
- package/src/c4/parser.ts +6 -6
- package/src/completion.ts +6 -2
- package/src/echarts.ts +1 -1
- package/src/infra/parser.ts +10 -10
- package/src/journey-map/parser.ts +1 -1
- package/src/label-layout.ts +36 -0
- package/src/map/data/PROVENANCE.json +1 -1
- package/src/map/data/README.md +2 -0
- package/src/map/data/lakes.json +1 -0
- package/src/map/data/na-lakes.json +1 -0
- package/src/map/data/na-land.json +1 -0
- package/src/map/data/rivers.json +1 -0
- package/src/map/layout.ts +1022 -205
- package/src/map/load-data.ts +29 -2
- package/src/map/parser.ts +22 -13
- package/src/map/renderer.ts +200 -219
- package/src/map/resolved-types.ts +18 -1
- package/src/map/resolver.ts +79 -7
- package/src/map/types.ts +4 -0
- package/src/mindmap/parser.ts +1 -1
- package/src/sitemap/parser.ts +1 -1
- package/src/utils/legend-d3.ts +42 -0
- package/src/utils/legend-layout.ts +83 -3
- package/src/utils/legend-svg.ts +1 -8
- package/src/utils/legend-types.ts +44 -1
package/dist/advanced.d.ts
CHANGED
|
@@ -670,6 +670,23 @@ interface ControlsGroupToggle {
|
|
|
670
670
|
interface ControlsGroupConfig {
|
|
671
671
|
toggles: ControlsGroupToggle[];
|
|
672
672
|
}
|
|
673
|
+
interface LegendGroupData {
|
|
674
|
+
readonly name: string;
|
|
675
|
+
readonly entries: ReadonlyArray<{
|
|
676
|
+
readonly value: string;
|
|
677
|
+
readonly color: string;
|
|
678
|
+
}>;
|
|
679
|
+
/** Continuous (choropleth) groups carry a gradient ramp instead of discrete
|
|
680
|
+
* entries — its active capsule renders `min ▭gradient▭ max` rather than dots.
|
|
681
|
+
* Additive: only the map sets it; every other caller omits it and renders
|
|
682
|
+
* unchanged. When set, `entries` is empty. */
|
|
683
|
+
readonly gradient?: {
|
|
684
|
+
readonly min: number;
|
|
685
|
+
readonly max: number;
|
|
686
|
+
readonly hue: string;
|
|
687
|
+
readonly base: string;
|
|
688
|
+
};
|
|
689
|
+
}
|
|
673
690
|
interface LegendConfig {
|
|
674
691
|
groups: readonly LegendGroupData[];
|
|
675
692
|
position: LegendPosition;
|
|
@@ -682,6 +699,11 @@ interface LegendConfig {
|
|
|
682
699
|
capsulePillAddonWidth?: number;
|
|
683
700
|
/** When true, groups with no entries are still rendered as collapsed pills. Default: false (empty groups hidden). */
|
|
684
701
|
showEmptyGroups?: boolean;
|
|
702
|
+
/** When true, INACTIVE sibling groups still render as collapsed pills next to
|
|
703
|
+
* the active capsule (preview only — export still shows just the active
|
|
704
|
+
* group). Lets the user click a sibling to switch the active group. Default
|
|
705
|
+
* false (legacy: when one group is active the others are hidden). */
|
|
706
|
+
showInactivePills?: boolean;
|
|
685
707
|
}
|
|
686
708
|
interface LegendPalette {
|
|
687
709
|
bg: string;
|
|
@@ -721,6 +743,24 @@ interface LegendCapsuleLayout {
|
|
|
721
743
|
moreCount?: number;
|
|
722
744
|
/** X offset where addon content (e.g. eye icon) can be placed — after pill, before entries */
|
|
723
745
|
addonX?: number;
|
|
746
|
+
/** Continuous-ramp swatch (choropleth groups) drawn in place of entry dots:
|
|
747
|
+
* `minText` | gradient rect | `maxText`, all vertically centred. */
|
|
748
|
+
gradient?: {
|
|
749
|
+
rampX: number;
|
|
750
|
+
rampY: number;
|
|
751
|
+
rampW: number;
|
|
752
|
+
rampH: number;
|
|
753
|
+
/** Raw numeric ends (for the app's gradient-scrub: x → value). */
|
|
754
|
+
min: number;
|
|
755
|
+
max: number;
|
|
756
|
+
minText: string;
|
|
757
|
+
minX: number;
|
|
758
|
+
maxText: string;
|
|
759
|
+
maxX: number;
|
|
760
|
+
textY: number;
|
|
761
|
+
hue: string;
|
|
762
|
+
base: string;
|
|
763
|
+
};
|
|
724
764
|
}
|
|
725
765
|
interface LegendControlLayout {
|
|
726
766
|
id: string;
|
|
@@ -793,41 +833,6 @@ interface LegendHandle {
|
|
|
793
833
|
}
|
|
794
834
|
type D3Sel = Selection<any, unknown, any, unknown>;
|
|
795
835
|
|
|
796
|
-
interface LegendGroupData {
|
|
797
|
-
readonly name: string;
|
|
798
|
-
readonly entries: ReadonlyArray<{
|
|
799
|
-
readonly value: string;
|
|
800
|
-
readonly color: string;
|
|
801
|
-
}>;
|
|
802
|
-
}
|
|
803
|
-
interface LegendRenderOptions {
|
|
804
|
-
palette: {
|
|
805
|
-
bg: string;
|
|
806
|
-
surface: string;
|
|
807
|
-
text: string;
|
|
808
|
-
textMuted: string;
|
|
809
|
-
};
|
|
810
|
-
isDark: boolean;
|
|
811
|
-
/**
|
|
812
|
-
* Width to wrap entries against (entries flow onto new rows past this).
|
|
813
|
-
* Pass 0 when the caller CSS-centers a natural-width legend; a generous
|
|
814
|
-
* fallback budget is used so a single row still fits on one line.
|
|
815
|
-
*/
|
|
816
|
-
containerWidth: number;
|
|
817
|
-
activeGroup?: string | null;
|
|
818
|
-
className?: string;
|
|
819
|
-
}
|
|
820
|
-
interface LegendRenderResult {
|
|
821
|
-
svg: string;
|
|
822
|
-
height: number;
|
|
823
|
-
/** Natural content width (px). Callers can use this for CSS-based centering. */
|
|
824
|
-
width: number;
|
|
825
|
-
}
|
|
826
|
-
declare function renderLegendSvg(groups: readonly LegendGroupData[], options: LegendRenderOptions): LegendRenderResult;
|
|
827
|
-
declare function renderLegendSvgFromConfig(config: LegendConfig, state: LegendState, palette: LegendPalette & {
|
|
828
|
-
isDark: boolean;
|
|
829
|
-
}, containerWidth: number): LegendRenderResult;
|
|
830
|
-
|
|
831
836
|
declare class ScaleContext {
|
|
832
837
|
readonly factor: number;
|
|
833
838
|
readonly isBelowFloor: boolean;
|
|
@@ -4279,6 +4284,10 @@ interface MapDirectives {
|
|
|
4279
4284
|
* (§24B.3/.4 — BOTH may be present; bivariate seam). */
|
|
4280
4285
|
interface MapRegion {
|
|
4281
4286
|
readonly name: string;
|
|
4287
|
+
/** Optional trailing ISO scope qualifier (§24B.8) — a 3166-1 country code
|
|
4288
|
+
* (`Georgia US` → US context) or 3166-2 subdivision (`Georgia US-GA`).
|
|
4289
|
+
* Forces the country-vs-state interpretation and silences the ambiguity warning. */
|
|
4290
|
+
readonly scope?: string;
|
|
4282
4291
|
readonly score?: number;
|
|
4283
4292
|
/** Tag values keyed by lowercased tag GROUP name (alias is resolved away). */
|
|
4284
4293
|
readonly tags: Readonly<Record<string, string>>;
|
|
@@ -4410,9 +4419,22 @@ interface MapData {
|
|
|
4410
4419
|
worldCoarse: BoundaryTopology;
|
|
4411
4420
|
worldDetail: BoundaryTopology;
|
|
4412
4421
|
usStates: BoundaryTopology;
|
|
4422
|
+
/** Major lakes (Natural Earth 110m) drawn as water over land — e.g. the Great
|
|
4423
|
+
* Lakes. Optional so hand-built test fixtures need not supply it. */
|
|
4424
|
+
lakes?: BoundaryTopology;
|
|
4425
|
+
/** Major river centerlines (Natural Earth 110m) drawn as thin water lines over
|
|
4426
|
+
* land — e.g. the Amazon, Nile, Mississippi. Optional, like `lakes`. */
|
|
4427
|
+
rivers?: BoundaryTopology;
|
|
4428
|
+
/** North-America-clipped 10m country land, used as crisp neighbour context
|
|
4429
|
+
* under the albers-usa US view so Canada/Mexico match the 10m states instead
|
|
4430
|
+
* of the coarser world tiers. Optional, like `lakes`. */
|
|
4431
|
+
naLand?: BoundaryTopology;
|
|
4432
|
+
/** North-America-clipped 10m major lakes (Great Lakes etc.), used in place of
|
|
4433
|
+
* the coarse `lakes` under the albers-usa US view. Optional. */
|
|
4434
|
+
naLakes?: BoundaryTopology;
|
|
4413
4435
|
gazetteer: Gazetteer;
|
|
4414
4436
|
}
|
|
4415
|
-
type ProjectionFamily = 'natural-earth' | 'albers-usa' | 'mercator';
|
|
4437
|
+
type ProjectionFamily = 'equirectangular' | 'natural-earth' | 'albers-usa' | 'mercator';
|
|
4416
4438
|
/** Which geometry layers the renderer draws. */
|
|
4417
4439
|
interface Basemaps {
|
|
4418
4440
|
/** World country tier: coarse (world-scale) | detail (regional/zoom). */
|
|
@@ -4502,6 +4524,25 @@ interface MapLayoutRegion {
|
|
|
4502
4524
|
readonly label?: string;
|
|
4503
4525
|
readonly lineNumber: number;
|
|
4504
4526
|
readonly layer: 'base' | 'country' | 'us-state';
|
|
4527
|
+
/** The region's score (if any) — emitted as `data-score` so the app can
|
|
4528
|
+
* highlight by gradient-scrub proximity. */
|
|
4529
|
+
readonly score?: number;
|
|
4530
|
+
/** The region's tag values keyed by group (lowercased) — emitted as
|
|
4531
|
+
* `data-tag-<group>` so the app can highlight on legend-entry hover. */
|
|
4532
|
+
readonly tags?: Readonly<Record<string, string>>;
|
|
4533
|
+
}
|
|
4534
|
+
/** A framed inset "cutout" (albers-usa AK/HI), in screen px. The frame is a
|
|
4535
|
+
* quad whose TOP edge is angled to ride just under the conus southern coast,
|
|
4536
|
+
* so a tall box can claim the deep lower-left water without covering AZ/TX.
|
|
4537
|
+
* `points` are the four corners (top-left, top-right, bottom-right,
|
|
4538
|
+
* bottom-left); `x/y/w/h` is the bounding box (legend-collision math + a
|
|
4539
|
+
* rectangular fallback). */
|
|
4540
|
+
interface MapLayoutInset {
|
|
4541
|
+
readonly x: number;
|
|
4542
|
+
readonly y: number;
|
|
4543
|
+
readonly w: number;
|
|
4544
|
+
readonly h: number;
|
|
4545
|
+
readonly points: ReadonlyArray<readonly [number, number]>;
|
|
4505
4546
|
}
|
|
4506
4547
|
interface MapLayoutPoi {
|
|
4507
4548
|
readonly id: string;
|
|
@@ -4533,13 +4574,21 @@ interface PlacedLabel {
|
|
|
4533
4574
|
readonly anchor: 'start' | 'middle' | 'end';
|
|
4534
4575
|
readonly color: string;
|
|
4535
4576
|
readonly halo: boolean;
|
|
4577
|
+
/** Halo/outline colour — the OPPOSITE lightness of `color`, so the text reads
|
|
4578
|
+
* whether it sits on its fill or overflows onto a different-coloured area. */
|
|
4579
|
+
readonly haloColor: string;
|
|
4536
4580
|
readonly leader?: {
|
|
4537
4581
|
x1: number;
|
|
4538
4582
|
y1: number;
|
|
4539
4583
|
x2: number;
|
|
4540
4584
|
y2: number;
|
|
4541
4585
|
};
|
|
4542
|
-
|
|
4586
|
+
/** Leader-line colour — the POI's own marker colour, so a called-out label
|
|
4587
|
+
* reads as belonging to its dot. Falls back to a neutral grey when absent. */
|
|
4588
|
+
readonly leaderColor?: string;
|
|
4589
|
+
/** The POI this label belongs to (POI labels only) — emitted as `data-poi` on
|
|
4590
|
+
* the label + leader so the app can spotlight the dot on label hover. */
|
|
4591
|
+
readonly poiId?: string;
|
|
4543
4592
|
readonly lineNumber: number;
|
|
4544
4593
|
}
|
|
4545
4594
|
interface MapLayoutLegend {
|
|
@@ -4556,17 +4605,15 @@ interface MapLayoutLegend {
|
|
|
4556
4605
|
min: number;
|
|
4557
4606
|
max: number;
|
|
4558
4607
|
hue: string;
|
|
4608
|
+
/** Low end of the ramp gradient (the land colour the fills blend from). */
|
|
4609
|
+
base: string;
|
|
4559
4610
|
};
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
readonly
|
|
4566
|
-
metric?: string;
|
|
4567
|
-
min: number;
|
|
4568
|
-
max: number;
|
|
4569
|
-
};
|
|
4611
|
+
}
|
|
4612
|
+
/** A drawn river centerline — an open stroked path (no fill). */
|
|
4613
|
+
interface MapLayoutRiver {
|
|
4614
|
+
readonly d: string;
|
|
4615
|
+
readonly color: string;
|
|
4616
|
+
readonly width: number;
|
|
4570
4617
|
}
|
|
4571
4618
|
interface MapLayout {
|
|
4572
4619
|
readonly width: number;
|
|
@@ -4576,28 +4623,47 @@ interface MapLayout {
|
|
|
4576
4623
|
readonly subtitle?: string;
|
|
4577
4624
|
readonly caption?: string;
|
|
4578
4625
|
readonly regions: readonly MapLayoutRegion[];
|
|
4626
|
+
/** Major river centerlines, drawn over land/lakes and under POIs/edges. */
|
|
4627
|
+
readonly rivers: readonly MapLayoutRiver[];
|
|
4579
4628
|
readonly legs: readonly MapLayoutLeg[];
|
|
4580
4629
|
readonly pois: readonly MapLayoutPoi[];
|
|
4581
4630
|
readonly labels: readonly PlacedLabel[];
|
|
4582
|
-
/** Numbered-pin fallback legend list (pin -> label). */
|
|
4583
|
-
readonly pinList: ReadonlyArray<{
|
|
4584
|
-
pin: number;
|
|
4585
|
-
label: string;
|
|
4586
|
-
}>;
|
|
4587
4631
|
readonly legend: MapLayoutLegend | null;
|
|
4632
|
+
/** Framed AK/HI inset cutouts (albers-usa only; empty otherwise). */
|
|
4633
|
+
readonly insets: readonly MapLayoutInset[];
|
|
4634
|
+
/** AK/HI region paths drawn inside the inset boxes (foreground, over an
|
|
4635
|
+
* opaque ocean fill). Paired positionally with `insets`. */
|
|
4636
|
+
readonly insetRegions: readonly MapLayoutRegion[];
|
|
4588
4637
|
}
|
|
4589
4638
|
interface LayoutOptions {
|
|
4590
4639
|
readonly palette: PaletteColors;
|
|
4591
4640
|
readonly isDark: boolean;
|
|
4641
|
+
/** Live override of the active colouring group (the score ramp or a tag
|
|
4642
|
+
* group). Highest priority — beats the `active-tag` directive. The app's
|
|
4643
|
+
* interactive legend flip passes this; `'score'` (or the metric label)
|
|
4644
|
+
* selects the choropleth ramp, a tag-group name selects that group, `'none'`
|
|
4645
|
+
* / `null` clears it. `undefined` = not provided (use the directive/default). */
|
|
4646
|
+
readonly activeGroup?: string | null;
|
|
4592
4647
|
}
|
|
4593
4648
|
interface Size {
|
|
4594
4649
|
readonly width: number;
|
|
4595
4650
|
readonly height: number;
|
|
4596
4651
|
}
|
|
4652
|
+
/** The map's water / backdrop colour for a palette — the single source of truth
|
|
4653
|
+
* shared by the renderer's `<rect>` fill and any host wrapper that needs to
|
|
4654
|
+
* match it (so letterbox gaps around the SVG don't show a stray band). */
|
|
4655
|
+
declare function mapBackgroundColor(palette: PaletteColors): string;
|
|
4656
|
+
/** The map's neutral (unscored/untagged) LAND colour — the green base every
|
|
4657
|
+
* region blends from. Exported so a host can DIM a region to plain land
|
|
4658
|
+
* (rather than lowering opacity, which would let the blue water show through
|
|
4659
|
+
* and make the shape read as ocean). Matches the layout's `neutralFill`. */
|
|
4660
|
+
declare function mapNeutralLandColor(palette: PaletteColors, isDark: boolean): string;
|
|
4597
4661
|
declare function layoutMap(resolved: ResolvedMap, data: MapData, size: Size, opts: LayoutOptions): MapLayout;
|
|
4598
4662
|
|
|
4599
4663
|
/** Render a resolved map into `container` (d3-selection appends an `<svg>`). */
|
|
4600
|
-
declare function renderMap(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions
|
|
4664
|
+
declare function renderMap(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions,
|
|
4665
|
+
/** Live override of the active colouring group (interactive legend flip). */
|
|
4666
|
+
activeGroupOverride?: string | null): void;
|
|
4601
4667
|
/** Export wrapper (no click handler) — matches the structured-renderer contract. */
|
|
4602
4668
|
declare function renderMapForExport(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions): void;
|
|
4603
4669
|
|
|
@@ -4879,6 +4945,34 @@ declare function renderFlowchart(container: HTMLDivElement, graph: ParsedGraph,
|
|
|
4879
4945
|
}): void;
|
|
4880
4946
|
declare function renderFlowchartForExport(content: string, theme: 'light' | 'dark' | 'transparent', palette: PaletteColors): string;
|
|
4881
4947
|
|
|
4948
|
+
interface LegendRenderOptions {
|
|
4949
|
+
palette: {
|
|
4950
|
+
bg: string;
|
|
4951
|
+
surface: string;
|
|
4952
|
+
text: string;
|
|
4953
|
+
textMuted: string;
|
|
4954
|
+
};
|
|
4955
|
+
isDark: boolean;
|
|
4956
|
+
/**
|
|
4957
|
+
* Width to wrap entries against (entries flow onto new rows past this).
|
|
4958
|
+
* Pass 0 when the caller CSS-centers a natural-width legend; a generous
|
|
4959
|
+
* fallback budget is used so a single row still fits on one line.
|
|
4960
|
+
*/
|
|
4961
|
+
containerWidth: number;
|
|
4962
|
+
activeGroup?: string | null;
|
|
4963
|
+
className?: string;
|
|
4964
|
+
}
|
|
4965
|
+
interface LegendRenderResult {
|
|
4966
|
+
svg: string;
|
|
4967
|
+
height: number;
|
|
4968
|
+
/** Natural content width (px). Callers can use this for CSS-based centering. */
|
|
4969
|
+
width: number;
|
|
4970
|
+
}
|
|
4971
|
+
declare function renderLegendSvg(groups: readonly LegendGroupData[], options: LegendRenderOptions): LegendRenderResult;
|
|
4972
|
+
declare function renderLegendSvgFromConfig(config: LegendConfig, state: LegendState, palette: LegendPalette & {
|
|
4973
|
+
isDark: boolean;
|
|
4974
|
+
}, containerWidth: number): LegendRenderResult;
|
|
4975
|
+
|
|
4882
4976
|
declare const LEGEND_HEIGHT = 28;
|
|
4883
4977
|
declare const LEGEND_GEAR_PILL_W: number;
|
|
4884
4978
|
|
|
@@ -5193,4 +5287,4 @@ declare function migrateContent(source: string): ContentMigration;
|
|
|
5193
5287
|
*/
|
|
5194
5288
|
declare function formatLineDiff(path: string, original: string, migrated: string): string;
|
|
5195
5289
|
|
|
5196
|
-
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 BoundaryTopology, 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 ContentMigration, 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, ECHART_EXPORT_WIDTH, 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 Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type Gazetteer, type GazetteerEntry, type GeoExtent, 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$1 as 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 MapCompletionOptions, type MapData, type MapDirectives, type MapEdge, type MapLayout, type MapLayoutLeg, type MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapPlaceCompletion, type MapPoi, type MapRegion, type MapRegionCompletion, type MapRoute, 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 ParsedMap, 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 PlacedLabel, type PoiPos, type ProjectionFamily, 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 RegionName, type RegionNames, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedEdge, type ResolvedGroup$1 as ResolvedGroup, type ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedPoi, type ResolvedRegion, type ResolvedRoute, type ResolvedSchedule, type ResolvedTask, type RingLayer, ScaleContext, 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 TransformResult, 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, completeMapPlaces, completeMapRegions, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, findUnsafePipePositions, focusOrgTree, formatDateLabel, formatDgmoError, formatLineDiff, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isLegacyMetadataLine, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, matchesContiguously, measurePertAnalysisBlock, migrateContent, 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, parseMap, 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, renderMap, renderMapForExport, 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, resolveMap, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, transformLine, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|
|
5290
|
+
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 BoundaryTopology, 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 ContentMigration, 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, ECHART_EXPORT_WIDTH, 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 Row as GanttRow, type GanttTask, type TaskRow as GanttTaskRow, type Gazetteer, type GazetteerEntry, type GeoExtent, 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$1 as 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 MapCompletionOptions, type MapData, type MapDirectives, type MapEdge, type MapLayout, type MapLayoutLeg, type MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapPlaceCompletion, type MapPoi, type MapRegion, type MapRegionCompletion, type MapRoute, 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 ParsedMap, 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 PlacedLabel, type PoiPos, type ProjectionFamily, 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 RegionName, type RegionNames, type RelationshipType, type RenderCategory, type RenderStep, type ResolveImportsResult, type ResolvedActivity, type ResolvedEdge, type ResolvedGroup$1 as ResolvedGroup, type ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedPoi, type ResolvedRegion, type ResolvedRoute, type ResolvedSchedule, type ResolvedTask, type RingLayer, ScaleContext, 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 TransformResult, 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, completeMapPlaces, completeMapRegions, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeScatterLabelGraphics, computeTimeTicks, contrastText, controlsGroupCapsuleWidth, decodeDiagramUrl, decodeViewState, displayName, draculaPalette, encodeDiagramUrl, encodeViewState, extractDiagramSymbols, extractPertSymbols, extractTagDeclarations, findUnsafePipePositions, focusOrgTree, formatDateLabel, formatDgmoError, formatLineDiff, getAllChartTypes, getAvailablePalettes, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getPalette, getRadarGeometry, getRenderCategory, getSeriesColors, getSimpleChartLegendGroups, groupMessagesBySection, gruvboxPalette, hexToHSL, hexToHSLString, highlightPertCriticalPath, highlightPertSet, hslToHex, inferParticipantType, inferRoles, isArchiveColumn, isExtendedChartType, isLegacyMetadataLine, isRecognizedColorName, isSequenceBlock, isSequenceNote, isValidHex, knownChartTypeIds, layoutBoxesAndLines, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, makeDgmoError, mapBackgroundColor, mapNeutralLandColor, matchesContiguously, measurePertAnalysisBlock, migrateContent, 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, parseMap, 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, renderMap, renderMapForExport, 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, resolveMap, resolveOrgImports, resolveTaskName, rollUpContextRelationships, rosePinePalette, sampleBetaPert, scoreChartType, seriesColors, shade, shapeFill, simulateCanonical, simulateFast, solarizedPalette, suggestChartTypes, themes, tint, tokyoNightPalette, transformLine, truncateBareUrl, parseDgmo as validate, validateComputed, validateInfra, validateLabelCharacters };
|