@diagrammo/dgmo 0.76.0 → 0.77.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/dist/advanced.d.ts +142 -12
  2. package/dist/advanced.js +104 -59
  3. package/dist/block.d.ts +2 -2
  4. package/dist/block.js +8 -8
  5. package/dist/{chart-meta-lP8Rl19E.d.ts → chart-meta-Cf_jkApJ.d.ts} +2 -2
  6. package/dist/chart-meta.d.ts +3 -3
  7. package/dist/{charts-d3-SQEVMIAM.js → charts-d3-HMEMHSSW.js} +5 -5
  8. package/dist/{chunk-E3BJVEMZ.js → chunk-2MTM4E6M.js} +2 -2
  9. package/dist/{chunk-UBW53CNS.js → chunk-3E4YB6TY.js} +2 -2
  10. package/dist/{chunk-IFC3JXCT.js → chunk-3O7ZYVJV.js} +2 -2
  11. package/dist/{chunk-Q6BAFS7I.js → chunk-43AJKH2U.js} +3 -3
  12. package/dist/chunk-53SEVJQM.js +9 -0
  13. package/dist/{chunk-UTTRJ6KN.js → chunk-5ZD4DDG7.js} +4 -4
  14. package/dist/{chunk-AFR6GWXD.js → chunk-6BVAW7KI.js} +4 -4
  15. package/dist/{chunk-CLQJAGWL.js → chunk-6IN4F4RH.js} +4 -4
  16. package/dist/{chunk-76IBFEYW.js → chunk-6ZZKEYBS.js} +4 -4
  17. package/dist/{chunk-OBYZU23V.js → chunk-7CXW6EGX.js} +2 -2
  18. package/dist/{chunk-HOIAQ3P2.js → chunk-B52RL5VV.js} +2 -2
  19. package/dist/{chunk-GFXFRKUG.js → chunk-BH3BQICT.js} +4 -4
  20. package/dist/{chunk-3LJNQ6LR.js → chunk-CF3I5SOG.js} +5 -5
  21. package/dist/{chunk-C576CU77.js → chunk-CHOK7NCJ.js} +5 -5
  22. package/dist/{chunk-U74EGVOA.js → chunk-CIWFL2LM.js} +4 -4
  23. package/dist/{chunk-OUJG73YJ.js → chunk-CYMYZYLI.js} +5 -5
  24. package/dist/{chunk-BCB24FG7.js → chunk-D3B6YEZK.js} +3 -3
  25. package/dist/{chunk-XHROEQ23.js → chunk-DSXWJAOA.js} +4 -4
  26. package/dist/{chunk-CQKD6GOC.js → chunk-EUVUOPRC.js} +4 -4
  27. package/dist/{chunk-7G4XMHDB.js → chunk-FF7LRT5L.js} +4 -4
  28. package/dist/{chunk-BZQCAZZZ.js → chunk-FR5EVD2X.js} +4 -4
  29. package/dist/{chunk-U7AO6FRL.js → chunk-H7BYMIVK.js} +312 -118
  30. package/dist/{chunk-4CRLM3IT.js → chunk-HDLRRY3N.js} +44 -44
  31. package/dist/{chunk-JLJ7SP4X.js → chunk-J76YDS4V.js} +2 -2
  32. package/dist/{chunk-7EZ5AKBK.js → chunk-LYJ53DBK.js} +8 -6
  33. package/dist/{chunk-JQ575OAK.js → chunk-MZEGUDTA.js} +2 -2
  34. package/dist/{chunk-IHUOYDLN.js → chunk-N5NQIZ56.js} +5 -5
  35. package/dist/{chunk-32MOGTKT.js → chunk-OO2L2LWV.js} +4 -4
  36. package/dist/{chunk-PAW4RMH3.js → chunk-OZOHREFQ.js} +2 -2
  37. package/dist/{chunk-EGXJWRO6.js → chunk-QBM5BURJ.js} +4 -4
  38. package/dist/{chunk-YVDBBWEP.js → chunk-QXMHBIQG.js} +4 -4
  39. package/dist/{chunk-UWYZIGCB.js → chunk-RGW26UAR.js} +2 -2
  40. package/dist/{chunk-QI4Q5ZZH.js → chunk-RV5A3EGI.js} +4 -4
  41. package/dist/{chunk-HGFKDSKZ.js → chunk-SI3PYDL4.js} +4 -4
  42. package/dist/{chunk-CAPR5DET.js → chunk-SSEAULA5.js} +2 -2
  43. package/dist/{chunk-AYM472K3.js → chunk-SWUQJ5VR.js} +3 -3
  44. package/dist/{chunk-HFCKU73Y.js → chunk-TI4YUUW6.js} +3 -3
  45. package/dist/{chunk-3EGIU5WY.js → chunk-TKIPK5P6.js} +3 -3
  46. package/dist/{chunk-QT5UMFPE.js → chunk-U4DS2ODO.js} +3 -3
  47. package/dist/{chunk-TF76LCZS.js → chunk-UBDVAHGK.js} +4 -4
  48. package/dist/{chunk-JL7BDLC6.js → chunk-UH5YTZN7.js} +4 -4
  49. package/dist/{chunk-GEURKGZS.js → chunk-V4NHFY22.js} +4 -4
  50. package/dist/{chunk-4SXHMFFP.js → chunk-VRPV6QXR.js} +23 -12
  51. package/dist/{chunk-FMZEU7MF.js → chunk-WHWUVDYK.js} +2 -2
  52. package/dist/{chunk-U5B3TUEW.js → chunk-XCFIAGT7.js} +2 -2
  53. package/dist/{chunk-COCMMQXW.js → chunk-XFXJXLK7.js} +2 -2
  54. package/dist/{chunk-YDA46XHI.js → chunk-XPBJVSRY.js} +2 -2
  55. package/dist/{chunk-VV6HZQ5K.js → chunk-YM5RMLFO.js} +2 -2
  56. package/dist/{d3--y67plmW.d.ts → d3-BiaJtaSw.d.ts} +1 -1
  57. package/dist/{dgmo-router-CY5j16Pl.d.ts → dgmo-router-BwXHZ_P3.d.ts} +1 -1
  58. package/dist/{dimensions-7NYBSZRJ.js → dimensions-OFF4GRFL.js} +4 -4
  59. package/dist/{flowchart-renderer-QYGQ64BM.js → flowchart-renderer-BBJUPORB.js} +3 -3
  60. package/dist/index.d.ts +7 -7
  61. package/dist/index.js +8 -8
  62. package/dist/{layout-LAS67TK3.js → layout-Y2V3LYV7.js} +2 -2
  63. package/dist/{renderer-FUJNSC5X.js → renderer-2ANDPQWC.js} +3 -3
  64. package/dist/{renderer-UYZSP7MF.js → renderer-2LDT4TUX.js} +5 -5
  65. package/dist/{renderer-4EWGZLJ6.js → renderer-2NYQDW37.js} +3 -3
  66. package/dist/{renderer-LBNVKVO3.js → renderer-2RIIIO34.js} +5 -5
  67. package/dist/{renderer-PKRKLOYR.js → renderer-3HFU3DTO.js} +5 -5
  68. package/dist/{renderer-UUP6OX6F.js → renderer-4BF6ILP6.js} +5 -5
  69. package/dist/{renderer-MUW4G2N6.js → renderer-5E2AH5TO.js} +7 -7
  70. package/dist/{renderer-DKW273R7.js → renderer-62SLWRYF.js} +6 -5
  71. package/dist/{renderer-E6NHTVN6.js → renderer-ANJUDBOS.js} +5 -5
  72. package/dist/{renderer-OTHBTGBN.js → renderer-CVWQD442.js} +3 -3
  73. package/dist/{renderer-GJDVPXI3.js → renderer-D6GJ6EVK.js} +6 -6
  74. package/dist/{renderer-KMOGGMM7.js → renderer-DNFV2IQI.js} +5 -5
  75. package/dist/{renderer-IH45QV6Z.js → renderer-EDVCGIQO.js} +4 -4
  76. package/dist/{renderer-LE3ZKHNS.js → renderer-EFQSMHID.js} +6 -6
  77. package/dist/{renderer-EP4GRCDX.js → renderer-FTX67CYZ.js} +3 -3
  78. package/dist/{renderer-GF6S5ZX6.js → renderer-G2DPKJAN.js} +5 -5
  79. package/dist/{renderer-QAMOXOZ2.js → renderer-GHBF5PRH.js} +3 -3
  80. package/dist/{renderer-5W3HWIUL.js → renderer-GZLRX764.js} +5 -5
  81. package/dist/{renderer-CO5O5VR5.js → renderer-H2HYLFN3.js} +3 -3
  82. package/dist/{renderer-JMJ7Q5OC.js → renderer-IR5655M7.js} +5 -5
  83. package/dist/{renderer-4PNVGHVA.js → renderer-L237AOOZ.js} +3 -3
  84. package/dist/{renderer-F6WSR7UM.js → renderer-LSJWYGOL.js} +6 -6
  85. package/dist/{renderer-PR3KLNST.js → renderer-LWXDMZOV.js} +5 -5
  86. package/dist/{renderer-3FB56573.js → renderer-MYSVPERC.js} +5 -5
  87. package/dist/{renderer-FGGDZZFQ.js → renderer-OL5QSZPC.js} +6 -6
  88. package/dist/{renderer-XBL6CLN2.js → renderer-P26HH3NA.js} +5 -5
  89. package/dist/{renderer-D7N7PPB7.js → renderer-R5HIRN2M.js} +3 -3
  90. package/dist/{renderer-BUEFD2IF.js → renderer-RNFECJ5D.js} +5 -5
  91. package/dist/{renderer-F24V3RD3.js → renderer-RPZVNCTF.js} +5 -5
  92. package/dist/{renderer-PIEPRK6M.js → renderer-SDNWZDUY.js} +5 -5
  93. package/dist/{renderer-RUHC6D3B.js → renderer-UKHH4UWV.js} +5 -5
  94. package/dist/{renderer-CGOPX4HW.js → renderer-VF7X66SL.js} +5 -5
  95. package/dist/{renderer-ZAJ5353N.js → renderer-Y3Y7PEUS.js} +3 -3
  96. package/dist/{renderer-radial-MZP3SVTZ.js → renderer-radial-QNGCGKZP.js} +5 -5
  97. package/dist/{state-renderer-UIE3AQM6.js → state-renderer-ELWDRXD6.js} +5 -5
  98. package/dist/{tag-groups-DrHT2tEc.d.ts → tag-groups-BAtkq0b_.d.ts} +39 -1
  99. package/dist/{themes-GWhsabnx.d.ts → themes-DpsyRSO7.d.ts} +2 -2
  100. package/gallery/fixtures/sketch.dgmo +1 -1
  101. package/package.json +4 -3
  102. package/dist/chunk-UTCPNJND.js +0 -7
@@ -1,14 +1,14 @@
1
- import { D as DgmoError, P as PaletteConfig, T as TagGroup, a as PaletteColors, C as CompactViewState, g as TagEntry } from './tag-groups-DrHT2tEc.js';
2
- export { h as DecodedDiagramUrl, c as DgmoSeverity, i as EncodeDiagramUrlOptions, j as EncodeDiagramUrlResult, k as autoTagColorCycle, l as decodeDiagramUrl, m as decodeViewState, n as encodeDiagramUrl, o as encodeViewState, f as formatDgmoError, p as makeDgmoError, t as tagAttrKey } from './tag-groups-DrHT2tEc.js';
3
- import { M as MapDataSource, P as ParsedMap, b as MapData, d as ResolvedMap, e as MapLayoutLegend, f as GeoExtent } from './d3--y67plmW.js';
4
- export { A as AirportData, B as BoundaryTopology, G as Gazetteer, a as GazetteerEntry, g as MapDirectives, h as MapEdge, i as MapPoi, j as MapRegion, k as MapRoute, l as PoiPos, m as ProjectionFamily, R as RegionName, c as RegionNames, n as ResolvedEdge, o as ResolvedPoi, p as ResolvedRegion, q as ResolvedRoute, r as renderForExport } from './d3--y67plmW.js';
5
- export { b as CHART_TYPE_DESCRIPTIONS, C as ChartTypeId, a as ChartTypeMeta, R as RenderCategory, d as chartTypeParsers, c as chartTypes, e as getAllChartTypes, f as getAvailablePalettes, g as getPalette, h as getRenderCategory, i as isExtendedChartType, j as isValidHex, k as knownChartTypeIds, p as parseDgmo, l as parseDgmoChartType, m as registerPalette, p as validate } from './dgmo-router-CY5j16Pl.js';
1
+ import { D as DgmoError, P as PaletteConfig, T as TagGroup, a as PaletteColors, C as CompactViewState, g as TagEntry } from './tag-groups-BAtkq0b_.js';
2
+ export { h as DecodedDiagramUrl, c as DgmoSeverity, i as EncodeDiagramUrlOptions, j as EncodeDiagramUrlResult, k as autoTagColorCycle, l as decodeDiagramUrl, m as decodeViewState, n as encodeDiagramUrl, o as encodeViewState, f as formatDgmoError, p as makeDgmoError, r as resolveActiveTagGroup, q as resolveTagColor, t as tagAttrKey } from './tag-groups-BAtkq0b_.js';
3
+ import { M as MapDataSource, P as ParsedMap, b as MapData, d as ResolvedMap, e as MapLayoutLegend, f as GeoExtent } from './d3-BiaJtaSw.js';
4
+ export { A as AirportData, B as BoundaryTopology, G as Gazetteer, a as GazetteerEntry, g as MapDirectives, h as MapEdge, i as MapPoi, j as MapRegion, k as MapRoute, l as PoiPos, m as ProjectionFamily, R as RegionName, c as RegionNames, n as ResolvedEdge, o as ResolvedPoi, p as ResolvedRegion, q as ResolvedRoute, r as renderForExport } from './d3-BiaJtaSw.js';
5
+ export { b as CHART_TYPE_DESCRIPTIONS, C as ChartTypeId, a as ChartTypeMeta, R as RenderCategory, d as chartTypeParsers, c as chartTypes, e as getAllChartTypes, f as getAvailablePalettes, g as getPalette, h as getRenderCategory, i as isExtendedChartType, j as isValidHex, k as knownChartTypeIds, p as parseDgmo, l as parseDgmoChartType, m as registerPalette, p as validate } from './dgmo-router-BwXHZ_P3.js';
6
6
  import { Selection } from 'd3-selection';
7
7
  import * as d3Scale from 'd3-scale';
8
- import { P as ParsedOrg, F as FillMode, R as RaciMarker, a as ParsedRaci, b as RaciVariant, c as RaciTask } from './chart-meta-lP8Rl19E.js';
9
- export { A as ALL_CHART_TYPES, I as ImportSource, O as OrgNode, d as RaciPhase, e as RaciRoleAssignment, f as ReadFileFn, g as ResolveImportsResult, h as contrastText, i as findOrgNodeIdByName, j as getSeriesColors, k as hexToHSL, l as hexToHSLString, m as hslToHex, n as mix, o as normalizePertSourceForShare, p as parseFirstLine, q as parseOrg, r as parseRaci, s as resolveOrgImports, t as shade, u as shapeFill, v as tint } from './chart-meta-lP8Rl19E.js';
8
+ import { P as ParsedOrg, F as FillMode, R as RaciMarker, a as ParsedRaci, b as RaciVariant, c as RaciTask } from './chart-meta-Cf_jkApJ.js';
9
+ export { A as ALL_CHART_TYPES, I as ImportSource, O as OrgNode, d as RaciPhase, e as RaciRoleAssignment, f as ReadFileFn, g as ResolveImportsResult, h as contrastText, i as findOrgNodeIdByName, j as getSeriesColors, k as hexToHSL, l as hexToHSLString, m as hslToHex, n as mix, o as normalizePertSourceForShare, p as parseFirstLine, q as parseOrg, r as parseRaci, s as resolveOrgImports, t as shade, u as shapeFill, v as tint } from './chart-meta-Cf_jkApJ.js';
10
10
  import { GeoProjection } from 'd3-geo';
11
- export { M as MapCompletionOptions, a as MapLocationMatch, b as MapPlaceCompletion, c as MapRegionCompletion, T as Theme, d as completeMapPlaces, e as completeMapRegions, p as palettes, s as searchMapLocations, t as themes } from './themes-GWhsabnx.js';
11
+ export { M as MapCompletionOptions, a as MapLocationMatch, b as MapPlaceCompletion, c as MapRegionCompletion, T as Theme, d as completeMapPlaces, e as completeMapRegions, p as palettes, s as searchMapLocations, t as themes } from './themes-DpsyRSO7.js';
12
12
 
13
13
  /**
14
14
  * Stable diagnostic codes for in-arrow label parsing errors.
@@ -600,6 +600,21 @@ interface LegendConfig {
600
600
  titleWidth?: number;
601
601
  /** Extra width (px) reserved after the pill inside an active capsule (e.g. for eye icon addon). Entries start after this offset. */
602
602
  capsulePillAddonWidth?: number;
603
+ /**
604
+ * Extra width (px) reserved AFTER the last entry, still inside the active
605
+ * capsule. The counterpart of `capsulePillAddonWidth` at the other end of the
606
+ * row, and reserved during packing rather than added afterwards — so it never
607
+ * competes with an entry for the same pixels, and on a group that wraps it
608
+ * cannot be the thing pushed past `LEGEND_MAX_ENTRY_ROWS` and dropped.
609
+ *
610
+ * Added 2026-08-26 for the app's live sketch canvas, where the legend is the
611
+ * AUTHORING surface and `add a value` has to sit on the same rhythm as the
612
+ * values rather than beside the capsule (diagrammo/diagrammo#514). Nothing
613
+ * else sets it; omitted, the layout is byte-identical to before.
614
+ *
615
+ * Where it landed comes back as `LegendCapsuleLayout.trailingAddon`.
616
+ */
617
+ capsuleTrailingAddonWidth?: number;
603
618
  /** When true, groups with no entries are still rendered as collapsed pills. Default: false (empty groups hidden). */
604
619
  showEmptyGroups?: boolean;
605
620
  /** When true, INACTIVE sibling groups still render as collapsed pills next to
@@ -657,6 +672,13 @@ interface LegendCapsuleLayout {
657
672
  moreCount?: number;
658
673
  /** X offset where addon content (e.g. eye icon) can be placed — after pill, before entries */
659
674
  addonX?: number;
675
+ /** Where `capsuleTrailingAddonWidth` came to rest — after the last entry, on
676
+ * whatever row that entry ended on. Capsule-relative, like `entries`. */
677
+ trailingAddon?: {
678
+ x: number;
679
+ y: number;
680
+ width: number;
681
+ };
660
682
  /** Continuous-ramp swatch (choropleth groups) drawn in place of entry dots:
661
683
  * `minText` | gradient rect | `maxText`, all vertically centred. */
662
684
  gradient?: {
@@ -2427,7 +2449,7 @@ declare function collapseSketch(parsed: Pick<ParsedSketch, 'nodes' | 'edges' | '
2427
2449
 
2428
2450
  declare const SKETCH_GEOMETRY: {
2429
2451
  /** px per grid cell (the dot-grid pitch) */
2430
- readonly cellPx: 26;
2452
+ readonly cellPx: 16;
2431
2453
  /** universal footprint width, in grid cells */
2432
2454
  readonly footprintCellsW: 8;
2433
2455
  /**
@@ -2437,9 +2459,9 @@ declare const SKETCH_GEOMETRY: {
2437
2459
  readonly gapCellsX: 4;
2438
2460
  readonly gapCellsY: 4;
2439
2461
  /** box reserved top band, px (spec decision 12) */
2440
- readonly bandPx: 44;
2462
+ readonly bandPx: 28;
2441
2463
  /** box frame padding around the children bbox, px */
2442
- readonly boxPadPx: 26;
2464
+ readonly boxPadPx: 16;
2443
2465
  /** edge-ring (connect hook) width as a fraction of footprint height */
2444
2466
  readonly ringFrac: 0.22;
2445
2467
  };
@@ -6540,11 +6562,119 @@ declare function renderLegendSvgFromConfig(config: LegendConfig, state: LegendSt
6540
6562
  isDark: boolean;
6541
6563
  }, containerWidth: number): LegendRenderResult;
6542
6564
 
6565
+ declare const SKETCH_VISUALS: {
6566
+ /** Air round the whole diagram. */
6567
+ readonly diagramPadding: 20;
6568
+ readonly titleY: 30;
6569
+ readonly titleFontSize: 20;
6570
+ readonly titleFontWeight: number;
6571
+ readonly nodeStrokeWidth: 1.5;
6572
+ readonly edgeStrokeWidth: 1.5;
6573
+ readonly arrowheadW: 5;
6574
+ readonly arrowheadH: 4;
6575
+ readonly dash: "6 3";
6576
+ /** A card's name. Shared, and it fits DOWN to `nodeLabelFontSizeMin` before
6577
+ * it wraps — it used to be allowed up to 30 on a card with no rows, which is
6578
+ * more than twice what any other chart type prints. */
6579
+ readonly nodeLabelFontSize: 13;
6580
+ readonly nodeLabelFontSizeMin: 11;
6581
+ /** A card's description rows. */
6582
+ readonly cardMetaFontSize: 11;
6583
+ /** A card's header band. */
6584
+ readonly cardHeaderHeight: 28;
6585
+ readonly bandLabelFontSize: 13;
6586
+ readonly bandLabelFontWeight: 600;
6587
+ readonly bandLabelOpacity: 1;
6588
+ /** 11 — what boxes-and-lines prints. It was 12, the only edge label in the
6589
+ * product at that size. */
6590
+ readonly edgeLabelFontSize: 11;
6591
+ /** The `palette.bg` halo painted under an edge label so the connector cannot
6592
+ * cross its glyphs. Stroke, with `paint-order: stroke`. */
6593
+ readonly edgeLabelHaloWidth: 3;
6594
+ readonly cardRadius: 6;
6595
+ readonly containerRadius: 8;
6596
+ };
6597
+
6598
+ interface SketchNodeColors {
6599
+ readonly fill: string;
6600
+ readonly stroke: string;
6601
+ readonly text: string;
6602
+ }
6603
+ /** How a sketch fills its shapes — the `fill-mode` option, verbatim. */
6604
+ type SketchFillMode = 'solid' | 'outline' | undefined;
6605
+ /**
6606
+ * 🔴 Containers are painted at this, over an opaque node fill. dgmo's own
6607
+ * number (`renderer.ts`), here so the app cannot pick a different one — it had
6608
+ * 0.12 against this 0.4, which is most of why a group read as a wash rather
6609
+ * than a frame.
6610
+ */
6611
+ declare const CONTAINER_FILL_OPACITY = 1;
6612
+ /** A container's outline, which is far softer than a node's — `boxes-and-lines`
6613
+ * gives the same object exactly this. */
6614
+ declare const CONTAINER_STROKE_OPACITY = 0.35;
6615
+ /** And its stroke width: a plain 1, not a node's. */
6616
+ declare const CONTAINER_STROKE_WIDTH = 1;
6617
+ /**
6618
+ * A container's surface. 🔴 NEUTRAL, and never the group's tag colour.
6619
+ *
6620
+ * Sketch used to paint a whole group in its own tag at 0.4 — so a tagged group
6621
+ * was a wash of colour with everything inside it swimming in that wash, and a
6622
+ * sketch put beside a `boxes-and-lines` chart of the same content did not read
6623
+ * as the same product (reported 2026-08-27). `boxes-and-lines` never tints a
6624
+ * group; this is its expression, verbatim.
6625
+ *
6626
+ * ⚠️ What that costs: a container's OWN tag no longer shows in its fill. It is
6627
+ * still in the source, still cascades to the children inside it, and still
6628
+ * colours them — what is gone is the group-level wash.
6629
+ */
6630
+ declare function sketchContainerFill(palette: PaletteColors, _isDark: boolean): string;
6631
+ /**
6632
+ * Untagged shapes still read as filled cards, not empty outlines: a slight gray
6633
+ * tint (muted mixed into the bg) — subtle on light, a touch lighter than the bg
6634
+ * on dark.
6635
+ */
6636
+ declare function sketchNeutralFill(palette: PaletteColors, isDark: boolean, fillMode: SketchFillMode): string;
6637
+ /**
6638
+ * The colours one thing on a sketch wears, given what it carries.
6639
+ *
6640
+ * Returns a function rather than a value because every node on a board asks the
6641
+ * same question against the same active group, and resolving that group once is
6642
+ * the whole point.
6643
+ */
6644
+ declare function sketchColors(opts: {
6645
+ readonly palette: PaletteColors;
6646
+ readonly isDark: boolean;
6647
+ readonly tagGroups: readonly TagGroup[];
6648
+ /** The group the legend says is active, or undefined to let dgmo choose. */
6649
+ readonly activeTagGroup?: string | null | undefined;
6650
+ readonly fillMode: SketchFillMode;
6651
+ }): (metadata: Record<string, string>, isContainer?: boolean) => SketchNodeColors;
6652
+
6653
+ declare const FONT_FAMILY = "Inter, system-ui, Avenir, Helvetica, Arial, sans-serif";
6654
+ declare const DEFAULT_FONT_NAME = "Inter";
6655
+
6543
6656
  declare const LEGEND_HEIGHT = 28;
6657
+ declare const LEGEND_PILL_PAD = 16;
6658
+ declare const LEGEND_PILL_FONT_SIZE = 11;
6659
+ declare const LEGEND_CAPSULE_PAD = 4;
6660
+ declare const LEGEND_DOT_R = 4;
6661
+ declare const LEGEND_ENTRY_FONT_SIZE = 10;
6662
+ declare const LEGEND_ENTRY_DOT_GAP = 4;
6663
+ declare const LEGEND_ENTRY_TRAIL = 8;
6664
+ declare const LEGEND_GROUP_GAP = 12;
6665
+ declare const LEGEND_MAX_ENTRY_ROWS = 3;
6544
6666
  declare const LEGEND_GEAR_PILL_W: number;
6545
6667
 
6546
6668
  declare function renderLegendD3(container: D3Sel, config: LegendConfig, state: LegendState, palette: LegendPalette, isDark: boolean, callbacks?: LegendCallbacks, containerWidth?: number): LegendHandle;
6547
6669
 
6670
+ /**
6671
+ * The full advance width of one legend entry — dot, gap, label and trail.
6672
+ *
6673
+ * Public because a caller sizing `capsuleTrailingAddonWidth` has to reserve
6674
+ * room for something that will be DRAWN as an entry, and measuring it any other
6675
+ * way is a second implementation of `measureLegendText` plus four constants.
6676
+ */
6677
+ declare function legendEntryWidth(value: string): number;
6548
6678
  declare function controlsGroupCapsuleWidth(toggles: Array<{
6549
6679
  label: string;
6550
6680
  }>): number;
@@ -6811,4 +6941,4 @@ declare function uncoveredCharacters(text: string, coverage: FontCoverage): read
6811
6941
  */
6812
6942
  declare function fontPortabilityWarning(runs: readonly UncoveredRun[]): string | undefined;
6813
6943
 
6814
- export { 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 BlockCell, type BlockGrid, type BlockLayoutItem, type BlockLayoutResult, type BlockNode, type BlockOptions, type BodyFigure, type BodyOptions, type BodyPart, type BracketMode, type BracketSide, type C4ArrowType, type C4DeploymentNode, type C4Element, type C4ElementType, type C4Group, type C4LayoutBoundary, type C4LayoutEdge, type C4LayoutNode, type C4LayoutResult, type C4LegendEntry, type C4LegendGroup, type C4Relationship, type C4Shape, type C4TagEntry, type C4TagGroup, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type ClockEntry, type ClockFace, type ClockZoneKind, type CodepointRange, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CountUnits, type CreateMapGeoQueryOptions, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, DgmoError, type DiagramSymbols, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EventLineEra, type EventLineEvent, type EventLineFocus, type EventLineOptions, type ExpandedActivity, type ExtendedChartType, type FamilyChild, type FamilyChildEdge, type FamilyLayoutNode, type FamilyLayoutResult, type FamilyMarriageBar, type FamilyPerson, type FamilySex, type FamilyUnion, type FocusOrgResult, type FocusResult, type FocusTarget, type FontCoverage, 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, GeoExtent, type GetOrCreateNameResult, type GoalMode, type GoalOptions, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, 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, MapData, type MapExportDimensions, type MapGeoQuery, type MapLayout, type MapLayoutInset, type MapLayoutLeg, MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapLayoutStretch, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NearestCity, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBody, type ParsedBoxesAndLines, type ParsedBracket, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedClock, type ParsedCountdown, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedFamily, type ParsedGantt, type ParsedGoal, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedLiveLink, ParsedMap, type ParsedMindmap, ParsedOrg, type ParsedPert, type ParsedPyramid, ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSketch, type ParsedSwimlane, type ParsedTechRadar, type ParsedTreemap, type ParsedVersionControl, 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 PlaceResolution, type PlacedLabel, type ProjectedCity, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, RaciMarker, RaciTask, RaciVariant, type RadialCell, type RadialLayoutResult, type RawMatch, type RawSeed, type RecurRule, type RegionToken, type RelationshipType, type RenderStep, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, type RoundMode, SKETCH_AUTO_LAYOUT_DEFAULTS, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SHAPE_KINDS, SKETCH_SLOT_X, SKETCH_SLOT_Y, ScaleContext, 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 SketchAt, type SketchAutoLayoutFlags, type SketchBox, type SketchCollapseResult, type SketchEdge, type SketchEdgeGeometry, type SketchEdgeHeads, type SketchLayout, type SketchLayoutBox, type SketchLayoutNode, type SketchLayoutOptions, type SketchNode, type SketchOptions, type SketchRenderOptions, type SketchShapeKind, type StateCollapseResult, type SwimEdge, type SwimEvent, type SwimLane, type SwimNode, type SwimPhase, type SwimShape, type LayoutBand as SwimlaneLayoutBand, type SwimlaneLayoutResult, TagEntry, TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type TreemapCell, type TreemapColorMode, type TreemapLayoutResult, type TreemapNode, type TreemapOptions, type UncoveredRun, type VCBranch, type VCNode, type VCNote, type VCOptions, type VCRef, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, type WorkWindow, type ZoneSuggestion, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, canonicalSketch, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, emitSketch, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatDateLabel, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, groupMessagesBySection, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isSketchShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePlace, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBody, parseBoxesAndLines, parseBracket, parseC4, parseChart, parseClassDiagram, parseClock, parseCountdown, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFamily, parseFixedOffset, parseFlowchart, parseGantt, parseGoal, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseLiveLink, parseMap, parseMindmap, parsePert, parsePyramid, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseSketch, parseState, parseSwimlane, parseTechRadar, parseTimelineDate, parseTreemap, parseVersionControl, parseVisualization, parseWireframe, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, relayoutPert, render, renderArcDiagram, renderBlock, renderBlockForExport, renderBody, renderBodyForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderBracket, renderBracketForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderClock, renderClockForExport, renderCountdown, renderCountdownForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFamily, renderFamilyForExport, renderFlowchart, renderFlowchartForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSketch, renderSketchForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sameSketch, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchEdgeGeometry, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, uncoveredCharacters, validateComputed, validateInfra, validateLabelCharacters };
6944
+ export { 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 BlockCell, type BlockGrid, type BlockLayoutItem, type BlockLayoutResult, type BlockNode, type BlockOptions, type BodyFigure, type BodyOptions, type BodyPart, type BracketMode, type BracketSide, 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, CONTAINER_FILL_OPACITY, CONTAINER_STROKE_OPACITY, CONTAINER_STROKE_WIDTH, type ChartDataPoint, type ChartEra, type ChartType$1 as ChartType, type ClassLayoutEdge, type ClassLayoutNode, type ClassLayoutResult, type ClassMember, type ClassModifier, type ClassNode, type ClassRelationship, type ClockEntry, type ClockFace, type ClockZoneKind, type CodepointRange, type CollapsedMindmapResult, type CollapsedOrgResult, type CollapsedSitemapResult, type CollapsedView, CompactViewState, type ComputedInfraEdge, type ComputedInfraModel, type ComputedInfraNode, type ContextRelationship, type CountUnits, type CreateMapGeoQueryOptions, type CycleEdge, type CycleLayoutEdge, type CycleLayoutNode, type CycleLayoutResult, type CycleNode, type CycleRenderOptions, type D3ExportDimensions, DEFAULT_FONT_NAME, DgmoError, type DiagramSymbols, type Duration, type DurationUnit, type ERCardinality, type ERColumn, type ERConstraint, type ERLayoutEdge, type ERLayoutNode, type ERLayoutResult, type ERRelationship, type ERTable, type ElseIfBranch, type EventLineEra, type EventLineEvent, type EventLineFocus, type EventLineOptions, type ExpandedActivity, type ExtendedChartType, FONT_FAMILY, type FamilyChild, type FamilyChildEdge, type FamilyLayoutNode, type FamilyLayoutResult, type FamilyMarriageBar, type FamilyPerson, type FamilySex, type FamilyUnion, type FocusOrgResult, type FocusResult, type FocusTarget, type FontCoverage, 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, GeoExtent, type GetOrCreateNameResult, type GoalMode, type GoalOptions, type GraphDirection, type GraphEdge, type GraphGroup, type GraphNode, type GraphShape, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, 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_CAPSULE_PAD, LEGEND_DOT_R, LEGEND_ENTRY_DOT_GAP, LEGEND_ENTRY_FONT_SIZE, LEGEND_ENTRY_TRAIL, LEGEND_GEAR_PILL_W, LEGEND_GROUP_GAP, LEGEND_HEIGHT, LEGEND_MAX_ENTRY_ROWS, LEGEND_PILL_FONT_SIZE, LEGEND_PILL_PAD, 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, MapData, type MapExportDimensions, type MapGeoQuery, type MapLayout, type MapLayoutInset, type MapLayoutLeg, MapLayoutLegend, type MapLayoutPoi, type MapLayoutRegion, type MapLayoutStretch, type MemberVisibility, type MindmapLayoutEdge, type MindmapLayoutNode, type MindmapLayoutResult, type MindmapNode, type MonteCarloResult, type NameEntry, type NearestCity, type NodeDetail, type OrgContainerBounds, type OrgLayoutEdge, type OrgLayoutNode, type OrgLayoutResult, PaletteColors, PaletteConfig, type ParseInArrowLabelResult, type ParsedBlock, type ParsedBody, type ParsedBoxesAndLines, type ParsedBracket, type ParsedC4, type ParsedChart, type ParsedClassDiagram, type ParsedClock, type ParsedCountdown, type ParsedCycle, type ParsedERDiagram, type ParsedEventLine, type ParsedExtendedChart, type ParsedFamily, type ParsedGantt, type ParsedGoal, type ParsedGraph, type ParsedInfra, type ParsedJourneyMap, type ParsedKanban, type ParsedLiveLink, ParsedMap, type ParsedMindmap, ParsedOrg, type ParsedPert, type ParsedPyramid, ParsedRaci, type ParsedRing, type ParsedSequenceDgmo, type ParsedSitemap, type ParsedSketch, type ParsedSwimlane, type ParsedTechRadar, type ParsedTreemap, type ParsedVersionControl, 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 PlaceResolution, type PlacedLabel, type ProjectedCity, type PyramidLayer, type QuadrantPosition, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, type RaciDragSource, type RaciInteractionHandlers, RaciMarker, RaciTask, RaciVariant, type RadialCell, type RadialLayoutResult, type RawMatch, type RawSeed, type RecurRule, type RegionToken, type RelationshipType, type RenderStep, type ResolvedActivity, type ResolvedGroup$1 as ResolvedGroup, ResolvedMap, type ResolvedPert, type ResolvedGroup as ResolvedPertGroup, type ResolvedSchedule, type ResolvedTask, type ResultCard, type ResultTokens, type RingLayer, type RoundMode, SKETCH_AUTO_LAYOUT_DEFAULTS, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SHAPE_KINDS, SKETCH_SLOT_X, SKETCH_SLOT_Y, SKETCH_VISUALS, ScaleContext, 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 SketchAt, type SketchAutoLayoutFlags, type SketchBox, type SketchCollapseResult, type SketchEdge, type SketchEdgeGeometry, type SketchEdgeHeads, type SketchFillMode, type SketchLayout, type SketchLayoutBox, type SketchLayoutNode, type SketchLayoutOptions, type SketchNode, type SketchNodeColors, type SketchOptions, type SketchRenderOptions, type SketchShapeKind, type StateCollapseResult, type SwimEdge, type SwimEvent, type SwimLane, type SwimNode, type SwimPhase, type SwimShape, type LayoutBand as SwimlaneLayoutBand, type SwimlaneLayoutResult, TagEntry, TagGroup, type TechRadarBlip, type TechRadarLayoutPoint, type TechRadarQuadrant, type TechRadarRing, type TreemapCell, type TreemapColorMode, type TreemapLayoutResult, type TreemapNode, type TreemapOptions, type UncoveredRun, type VCBranch, type VCNode, type VCNote, type VCOptions, type VCRef, type VisualizationType, type WireframeElement, type WireframeElementType, type WireframeFormFactor, type WireframeLayout, type WireframeLayoutNode, type WorkWindow, type ZoneSuggestion, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, canonicalSketch, catppuccinPalette, clearEventLineMuted, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, displayName, emitSketch, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatDateLabel, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, groupMessagesBySection, inferParticipantType, inferRoles, invalidColorDiagnostic, isArchiveColumn, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isSketchShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, legendEntryWidth, loadMapData, looksLikeClassDiagram, looksLikeERDiagram, looksLikeFlowchart, looksLikeMap, looksLikePert, looksLikeSequence, looksLikeSitemap, looksLikeState, mapBackgroundColor, mapContentAspect, mapExportDimensions, mapNeutralLandColor, measurePertAnalysisBlock, mulberry32, nearestNamedColor, nord, nordPalette, normalizeName, normalizePlace, orderArcNodes, parseAndLayoutInfra, parseBlock, parseBody, parseBoxesAndLines, parseBracket, parseC4, parseChart, parseClassDiagram, parseClock, parseCountdown, parseCycle, parseDataRowValues, parseERDiagram, parseEventLine, parseExtendedChart, parseFamily, parseFixedOffset, parseFlowchart, parseGantt, parseGoal, parseInArrowLabel, parseInfra, parseInlineMarkdown, parseJourneyMap, parseKanban, parseLiveLink, parseMap, parseMindmap, parsePert, parsePyramid, parseRing, parseSequenceDgmo, parseSequenceDgmo as parseSequenceDiagram, parseSitemap, parseSketch, parseState, parseSwimlane, parseTechRadar, parseTimelineDate, parseTreemap, parseVersionControl, parseVisualization, parseWireframe, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, relayoutPert, render, renderArcDiagram, renderBlock, renderBlockForExport, renderBody, renderBodyForExport, renderBoxesAndLines, renderBoxesAndLinesForExport, renderBracket, renderBracketForExport, renderC4ComponentsForExport, renderC4Containers, renderC4ContainersForExport, renderC4Context, renderC4ContextForExport, renderC4Deployment, renderC4DeploymentForExport, renderClassDiagram, renderClassDiagramForExport, renderClock, renderClockForExport, renderCountdown, renderCountdownForExport, renderCycle, renderCycleForExport, renderERDiagram, renderERDiagramForExport, renderEventLine, renderEventLineForExport, renderFamily, renderFamilyForExport, renderFlowchart, renderFlowchartForExport, renderGantt, renderGoal, renderGoalForExport, renderInfra, renderJourneyMap, renderJourneyMapForExport, renderKanban, renderKanbanForExport, renderLegendD3, renderLegendSvg, renderLegendSvgFromConfig, renderLiveLinkCard, renderMap, renderMapForExport, renderMindmap, renderMindmapForExport, renderOrg, renderOrgForExport, renderPert, renderPertAnalysisBlock, renderPertForExport, renderPyramid, renderPyramidForExport, renderQuadrant, renderQuadrantFocus, renderQuadrantFocusForExport, renderRaci, renderRaciForExport, renderRing, renderRingForExport, renderSequenceDiagram, renderSitemap, renderSitemapForExport, renderSketch, renderSketchForExport, renderSlopeChart, renderState, renderStateForExport, renderSwimlaneForExport, renderTechRadar, renderTechRadarForExport, renderTimeline, renderTreemap, renderTreemapForExport, renderTreemapRadial, renderTreemapRadialForExport, renderVenn, renderVersionControl, renderVersionControlForExport, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sameSketch, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchColors, sketchContainerFill, sketchEdgeGeometry, sketchNeutralFill, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, uncoveredCharacters, validateComputed, validateInfra, validateLabelCharacters };