@diagrammo/dgmo 0.84.0 → 0.86.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 (98) hide show
  1. package/dist/advanced.d.ts +74 -9
  2. package/dist/advanced.js +70 -52
  3. package/dist/block.js +9 -9
  4. package/dist/chart-meta.js +4 -4
  5. package/dist/{chunk-LRNIYQ6Y.js → chunk-33FQ6HNV.js} +1 -1
  6. package/dist/{chunk-REUEU5PU.js → chunk-3CQS3CIO.js} +2 -2
  7. package/dist/{chunk-LQSNWE3W.js → chunk-4ELXLATB.js} +1 -1
  8. package/dist/{chunk-QZRYCRT7.js → chunk-4YA5XW43.js} +40 -40
  9. package/dist/{chunk-23RWHHI5.js → chunk-5NU7NII2.js} +14 -2
  10. package/dist/{chunk-HMWZQ53A.js → chunk-7WGCQE2E.js} +1 -1
  11. package/dist/{chunk-NSS2EF5B.js → chunk-AAMCXQPP.js} +1 -1
  12. package/dist/{chunk-XD7XL3SF.js → chunk-AGO3PFGS.js} +1 -1
  13. package/dist/{chunk-ECIXBEG2.js → chunk-AQIBKTPG.js} +2 -2
  14. package/dist/{chunk-ITLPDLBH.js → chunk-BF7JAFJI.js} +1 -1
  15. package/dist/{chunk-RMAJIB6S.js → chunk-BHZE36F7.js} +3 -3
  16. package/dist/{chunk-6HOVLE3H.js → chunk-BT2WH2XT.js} +1 -1
  17. package/dist/{chunk-3MXJMZAN.js → chunk-BV6PKJUS.js} +105 -28
  18. package/dist/{chunk-PSH5DT26.js → chunk-C6FZZFYD.js} +2 -2
  19. package/dist/{chunk-7256EOAE.js → chunk-CFBY77QJ.js} +129 -10
  20. package/dist/{chunk-VKGQX6P2.js → chunk-D4M25W6R.js} +1 -1
  21. package/dist/{chunk-A4PHPKNR.js → chunk-DAX42XVH.js} +1 -1
  22. package/dist/{chunk-V3LJIPS4.js → chunk-E6S2K6O2.js} +1 -1
  23. package/dist/{chunk-BIQYWWJ2.js → chunk-ERYHC4KJ.js} +1 -1
  24. package/dist/{chunk-JLGN6S4B.js → chunk-EWSESGC2.js} +32 -3
  25. package/dist/{chunk-MIZ46MOF.js → chunk-GYORDNOM.js} +1 -1
  26. package/dist/{chunk-D7D5YK4J.js → chunk-H6AFNCN3.js} +14 -2
  27. package/dist/{chunk-PEFPTQ3Z.js → chunk-HUMQIRJK.js} +1 -1
  28. package/dist/{chunk-XXAZ5C4K.js → chunk-IJ27L3R4.js} +1 -1
  29. package/dist/{chunk-VDMG3MM4.js → chunk-JD4RHBNX.js} +1 -1
  30. package/dist/{chunk-J2ICADUM.js → chunk-LHBMQJC3.js} +1 -1
  31. package/dist/{chunk-Y7FTHOMD.js → chunk-LIYWJ6DV.js} +32 -223
  32. package/dist/{chunk-HATTVAWX.js → chunk-LJFXC3IP.js} +1 -1
  33. package/dist/{chunk-KABGWUND.js → chunk-MSXRNVHB.js} +5 -3
  34. package/dist/{chunk-2QIGN7KL.js → chunk-MYHPRQHR.js} +6 -2
  35. package/dist/{chunk-UJRMARNX.js → chunk-NJIGYGZS.js} +19 -1
  36. package/dist/{chunk-RYZNNXUV.js → chunk-PKXKWHDW.js} +1 -1
  37. package/dist/{chunk-C5FEPGSJ.js → chunk-QJFT5MAH.js} +1 -1
  38. package/dist/{chunk-ULCB4BLF.js → chunk-QPE646M2.js} +1 -1
  39. package/dist/{chunk-UNSN56OJ.js → chunk-R2K5L4UA.js} +1 -1
  40. package/dist/{chunk-SLMAAJPE.js → chunk-RGI64U3A.js} +1 -1
  41. package/dist/chunk-TW6WMZFW.js +287 -0
  42. package/dist/{chunk-ZUUNTOMG.js → chunk-UIUXIDBX.js} +1 -1
  43. package/dist/{chunk-XIYVGO24.js → chunk-UMRZPRAN.js} +3 -3
  44. package/dist/{chunk-67USWFFE.js → chunk-UY6TEJJH.js} +1 -1
  45. package/dist/{chunk-YWHGWLY6.js → chunk-VEE777MD.js} +3 -3
  46. package/dist/{chunk-UGYZ5Q5Y.js → chunk-VJ2KROJ5.js} +1 -1
  47. package/dist/{chunk-6EV2F6W7.js → chunk-VPASQOR3.js} +68 -46
  48. package/dist/{chunk-OGKP2XGJ.js → chunk-VPVWG2GH.js} +1 -1
  49. package/dist/{chunk-IIEI7VK5.js → chunk-XCKNFFKM.js} +2 -0
  50. package/dist/{chunk-AYA6C64M.js → chunk-XFMQSFS4.js} +84 -27
  51. package/dist/cloud-reference.d.ts +11 -1
  52. package/dist/cloud-reference.js +1 -1
  53. package/dist/{dgmo-router-YW4SBNYB.js → dgmo-router-F2DSURTR.js} +5 -5
  54. package/dist/{dimensions-F3Y5T54V.js → dimensions-6QAWEGIR.js} +2 -2
  55. package/dist/{flowchart-renderer-TGQL4S4L.js → flowchart-renderer-H72L7BEC.js} +2 -2
  56. package/dist/index.js +9 -9
  57. package/dist/{layout-WZCXK7DF.js → layout-5NPBHV5F.js} +2 -2
  58. package/dist/{layout-WXVGMSI3.js → layout-5VSMZPMG.js} +2 -2
  59. package/dist/{layout-K6NI4VCS.js → layout-CUFA7XJD.js} +2 -2
  60. package/dist/{layout-NB7TKAWN.js → layout-LUQKAGGT.js} +2 -2
  61. package/dist/{layout-CFTB7GKV.js → layout-QIPCNUSB.js} +2 -2
  62. package/dist/{layout-PT7IKVCV.js → layout-QX5T6ZNE.js} +2 -2
  63. package/dist/layout-T6TAB5OI.js +10 -0
  64. package/dist/{layout-search-GRJEBAUF.js → layout-search-AW5VBDCV.js} +13 -8
  65. package/dist/live-link-resolve.d.ts +21 -3
  66. package/dist/live-link-resolve.js +47 -17
  67. package/dist/{parser-6PHQJO42.js → parser-PVIWHVGY.js} +1 -1
  68. package/dist/{parser-6TXNMXNB.js → parser-XYY5NHP4.js} +2 -2
  69. package/dist/{renderer-FXX3XSNW.js → renderer-2BWRW23Z.js} +2 -2
  70. package/dist/{renderer-OV3GUJRR.js → renderer-36JH4OMC.js} +4 -4
  71. package/dist/{renderer-EU27D4S6.js → renderer-425QUIYO.js} +2 -2
  72. package/dist/{renderer-HV6ZYJMC.js → renderer-4NZZ5J2F.js} +2 -2
  73. package/dist/{renderer-UGA5DGKR.js → renderer-5JVVJBAS.js} +2 -2
  74. package/dist/{renderer-YSH5EX54.js → renderer-AI2MD52D.js} +1 -1
  75. package/dist/{renderer-HWEGM72C.js → renderer-BICLPGAH.js} +2 -2
  76. package/dist/{renderer-XS42HEXW.js → renderer-CZJ4AMYV.js} +2 -2
  77. package/dist/{renderer-WUDVV363.js → renderer-E7WF75GY.js} +2 -2
  78. package/dist/{renderer-3XRDFNYF.js → renderer-EWJS2RAZ.js} +3 -3
  79. package/dist/{renderer-5YOF2AHJ.js → renderer-JEEGPLMM.js} +2 -2
  80. package/dist/{renderer-OXSLLQQC.js → renderer-KVAQE7PQ.js} +2 -2
  81. package/dist/{renderer-TF3NTKP3.js → renderer-NX4YKWCJ.js} +2 -2
  82. package/dist/{renderer-P7LQBDU2.js → renderer-QM23SWAM.js} +2 -2
  83. package/dist/{renderer-FBAFYSIQ.js → renderer-RAATRF6W.js} +3 -3
  84. package/dist/{renderer-X4KFEKUK.js → renderer-RH4U3UVM.js} +3 -3
  85. package/dist/{renderer-G72GMBKA.js → renderer-RLSR7N6I.js} +4 -4
  86. package/dist/{renderer-3F4K2X57.js → renderer-RMGN3Q7D.js} +2 -2
  87. package/dist/{renderer-OVDVFPAI.js → renderer-RUGMKHX5.js} +3 -3
  88. package/dist/{renderer-GWNSV76V.js → renderer-UUWR7NGF.js} +3 -3
  89. package/dist/{renderer-J3O2KVTL.js → renderer-V6LLASGN.js} +2 -2
  90. package/dist/{renderer-FQAZ3KNU.js → renderer-VKAJ52UO.js} +2 -2
  91. package/dist/{renderer-WRWVFEX7.js → renderer-XRALFCIN.js} +6 -4
  92. package/dist/{renderer-QZW4RCZW.js → renderer-YIZ7G4HU.js} +6 -6
  93. package/dist/{state-renderer-B4ZF6ESS.js → state-renderer-DDVJ43HR.js} +2 -2
  94. package/docs/language-reference.md +24 -12
  95. package/gallery/fixtures/sequence-groups-nested.dgmo +50 -0
  96. package/package.json +2 -2
  97. package/dist/chunk-WTTIODDV.js +0 -9
  98. package/dist/layout-JQ3IPJYR.js +0 -9
@@ -1034,8 +1034,19 @@ declare function isSequenceNote(el: SequenceElement): el is SequenceNote;
1034
1034
  */
1035
1035
  interface SequenceGroup {
1036
1036
  readonly name: string;
1037
+ /**
1038
+ * Every participant under this group, nested ones included, in source
1039
+ * order. Transitive so a frame — outer or inner — can size itself from one
1040
+ * list; `parent` is what distinguishes the two. Members of a nested group
1041
+ * are contiguous inside their parent's list because the source order that
1042
+ * built it is the order they were written in.
1043
+ */
1037
1044
  readonly participantIds: readonly ParticipantId[];
1038
1045
  readonly lineNumber: number;
1046
+ /** Name of the enclosing group, when this one is indented inside another. */
1047
+ readonly parent?: string;
1048
+ /** 0 for a top-level group, 1 for one nested inside it. Capped at MAX_GROUP_DEPTH - 1. */
1049
+ readonly depth: number;
1039
1050
  /** Pipe-delimited tag metadata (e.g. `[Backend | t: Product]`) */
1040
1051
  readonly metadata?: Readonly<Record<string, string>>;
1041
1052
  /** Whether this group is collapsed by default */
@@ -2090,6 +2101,10 @@ interface BLLayoutEdge {
2090
2101
  readonly labelWidth?: number;
2091
2102
  readonly labelHeight?: number;
2092
2103
  readonly labelLines?: readonly string[];
2104
+ /** `false` when label-placement could not clear the label of the boxes it
2105
+ * must avoid, so the renderer draws it on an opaque knockout (#703). Set on
2106
+ * every labelled edge; absent on an edge with no label. */
2107
+ readonly labelResolved?: boolean;
2093
2108
  readonly yOffset: number;
2094
2109
  readonly parallelCount: number;
2095
2110
  readonly metadata: Readonly<Record<string, string>>;
@@ -2135,6 +2150,24 @@ declare function layoutBoxesAndLines(parsed: ParsedBoxesAndLines, collapseInfo?:
2135
2150
  /** Progress hook (interactive path). When set, the search yields between
2136
2151
  * candidates so the UI can paint a "trying X of Y" indicator. */
2137
2152
  onProgress?: (done: number, total: number, phase: string) => void;
2153
+ /** Wall-clock deadline on candidate generation, in ms. Defaults to
2154
+ * `DEFAULT_SEARCH_BUDGET_MS`; **0 or less means no deadline at all**.
2155
+ *
2156
+ * 🔴 A test that asserts WHICH labels the search managed to place must
2157
+ * pass 0. The search is the one part of layout whose OUTPUT depends on
2158
+ * how much time it got, so a test pinning an exact result is otherwise
2159
+ * measuring the machine — and fails on a busy one while the code is
2160
+ * fine. `layout-search.ts` has said a non-positive budget is "what the
2161
+ * snapshot tests want" since the backstop was added, but nothing
2162
+ * forwarded it here, so no test could ask. Found when a full release's
2163
+ * gate refused dgmo on 2026-09-20: the OAUTH fixture needs ~2.5s a pass
2164
+ * and runs the search twice, so under the suite's own parallel load it
2165
+ * crossed the 5s backstop and five labels came out unplaced.
2166
+ *
2167
+ * This is the escape hatch for tests only. A real caller still gets the
2168
+ * deadline, and it still costs them placed labels on a busy machine —
2169
+ * that half is the search backstop firing on ordinary diagrams (#868). */
2170
+ budgetMs?: number;
2138
2171
  }): Promise<BLLayoutResult>;
2139
2172
 
2140
2173
  interface BLRenderOptions {
@@ -6026,6 +6059,26 @@ interface MapLayoutCityDot {
6026
6059
  readonly r: number;
6027
6060
  }
6028
6061
 
6062
+ /** The d3-geo projection factories a map layout can use. */
6063
+ type MapProjectionKind = 'conic-equal-area' | 'mercator' | 'equal-earth' | 'equirectangular' | 'natural-earth';
6064
+ /** How a projection was constructed, before it is fitted to a canvas. */
6065
+ interface MapProjectionSpec {
6066
+ readonly kind: MapProjectionKind;
6067
+ readonly parallels?: readonly [number, number];
6068
+ readonly center?: readonly [number, number];
6069
+ readonly rotate?: readonly [number, number];
6070
+ }
6071
+ /** A fitted projection as structured-cloneable data: its spec plus the
6072
+ * canvas-dependent fit. `rebuildMapProjection` turns it back into a live
6073
+ * projection that projects identically. */
6074
+ interface MapProjectionParams extends MapProjectionSpec {
6075
+ readonly scale: number;
6076
+ readonly translate: readonly [number, number];
6077
+ readonly clipExtent: readonly [readonly [number, number], readonly [number, number]] | null;
6078
+ }
6079
+ /** Rebuild the live projection a layout was fitted with. */
6080
+ declare function rebuildMapProjection(params: MapProjectionParams): GeoProjection;
6081
+
6029
6082
  interface MapLayoutRegion {
6030
6083
  readonly id: string;
6031
6084
  readonly d: string;
@@ -6076,10 +6129,10 @@ interface MapLayoutInset {
6076
6129
  readonly h: number;
6077
6130
  readonly points: ReadonlyArray<readonly [number, number]>;
6078
6131
  /** The FITTED inset projection (fit to this frame's screen box inside
6079
- * `placeInset`). Load-bearing for pixel↔lonLat over the AK/HI insets: the
6080
- * un-fitted `alaskaProjection()`/`hawaiiProjection()` factories would invert
6081
- * to garbage, so the geo-query inverts against THIS instance. */
6082
- readonly projection: GeoProjection;
6132
+ * `placeInset`), as cloneable parameters. Load-bearing for pixel↔lonLat over
6133
+ * the AK/HI insets: the un-fitted Alaska/Hawaii specs would invert to garbage,
6134
+ * so the geo-query rebuilds THIS fit (`rebuildMapProjection`). */
6135
+ readonly projectionParams: MapProjectionParams;
6083
6136
  /** Neighbour land (e.g. Canada beside Alaska) projected with this inset's
6084
6137
  * fitted projection and clipped to the box — drawn BEHIND the state so a land
6085
6138
  * border reads as land, not coast. Without it the state's outer ring buffers
@@ -6324,10 +6377,11 @@ interface MapLayout {
6324
6377
  /** AK/HI region paths drawn inside the inset boxes (foreground, over an
6325
6378
  * opaque ocean fill). Paired positionally with `insets`. */
6326
6379
  readonly insetRegions: readonly MapLayoutRegion[];
6327
- /** The fitted MAIN projection (the conus conic for albers-usa). Exposed for
6328
- * the geo-query's pixel↔lonLat inversion — the app NEVER reconstructs it from
6329
- * metadata; it binds to this exact instance. */
6330
- readonly projection: GeoProjection;
6380
+ /** The fitted MAIN projection (the conus conic for albers-usa), as cloneable
6381
+ * parameters rather than the live d3-geo function, so a layout can cross
6382
+ * `postMessage` (#645). The geo-query's pixel↔lonLat inversion rebuilds it
6383
+ * with `rebuildMapProjection`, which projects bit-identically. */
6384
+ readonly projectionParams: MapProjectionParams;
6331
6385
  /** Non-uniform stretch applied for GLOBAL fits (null for regional fits). */
6332
6386
  readonly stretch: MapLayoutStretch | null;
6333
6387
  /** Generic layout-time diagnostics channel — currently has no producers, so it
@@ -6413,6 +6467,12 @@ declare function layoutMap(resolvedIn: ResolvedMap, data: MapData, size: Size, o
6413
6467
  declare function renderMap(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions,
6414
6468
  /** Live override of the active colouring group (interactive legend flip). */
6415
6469
  activeGroupOverride?: string | null): void;
6470
+ /** Draw a map layout the caller already computed — typically off the main thread
6471
+ * (the app lays maps out in a worker, #645) — into `container`, exactly as
6472
+ * `renderMap` would draw it. PREVIEW only: an export goes through `renderMap`
6473
+ * with its export dimensions. `layout` must come from `layoutMap` over this same
6474
+ * `resolved` with the preview legend mode; it may have crossed `postMessage`. */
6475
+ declare function renderMapLayout(container: HTMLDivElement, layout: MapLayout, resolved: ResolvedMap, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void): void;
6416
6476
  /** Export wrapper (no click handler) — matches the structured-renderer contract. */
6417
6477
  declare function renderMapForExport(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions): void;
6418
6478
 
@@ -6545,6 +6605,11 @@ interface CreateMapGeoQueryOptions {
6545
6605
  * geo-query is ever pointed at an export canvas, thread `preferContain` through
6546
6606
  * `CreateMapGeoQueryOptions` to keep the projection in sync. */
6547
6607
  declare function createMapGeoQuery(opts: CreateMapGeoQueryOptions): MapGeoQuery;
6608
+ /** Construct a geo-query handle bound to a layout the caller already has — the
6609
+ * one it just drew — instead of laying the map out again. A layout that crossed
6610
+ * `postMessage` works: the projection is rebuilt from its parameters. `data` is
6611
+ * the same injected `MapData` the layout was computed from. */
6612
+ declare function createMapGeoQueryForLayout(layout: MapLayout, data: MapData): MapGeoQuery;
6548
6613
 
6549
6614
  /** Drag-source identity passed to `onMarkerDragStart`. */
6550
6615
  type RaciDragSource = {
@@ -7189,4 +7254,4 @@ declare function uncoveredCharacters(text: string, coverage: FontCoverage): read
7189
7254
  */
7190
7255
  declare function fontPortabilityWarning(runs: readonly UncoveredRun[]): string | undefined;
7191
7256
 
7192
- 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, DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY, 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 SketchEdgeBoard, 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, breakAtoms, 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, fitWrapped, 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, measureText, 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, truncateText, uncoveredCharacters, validateComputed, validateInfra, validateLabelCharacters, wrapTextToWidth };
7257
+ 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, DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY, 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 MapProjectionKind, type MapProjectionParams, type MapProjectionSpec, 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 SketchEdgeBoard, 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, breakAtoms, 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, createMapGeoQueryForLayout, displayName, emitSketch, extractSymbols$2 as extractClassSymbols, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPertSymbols, fitWrapped, 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, measureText, 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, rebuildMapProjection, 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, renderMapLayout, 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, truncateText, uncoveredCharacters, validateComputed, validateInfra, validateLabelCharacters, wrapTextToWidth };
package/dist/advanced.js CHANGED
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  renderRaci,
8
8
  renderRaciForExport
9
- } from "./chunk-VDMG3MM4.js";
9
+ } from "./chunk-JD4RHBNX.js";
10
10
  import {
11
11
  applyCollapseProjection,
12
12
  applyGroupOrdering,
@@ -16,7 +16,7 @@ import {
16
16
  computeActivations,
17
17
  groupMessagesBySection,
18
18
  renderSequenceDiagram
19
- } from "./chunk-AYA6C64M.js";
19
+ } from "./chunk-XFMQSFS4.js";
20
20
  import {
21
21
  renderRing,
22
22
  renderRingForExport
@@ -39,11 +39,11 @@ import {
39
39
  layoutBlock,
40
40
  renderBlock,
41
41
  renderBlockForExport
42
- } from "./chunk-SLMAAJPE.js";
42
+ } from "./chunk-RGI64U3A.js";
43
43
  import {
44
44
  renderGoal,
45
45
  renderGoalForExport
46
- } from "./chunk-D7D5YK4J.js";
46
+ } from "./chunk-H6AFNCN3.js";
47
47
  import "./chunk-LNO3ASX5.js";
48
48
  import {
49
49
  renderCountdown,
@@ -64,7 +64,7 @@ import {
64
64
  import {
65
65
  renderJourneyMap,
66
66
  renderJourneyMapForExport
67
- } from "./chunk-V3LJIPS4.js";
67
+ } from "./chunk-E6S2K6O2.js";
68
68
  import {
69
69
  layoutJourneyMap
70
70
  } from "./chunk-DOXBS7F5.js";
@@ -72,25 +72,27 @@ import {
72
72
  computeCycleLayout,
73
73
  renderCycle,
74
74
  renderCycleForExport
75
- } from "./chunk-C5FEPGSJ.js";
75
+ } from "./chunk-QJFT5MAH.js";
76
76
  import {
77
77
  resolveMap
78
78
  } from "./chunk-3AX6MCI6.js";
79
79
  import {
80
80
  renderMap,
81
- renderMapForExport
82
- } from "./chunk-UJRMARNX.js";
81
+ renderMapForExport,
82
+ renderMapLayout
83
+ } from "./chunk-NJIGYGZS.js";
83
84
  import "./chunk-ERNCPKD4.js";
84
85
  import {
85
86
  mapContentAspect,
86
87
  mapExportDimensions
87
- } from "./chunk-UGYZ5Q5Y.js";
88
+ } from "./chunk-VJ2KROJ5.js";
88
89
  import {
89
90
  albersSkewFallback,
90
91
  layoutMap,
91
92
  mapBackgroundColor,
92
- mapNeutralLandColor
93
- } from "./chunk-3MXJMZAN.js";
93
+ mapNeutralLandColor,
94
+ rebuildMapProjection
95
+ } from "./chunk-BV6PKJUS.js";
94
96
  import {
95
97
  decodeFeatures,
96
98
  regionAt
@@ -105,13 +107,13 @@ import {
105
107
  inferRoles,
106
108
  parseAndLayoutInfra,
107
109
  renderInfra
108
- } from "./chunk-BIQYWWJ2.js";
110
+ } from "./chunk-ERYHC4KJ.js";
109
111
  import {
110
112
  measurePertAnalysisBlock,
111
113
  renderPert,
112
114
  renderPertAnalysisBlock,
113
115
  renderPertForExport
114
- } from "./chunk-MIZ46MOF.js";
116
+ } from "./chunk-GYORDNOM.js";
115
117
  import {
116
118
  analyzePert,
117
119
  buildSimulationContext,
@@ -132,11 +134,11 @@ import {
132
134
  import {
133
135
  buildTagLaneRowList,
134
136
  renderGantt
135
- } from "./chunk-XD7XL3SF.js";
137
+ } from "./chunk-AGO3PFGS.js";
136
138
  import {
137
139
  renderState,
138
140
  renderStateForExport
139
- } from "./chunk-ITLPDLBH.js";
141
+ } from "./chunk-BF7JAFJI.js";
140
142
  import {
141
143
  collapseStateGroups
142
144
  } from "./chunk-SQ7IY53Q.js";
@@ -154,18 +156,18 @@ import {
154
156
  renderC4ContextForExport,
155
157
  renderC4Deployment,
156
158
  renderC4DeploymentForExport
157
- } from "./chunk-PSH5DT26.js";
159
+ } from "./chunk-C6FZZFYD.js";
158
160
  import {
159
161
  layoutC4Components,
160
162
  layoutC4Containers,
161
163
  layoutC4Context,
162
164
  layoutC4Deployment,
163
165
  rollUpContextRelationships
164
- } from "./chunk-A4PHPKNR.js";
166
+ } from "./chunk-DAX42XVH.js";
165
167
  import {
166
168
  renderFlowchart,
167
169
  renderFlowchartForExport
168
- } from "./chunk-LQSNWE3W.js";
170
+ } from "./chunk-4ELXLATB.js";
169
171
  import "./chunk-26EVL454.js";
170
172
  import {
171
173
  layoutGraph
@@ -178,17 +180,17 @@ import {
178
180
  } from "./chunk-3FCSOYN4.js";
179
181
  import {
180
182
  layoutSwimlane
181
- } from "./chunk-RYZNNXUV.js";
183
+ } from "./chunk-PKXKWHDW.js";
182
184
  import {
183
185
  renderSwimlaneForExport
184
- } from "./chunk-6HOVLE3H.js";
186
+ } from "./chunk-BT2WH2XT.js";
185
187
  import {
186
188
  layoutFamily
187
- } from "./chunk-XXAZ5C4K.js";
189
+ } from "./chunk-IJ27L3R4.js";
188
190
  import {
189
191
  renderFamily,
190
192
  renderFamilyForExport
191
- } from "./chunk-HATTVAWX.js";
193
+ } from "./chunk-LJFXC3IP.js";
192
194
  import "./chunk-IVKC4GID.js";
193
195
  import {
194
196
  collapseMindmapTree
@@ -196,21 +198,21 @@ import {
196
198
  import {
197
199
  renderMindmap,
198
200
  renderMindmapForExport
199
- } from "./chunk-REUEU5PU.js";
201
+ } from "./chunk-3CQS3CIO.js";
200
202
  import {
201
203
  layoutMindmap
202
- } from "./chunk-ZUUNTOMG.js";
204
+ } from "./chunk-UIUXIDBX.js";
203
205
  import {
204
206
  renderClassDiagram,
205
207
  renderClassDiagramForExport
206
- } from "./chunk-J2ICADUM.js";
208
+ } from "./chunk-LHBMQJC3.js";
207
209
  import {
208
210
  layoutClassDiagram
209
211
  } from "./chunk-BP4BT5TH.js";
210
212
  import {
211
213
  renderERDiagram,
212
214
  renderERDiagramForExport
213
- } from "./chunk-PEFPTQ3Z.js";
215
+ } from "./chunk-HUMQIRJK.js";
214
216
  import {
215
217
  layoutERDiagram
216
218
  } from "./chunk-FAV4RDVT.js";
@@ -239,18 +241,18 @@ import {
239
241
  sketchContainerFill,
240
242
  sketchEdgeGeometry,
241
243
  sketchNeutralFill
242
- } from "./chunk-7256EOAE.js";
244
+ } from "./chunk-CFBY77QJ.js";
243
245
  import {
244
246
  renderBoxesAndLines,
245
247
  renderBoxesAndLinesForExport
246
- } from "./chunk-2QIGN7KL.js";
248
+ } from "./chunk-MYHPRQHR.js";
247
249
  import "./chunk-5JO443MB.js";
248
250
  import "./chunk-XBJJP2HN.js";
249
251
  import {
250
252
  layoutBoxesAndLines
251
- } from "./chunk-Y7FTHOMD.js";
252
- import "./chunk-JLGN6S4B.js";
253
- import "./chunk-WTTIODDV.js";
253
+ } from "./chunk-LIYWJ6DV.js";
254
+ import "./chunk-EWSESGC2.js";
255
+ import "./chunk-TW6WMZFW.js";
254
256
  import "./chunk-HBCAY3KR.js";
255
257
  import "./chunk-6EK55ART.js";
256
258
  import "./chunk-ZGHV4QLK.js";
@@ -258,7 +260,7 @@ import "./chunk-5DH3KYFH.js";
258
260
  import {
259
261
  renderVersionControl,
260
262
  renderVersionControlForExport
261
- } from "./chunk-67USWFFE.js";
263
+ } from "./chunk-UY6TEJJH.js";
262
264
  import {
263
265
  collapseOrgTree,
264
266
  focusOrgTree
@@ -266,13 +268,13 @@ import {
266
268
  import {
267
269
  renderOrg,
268
270
  renderOrgForExport
269
- } from "./chunk-XIYVGO24.js";
271
+ } from "./chunk-UMRZPRAN.js";
270
272
  import {
271
273
  layoutOrg
272
- } from "./chunk-LRNIYQ6Y.js";
274
+ } from "./chunk-33FQ6HNV.js";
273
275
  import {
274
276
  layoutSitemap
275
- } from "./chunk-NSS2EF5B.js";
277
+ } from "./chunk-AAMCXQPP.js";
276
278
  import {
277
279
  collapseSitemapTree
278
280
  } from "./chunk-UNCCZ3NU.js";
@@ -280,22 +282,22 @@ import "./chunk-BS7SV7C3.js";
280
282
  import {
281
283
  renderSitemap,
282
284
  renderSitemapForExport
283
- } from "./chunk-RMAJIB6S.js";
285
+ } from "./chunk-BHZE36F7.js";
284
286
  import {
285
287
  computeCardArchive,
286
288
  computeCardMove,
287
289
  isArchiveColumn,
288
290
  renderKanban,
289
291
  renderKanbanForExport
290
- } from "./chunk-OGKP2XGJ.js";
292
+ } from "./chunk-VPVWG2GH.js";
291
293
  import {
292
294
  clearEventLineMuted,
293
295
  focusEventLine,
294
296
  renderEventLine,
295
297
  renderEventLineForExport
296
- } from "./chunk-YWHGWLY6.js";
298
+ } from "./chunk-VEE777MD.js";
297
299
  import "./chunk-WMIKC5XO.js";
298
- import "./chunk-UNSN56OJ.js";
300
+ import "./chunk-R2K5L4UA.js";
299
301
  import {
300
302
  parseInlineMarkdown,
301
303
  truncateBareUrl
@@ -320,8 +322,8 @@ import {
320
322
  renderSlopeChart,
321
323
  renderVenn,
322
324
  renderWordCloud
323
- } from "./chunk-QZRYCRT7.js";
324
- import "./chunk-VKGQX6P2.js";
325
+ } from "./chunk-4YA5XW43.js";
326
+ import "./chunk-D4M25W6R.js";
325
327
  import {
326
328
  CHART_TYPE_DESCRIPTIONS,
327
329
  chartTypeParsers,
@@ -331,7 +333,7 @@ import {
331
333
  knownChartTypeIds,
332
334
  parseDgmo,
333
335
  parseVisualization
334
- } from "./chunk-KABGWUND.js";
336
+ } from "./chunk-MSXRNVHB.js";
335
337
  import "./chunk-EOYPX6SF.js";
336
338
  import {
337
339
  normalizePlace,
@@ -374,14 +376,14 @@ import "./chunk-2CW5ZTNH.js";
374
376
  import {
375
377
  formatDateLabel,
376
378
  renderTimeline
377
- } from "./chunk-ULCB4BLF.js";
379
+ } from "./chunk-QPE646M2.js";
378
380
  import {
379
381
  computeTimeTicks
380
382
  } from "./chunk-YRYKTYMQ.js";
381
383
  import {
382
384
  ScaleContext
383
385
  } from "./chunk-24YPR5EH.js";
384
- import "./chunk-IIEI7VK5.js";
386
+ import "./chunk-XCKNFFKM.js";
385
387
  import "./chunk-RE6TVIAV.js";
386
388
  import "./chunk-QFIXL3OK.js";
387
389
  import "./chunk-3DOQOXXI.js";
@@ -527,7 +529,7 @@ import {
527
529
  } from "./chunk-RE27AX7O.js";
528
530
  import {
529
531
  parseDgmoChartType
530
- } from "./chunk-ECIXBEG2.js";
532
+ } from "./chunk-AQIBKTPG.js";
531
533
  import {
532
534
  allTasks,
533
535
  parseRaci
@@ -540,7 +542,7 @@ import {
540
542
  import "./chunk-3TYUXC7D.js";
541
543
  import {
542
544
  parseLiveLink
543
- } from "./chunk-HMWZQ53A.js";
545
+ } from "./chunk-7WGCQE2E.js";
544
546
  import "./chunk-EQW6HOP4.js";
545
547
  import "./chunk-DAOFNU6J.js";
546
548
  import {
@@ -548,7 +550,7 @@ import {
548
550
  isSequenceNote,
549
551
  looksLikeSequence,
550
552
  parseSequenceDgmo
551
- } from "./chunk-6EV2F6W7.js";
553
+ } from "./chunk-VPASQOR3.js";
552
554
  import {
553
555
  RULE_COUNT,
554
556
  inferParticipantType
@@ -616,7 +618,7 @@ import {
616
618
  measureIndent,
617
619
  parseFirstLine
618
620
  } from "./chunk-44GP7PD5.js";
619
- import "./chunk-23RWHHI5.js";
621
+ import "./chunk-5NU7NII2.js";
620
622
  import {
621
623
  atlasPalette,
622
624
  blueprintPalette,
@@ -1622,6 +1624,15 @@ function loadMapData() {
1622
1624
  }
1623
1625
 
1624
1626
  // src/map/invert.ts
1627
+ var rebuilt = /* @__PURE__ */ new WeakMap();
1628
+ function projectionOf(params) {
1629
+ let p = rebuilt.get(params);
1630
+ if (!p) {
1631
+ p = rebuildMapProjection(params);
1632
+ rebuilt.set(params, p);
1633
+ }
1634
+ return p;
1635
+ }
1625
1636
  function inInsetFrame(inset, px, py) {
1626
1637
  return px >= inset.x && px <= inset.x + inset.w && py >= inset.y && py <= inset.y + inset.h;
1627
1638
  }
@@ -1639,22 +1650,22 @@ function applyStretch(layout, x, y) {
1639
1650
  function pixelToLonLat(layout, px, py) {
1640
1651
  for (const inset of layout.insets) {
1641
1652
  if (inInsetFrame(inset, px, py)) {
1642
- const ll2 = inset.projection.invert?.([px, py]);
1653
+ const ll2 = projectionOf(inset.projectionParams).invert?.([px, py]);
1643
1654
  return ll2 && Number.isFinite(ll2[0]) && Number.isFinite(ll2[1]) ? [ll2[0], ll2[1]] : null;
1644
1655
  }
1645
1656
  }
1646
1657
  const [x, y] = layout.stretch ? unstretch(layout, px, py) : [px, py];
1647
- const ll = layout.projection.invert?.([x, y]);
1658
+ const ll = projectionOf(layout.projectionParams).invert?.([x, y]);
1648
1659
  return ll && Number.isFinite(ll[0]) && Number.isFinite(ll[1]) ? [ll[0], ll[1]] : null;
1649
1660
  }
1650
1661
  function lonLatToPixel(layout, lonLat) {
1651
1662
  const pt = [lonLat[0], lonLat[1]];
1652
- const main = layout.projection(pt);
1663
+ const main = projectionOf(layout.projectionParams)(pt);
1653
1664
  const mainPx = main && Number.isFinite(main[0]) && Number.isFinite(main[1]) ? layout.stretch ? applyStretch(layout, main[0], main[1]) : [main[0], main[1]] : null;
1654
1665
  const onCanvas = !!mainPx && mainPx[0] >= 0 && mainPx[0] <= layout.width && mainPx[1] >= 0 && mainPx[1] <= layout.height;
1655
1666
  if (onCanvas) return mainPx;
1656
1667
  for (const inset of layout.insets) {
1657
- const p = inset.projection(pt);
1668
+ const p = projectionOf(inset.projectionParams)(pt);
1658
1669
  if (p && Number.isFinite(p[0]) && Number.isFinite(p[1]) && inInsetFrame(inset, p[0], p[1]))
1659
1670
  return [p[0], p[1]];
1660
1671
  }
@@ -1775,6 +1786,10 @@ function createMapGeoQuery(opts) {
1775
1786
  { width, height },
1776
1787
  { palette, isDark }
1777
1788
  );
1789
+ return createMapGeoQueryForLayout(layout, data);
1790
+ }
1791
+ function createMapGeoQueryForLayout(layout, data) {
1792
+ const { width, height } = layout;
1778
1793
  const countries = decodeFeatures(data.worldDetail);
1779
1794
  const states = decodeFeatures(data.usStates);
1780
1795
  const gazetteer = data.gazetteer;
@@ -2120,6 +2135,7 @@ export {
2120
2135
  contrastText,
2121
2136
  controlsGroupCapsuleWidth,
2122
2137
  createMapGeoQuery,
2138
+ createMapGeoQueryForLayout,
2123
2139
  decodeDiagramUrl,
2124
2140
  decodeViewState,
2125
2141
  displayName,
@@ -2268,6 +2284,7 @@ export {
2268
2284
  cellCycle as raciCellCycle,
2269
2285
  cellRemove as raciCellRemove,
2270
2286
  cellReplace as raciCellReplace,
2287
+ rebuildMapProjection,
2271
2288
  registerPalette,
2272
2289
  relayoutPert,
2273
2290
  render,
@@ -2318,6 +2335,7 @@ export {
2318
2335
  renderLiveLinkCard,
2319
2336
  renderMap,
2320
2337
  renderMapForExport,
2338
+ renderMapLayout,
2321
2339
  renderMindmap,
2322
2340
  renderMindmapForExport,
2323
2341
  renderOrg,
package/dist/block.js CHANGED
@@ -4,12 +4,12 @@ import {
4
4
  } from "./chunk-D3K4U3ZM.js";
5
5
  import {
6
6
  render
7
- } from "./chunk-QZRYCRT7.js";
7
+ } from "./chunk-4YA5XW43.js";
8
8
  import {
9
9
  docsLink,
10
10
  renderErrorCard
11
- } from "./chunk-VKGQX6P2.js";
12
- import "./chunk-KABGWUND.js";
11
+ } from "./chunk-D4M25W6R.js";
12
+ import "./chunk-MSXRNVHB.js";
13
13
  import "./chunk-EOYPX6SF.js";
14
14
  import "./chunk-WP2RLGDI.js";
15
15
  import "./chunk-A2RUBBVT.js";
@@ -20,10 +20,10 @@ import "./chunk-KMU65FYM.js";
20
20
  import "./chunk-EPDBWATV.js";
21
21
  import "./chunk-7UDAIP6W.js";
22
22
  import "./chunk-2CW5ZTNH.js";
23
- import "./chunk-ULCB4BLF.js";
23
+ import "./chunk-QPE646M2.js";
24
24
  import "./chunk-YRYKTYMQ.js";
25
25
  import "./chunk-24YPR5EH.js";
26
- import "./chunk-IIEI7VK5.js";
26
+ import "./chunk-XCKNFFKM.js";
27
27
  import "./chunk-RE6TVIAV.js";
28
28
  import "./chunk-QFIXL3OK.js";
29
29
  import "./chunk-3DOQOXXI.js";
@@ -68,16 +68,16 @@ import "./chunk-KAO7JL4I.js";
68
68
  import {
69
69
  encodeDiagramUrl
70
70
  } from "./chunk-RE27AX7O.js";
71
- import "./chunk-ECIXBEG2.js";
71
+ import "./chunk-AQIBKTPG.js";
72
72
  import "./chunk-3RYBTEF5.js";
73
73
  import "./chunk-UNNJCSSQ.js";
74
74
  import "./chunk-3TYUXC7D.js";
75
- import "./chunk-HMWZQ53A.js";
75
+ import "./chunk-7WGCQE2E.js";
76
76
  import "./chunk-EQW6HOP4.js";
77
77
  import {
78
78
  scanMonthNameDates
79
79
  } from "./chunk-DAOFNU6J.js";
80
- import "./chunk-6EV2F6W7.js";
80
+ import "./chunk-VPASQOR3.js";
81
81
  import "./chunk-C3Z4DX3V.js";
82
82
  import "./chunk-JRUEIRJB.js";
83
83
  import "./chunk-7TF3QOOD.js";
@@ -103,7 +103,7 @@ import {
103
103
  REGISTRY_MODIFIER_TOKENS,
104
104
  REGISTRY_STATUS_TOKENS
105
105
  } from "./chunk-44GP7PD5.js";
106
- import "./chunk-23RWHHI5.js";
106
+ import "./chunk-5NU7NII2.js";
107
107
  import {
108
108
  resolvePaletteOrFallback
109
109
  } from "./chunk-IDJGV6VM.js";