@diagrammo/dgmo 0.85.0 → 0.87.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 (122) hide show
  1. package/dist/advanced.d.ts +45 -9
  2. package/dist/advanced.js +83 -64
  3. package/dist/block.js +11 -23
  4. package/dist/chart-meta.js +3 -3
  5. package/dist/{chunk-FAV4RDVT.js → chunk-2A4DQAXG.js} +1 -1
  6. package/dist/{chunk-LRNIYQ6Y.js → chunk-33FQ6HNV.js} +1 -1
  7. package/dist/{chunk-JIPUBFAM.js → chunk-5KGM44TG.js} +2 -2
  8. package/dist/{chunk-23RWHHI5.js → chunk-5NU7NII2.js} +14 -2
  9. package/dist/{chunk-QJ2JOLFN.js → chunk-6I5UN4FD.js} +2 -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-JVRDKR5R.js → chunk-AQIBKTPG.js} +1 -1
  14. package/dist/{chunk-RYZNNXUV.js → chunk-AUS7V54P.js} +1 -1
  15. package/dist/{chunk-ITLPDLBH.js → chunk-B7CU2HW5.js} +3 -3
  16. package/dist/{chunk-X2VEJ5NT.js → chunk-BMUWF77V.js} +2 -2
  17. package/dist/{chunk-6HOVLE3H.js → chunk-BT2WH2XT.js} +1 -1
  18. package/dist/{chunk-3MXJMZAN.js → chunk-BV6PKJUS.js} +105 -28
  19. package/dist/{chunk-7256EOAE.js → chunk-CFBY77QJ.js} +129 -10
  20. package/dist/{chunk-BP4BT5TH.js → chunk-CLQIXD2C.js} +1 -1
  21. package/dist/{chunk-OZTDXMRQ.js → chunk-D4M25W6R.js} +1 -1
  22. package/dist/{chunk-A4PHPKNR.js → chunk-DAX42XVH.js} +1 -1
  23. package/dist/{chunk-C5FEPGSJ.js → chunk-DSG6GBUQ.js} +3 -3
  24. package/dist/{chunk-JLGN6S4B.js → chunk-EJS3K44P.js} +148 -80
  25. package/dist/{chunk-YWHGWLY6.js → chunk-FBKPSU3A.js} +5 -5
  26. package/dist/{chunk-5JO443MB.js → chunk-HAH5X345.js} +1 -1
  27. package/dist/{chunk-HBCAY3KR.js → chunk-HTNLLT34.js} +1 -1
  28. package/dist/{chunk-PEFPTQ3Z.js → chunk-HTPZDZKQ.js} +3 -3
  29. package/dist/{chunk-XXAZ5C4K.js → chunk-IJ27L3R4.js} +1 -1
  30. package/dist/{chunk-OGKP2XGJ.js → chunk-J7Q4VPBJ.js} +2 -2
  31. package/dist/{chunk-VDMG3MM4.js → chunk-JD4RHBNX.js} +1 -1
  32. package/dist/{chunk-HATTVAWX.js → chunk-LJFXC3IP.js} +1 -1
  33. package/dist/{chunk-REUEU5PU.js → chunk-LL6D3MES.js} +3 -3
  34. package/dist/{chunk-ULCB4BLF.js → chunk-LPXC4I4R.js} +19 -2
  35. package/dist/{chunk-BIQYWWJ2.js → chunk-LSQGJN5H.js} +2 -2
  36. package/dist/{chunk-T327J6CE.js → chunk-MSXRNVHB.js} +2 -2
  37. package/dist/{chunk-V3LJIPS4.js → chunk-N7XRBWXA.js} +3 -3
  38. package/dist/{chunk-UJRMARNX.js → chunk-NJIGYGZS.js} +19 -1
  39. package/dist/{chunk-WMIKC5XO.js → chunk-NPWVOFB3.js} +1 -1
  40. package/dist/{chunk-2QIGN7KL.js → chunk-O6MMQQLF.js} +9 -5
  41. package/dist/{chunk-MIZ46MOF.js → chunk-P5V63L35.js} +2 -2
  42. package/dist/{chunk-ADAGWVWJ.js → chunk-PJQZWJ5I.js} +70 -48
  43. package/dist/{chunk-RMAJIB6S.js → chunk-PUVTFUNH.js} +4 -4
  44. package/dist/{chunk-ETBXIKK6.js → chunk-Q2U5635V.js} +1 -1
  45. package/dist/chunk-QT3KDDXK.js +436 -0
  46. package/dist/{chunk-UNSN56OJ.js → chunk-R2K5L4UA.js} +1 -1
  47. package/dist/{chunk-SLMAAJPE.js → chunk-RGI64U3A.js} +1 -1
  48. package/dist/{chunk-ZGHV4QLK.js → chunk-RJNZHFNG.js} +1 -1
  49. package/dist/{chunk-FWNJDD4U.js → chunk-S7W75MIM.js} +3 -20
  50. package/dist/{chunk-ZUUNTOMG.js → chunk-UIUXIDBX.js} +1 -1
  51. package/dist/{chunk-XIYVGO24.js → chunk-UMRZPRAN.js} +3 -3
  52. package/dist/{chunk-67USWFFE.js → chunk-UY6TEJJH.js} +1 -1
  53. package/dist/{chunk-UGYZ5Q5Y.js → chunk-VJ2KROJ5.js} +1 -1
  54. package/dist/{chunk-PSH5DT26.js → chunk-WZ23JJ7U.js} +3 -3
  55. package/dist/{chunk-IIEI7VK5.js → chunk-XCKNFFKM.js} +2 -0
  56. package/dist/{chunk-Y7FTHOMD.js → chunk-XIFK423U.js} +129 -225
  57. package/dist/{chunk-LQSNWE3W.js → chunk-XUDGZJTJ.js} +3 -3
  58. package/dist/{chunk-D7D5YK4J.js → chunk-XVSJYAK7.js} +15 -3
  59. package/dist/{chunk-J2ICADUM.js → chunk-XWYR5T52.js} +3 -3
  60. package/dist/{chunk-QNKHJ5CK.js → chunk-YK4N6TBN.js} +4 -2
  61. package/dist/{chunk-NJS62BAG.js → chunk-YMG7JDEY.js} +17 -7
  62. package/dist/chunk-Z6DXWULM.js +23 -0
  63. package/dist/{chunk-PBEH52A2.js → chunk-ZNNVI5SR.js} +1 -1
  64. package/dist/cloud-reference.d.ts +11 -1
  65. package/dist/cloud-reference.js +1 -1
  66. package/dist/{dgmo-router-VILEOWQ2.js → dgmo-router-F2DSURTR.js} +4 -4
  67. package/dist/{dimensions-F3Y5T54V.js → dimensions-6QAWEGIR.js} +2 -2
  68. package/dist/{flowchart-renderer-TGQL4S4L.js → flowchart-renderer-THC6Y7EH.js} +8 -7
  69. package/dist/index.d.ts +68 -1
  70. package/dist/index.js +81 -13
  71. package/dist/{layout-WZCXK7DF.js → layout-5NPBHV5F.js} +2 -2
  72. package/dist/{layout-WXVGMSI3.js → layout-5VSMZPMG.js} +2 -2
  73. package/dist/{layout-CFTB7GKV.js → layout-BOVTLAOT.js} +7 -6
  74. package/dist/{layout-K6NI4VCS.js → layout-CUFA7XJD.js} +2 -2
  75. package/dist/{layout-6JARW64V.js → layout-EHTYSMV4.js} +6 -5
  76. package/dist/{layout-NB7TKAWN.js → layout-LUQKAGGT.js} +2 -2
  77. package/dist/{layout-YELNBVPC.js → layout-P6DTD4RT.js} +6 -5
  78. package/dist/{layout-PT7IKVCV.js → layout-QX5T6ZNE.js} +2 -2
  79. package/dist/layout-RANVNAKI.js +10 -0
  80. package/dist/{layout-FMKSENGL.js → layout-XUW444O5.js} +5 -4
  81. package/dist/{layout-search-GRJEBAUF.js → layout-search-VKSBUCDM.js} +67 -33
  82. package/dist/live-link-resolve.d.ts +21 -3
  83. package/dist/live-link-resolve.js +47 -17
  84. package/dist/{parser-6TXNMXNB.js → parser-XYY5NHP4.js} +2 -2
  85. package/dist/{renderer-YSH5EX54.js → renderer-222OTVQV.js} +3 -2
  86. package/dist/{renderer-DRLLZZ6P.js → renderer-2KVQGGTT.js} +5 -4
  87. package/dist/{renderer-E5EKGIX2.js → renderer-2OOPQ4CH.js} +4 -3
  88. package/dist/{renderer-OV3GUJRR.js → renderer-36JH4OMC.js} +4 -4
  89. package/dist/{renderer-G72GMBKA.js → renderer-3CTUWCO7.js} +7 -6
  90. package/dist/{renderer-XS42HEXW.js → renderer-3FF4QVGW.js} +4 -3
  91. package/dist/{renderer-R6VJDZFO.js → renderer-4BHOELCE.js} +4 -3
  92. package/dist/{renderer-EU27D4S6.js → renderer-4BIMRO4X.js} +5 -4
  93. package/dist/{renderer-HV6ZYJMC.js → renderer-4NZZ5J2F.js} +2 -2
  94. package/dist/{renderer-UGA5DGKR.js → renderer-A4LMOBZL.js} +9 -8
  95. package/dist/{renderer-3AOOLHJU.js → renderer-A6ACVK4X.js} +3 -2
  96. package/dist/{renderer-HWEGM72C.js → renderer-BICLPGAH.js} +2 -2
  97. package/dist/{renderer-ML2CLU25.js → renderer-DCFQDBGJ.js} +4 -3
  98. package/dist/{renderer-ADX4DWRJ.js → renderer-ELYPDPNF.js} +3 -2
  99. package/dist/{renderer-OXSLLQQC.js → renderer-KVAQE7PQ.js} +2 -2
  100. package/dist/{renderer-X4KFEKUK.js → renderer-LODEVN3V.js} +5 -4
  101. package/dist/{renderer-WUDVV363.js → renderer-NHPKNNBD.js} +6 -5
  102. package/dist/{renderer-TF3NTKP3.js → renderer-NX4YKWCJ.js} +2 -2
  103. package/dist/{renderer-P7LQBDU2.js → renderer-QM23SWAM.js} +2 -2
  104. package/dist/{renderer-5YOF2AHJ.js → renderer-R34GJL7U.js} +9 -8
  105. package/dist/{renderer-FBAFYSIQ.js → renderer-RAATRF6W.js} +3 -3
  106. package/dist/{renderer-FXX3XSNW.js → renderer-RENDISO5.js} +2 -2
  107. package/dist/{renderer-3F4K2X57.js → renderer-RMGN3Q7D.js} +2 -2
  108. package/dist/{renderer-FQAZ3KNU.js → renderer-SDUSBCJI.js} +4 -3
  109. package/dist/{renderer-OVDVFPAI.js → renderer-WH2HWE5Z.js} +5 -4
  110. package/dist/{renderer-J3O2KVTL.js → renderer-X5A5VIRD.js} +6 -5
  111. package/dist/{renderer-WRWVFEX7.js → renderer-XRALFCIN.js} +6 -4
  112. package/dist/{renderer-3XRDFNYF.js → renderer-YDAVCRTP.js} +5 -4
  113. package/dist/{renderer-5A6VWIVX.js → renderer-YIZ7G4HU.js} +5 -5
  114. package/dist/{state-renderer-B4ZF6ESS.js → state-renderer-5IQ4OJUI.js} +8 -7
  115. package/docs/language-reference.md +12 -12
  116. package/gallery/fixtures/journey-map.dgmo +28 -0
  117. package/gallery/fixtures/mindmap.dgmo +31 -0
  118. package/gallery/fixtures/pert.dgmo +27 -0
  119. package/gallery/fixtures/wireframe.dgmo +30 -0
  120. package/package.json +3 -3
  121. package/dist/chunk-WTTIODDV.js +0 -9
  122. package/dist/layout-JQ3IPJYR.js +0 -9
@@ -2101,6 +2101,10 @@ interface BLLayoutEdge {
2101
2101
  readonly labelWidth?: number;
2102
2102
  readonly labelHeight?: number;
2103
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;
2104
2108
  readonly yOffset: number;
2105
2109
  readonly parallelCount: number;
2106
2110
  readonly metadata: Readonly<Record<string, string>>;
@@ -6037,6 +6041,26 @@ interface MapLayoutCityDot {
6037
6041
  readonly r: number;
6038
6042
  }
6039
6043
 
6044
+ /** The d3-geo projection factories a map layout can use. */
6045
+ type MapProjectionKind = 'conic-equal-area' | 'mercator' | 'equal-earth' | 'equirectangular' | 'natural-earth';
6046
+ /** How a projection was constructed, before it is fitted to a canvas. */
6047
+ interface MapProjectionSpec {
6048
+ readonly kind: MapProjectionKind;
6049
+ readonly parallels?: readonly [number, number];
6050
+ readonly center?: readonly [number, number];
6051
+ readonly rotate?: readonly [number, number];
6052
+ }
6053
+ /** A fitted projection as structured-cloneable data: its spec plus the
6054
+ * canvas-dependent fit. `rebuildMapProjection` turns it back into a live
6055
+ * projection that projects identically. */
6056
+ interface MapProjectionParams extends MapProjectionSpec {
6057
+ readonly scale: number;
6058
+ readonly translate: readonly [number, number];
6059
+ readonly clipExtent: readonly [readonly [number, number], readonly [number, number]] | null;
6060
+ }
6061
+ /** Rebuild the live projection a layout was fitted with. */
6062
+ declare function rebuildMapProjection(params: MapProjectionParams): GeoProjection;
6063
+
6040
6064
  interface MapLayoutRegion {
6041
6065
  readonly id: string;
6042
6066
  readonly d: string;
@@ -6087,10 +6111,10 @@ interface MapLayoutInset {
6087
6111
  readonly h: number;
6088
6112
  readonly points: ReadonlyArray<readonly [number, number]>;
6089
6113
  /** The FITTED inset projection (fit to this frame's screen box inside
6090
- * `placeInset`). Load-bearing for pixel↔lonLat over the AK/HI insets: the
6091
- * un-fitted `alaskaProjection()`/`hawaiiProjection()` factories would invert
6092
- * to garbage, so the geo-query inverts against THIS instance. */
6093
- readonly projection: GeoProjection;
6114
+ * `placeInset`), as cloneable parameters. Load-bearing for pixel↔lonLat over
6115
+ * the AK/HI insets: the un-fitted Alaska/Hawaii specs would invert to garbage,
6116
+ * so the geo-query rebuilds THIS fit (`rebuildMapProjection`). */
6117
+ readonly projectionParams: MapProjectionParams;
6094
6118
  /** Neighbour land (e.g. Canada beside Alaska) projected with this inset's
6095
6119
  * fitted projection and clipped to the box — drawn BEHIND the state so a land
6096
6120
  * border reads as land, not coast. Without it the state's outer ring buffers
@@ -6335,10 +6359,11 @@ interface MapLayout {
6335
6359
  /** AK/HI region paths drawn inside the inset boxes (foreground, over an
6336
6360
  * opaque ocean fill). Paired positionally with `insets`. */
6337
6361
  readonly insetRegions: readonly MapLayoutRegion[];
6338
- /** The fitted MAIN projection (the conus conic for albers-usa). Exposed for
6339
- * the geo-query's pixel↔lonLat inversion — the app NEVER reconstructs it from
6340
- * metadata; it binds to this exact instance. */
6341
- readonly projection: GeoProjection;
6362
+ /** The fitted MAIN projection (the conus conic for albers-usa), as cloneable
6363
+ * parameters rather than the live d3-geo function, so a layout can cross
6364
+ * `postMessage` (#645). The geo-query's pixel↔lonLat inversion rebuilds it
6365
+ * with `rebuildMapProjection`, which projects bit-identically. */
6366
+ readonly projectionParams: MapProjectionParams;
6342
6367
  /** Non-uniform stretch applied for GLOBAL fits (null for regional fits). */
6343
6368
  readonly stretch: MapLayoutStretch | null;
6344
6369
  /** Generic layout-time diagnostics channel — currently has no producers, so it
@@ -6424,6 +6449,12 @@ declare function layoutMap(resolvedIn: ResolvedMap, data: MapData, size: Size, o
6424
6449
  declare function renderMap(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void, exportDims?: D3ExportDimensions,
6425
6450
  /** Live override of the active colouring group (interactive legend flip). */
6426
6451
  activeGroupOverride?: string | null): void;
6452
+ /** Draw a map layout the caller already computed — typically off the main thread
6453
+ * (the app lays maps out in a worker, #645) — into `container`, exactly as
6454
+ * `renderMap` would draw it. PREVIEW only: an export goes through `renderMap`
6455
+ * with its export dimensions. `layout` must come from `layoutMap` over this same
6456
+ * `resolved` with the preview legend mode; it may have crossed `postMessage`. */
6457
+ declare function renderMapLayout(container: HTMLDivElement, layout: MapLayout, resolved: ResolvedMap, palette: PaletteColors, isDark: boolean, onClickItem?: (lineNumber: number) => void): void;
6427
6458
  /** Export wrapper (no click handler) — matches the structured-renderer contract. */
6428
6459
  declare function renderMapForExport(container: HTMLDivElement, resolved: ResolvedMap, data: MapData, palette: PaletteColors, isDark: boolean, exportDims?: D3ExportDimensions): void;
6429
6460
 
@@ -6556,6 +6587,11 @@ interface CreateMapGeoQueryOptions {
6556
6587
  * geo-query is ever pointed at an export canvas, thread `preferContain` through
6557
6588
  * `CreateMapGeoQueryOptions` to keep the projection in sync. */
6558
6589
  declare function createMapGeoQuery(opts: CreateMapGeoQueryOptions): MapGeoQuery;
6590
+ /** Construct a geo-query handle bound to a layout the caller already has — the
6591
+ * one it just drew — instead of laying the map out again. A layout that crossed
6592
+ * `postMessage` works: the projection is rebuilt from its parameters. `data` is
6593
+ * the same injected `MapData` the layout was computed from. */
6594
+ declare function createMapGeoQueryForLayout(layout: MapLayout, data: MapData): MapGeoQuery;
6559
6595
 
6560
6596
  /** Drag-source identity passed to `onMarkerDragStart`. */
6561
6597
  type RaciDragSource = {
@@ -7200,4 +7236,4 @@ declare function uncoveredCharacters(text: string, coverage: FontCoverage): read
7200
7236
  */
7201
7237
  declare function fontPortabilityWarning(runs: readonly UncoveredRun[]): string | undefined;
7202
7238
 
7203
- 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 };
7239
+ 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
@@ -2,11 +2,11 @@ import {
2
2
  layoutBracket,
3
3
  renderBracket,
4
4
  renderBracketForExport
5
- } from "./chunk-ETBXIKK6.js";
5
+ } from "./chunk-Q2U5635V.js";
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,11 +16,11 @@ import {
16
16
  computeActivations,
17
17
  groupMessagesBySection,
18
18
  renderSequenceDiagram
19
- } from "./chunk-NJS62BAG.js";
19
+ } from "./chunk-YMG7JDEY.js";
20
20
  import {
21
21
  renderRing,
22
22
  renderRingForExport
23
- } from "./chunk-QJ2JOLFN.js";
23
+ } from "./chunk-6I5UN4FD.js";
24
24
  import {
25
25
  layoutTreemapRadial,
26
26
  renderTreemapRadial,
@@ -39,16 +39,16 @@ 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-XVSJYAK7.js";
47
47
  import "./chunk-LNO3ASX5.js";
48
48
  import {
49
49
  renderCountdown,
50
50
  renderCountdownForExport
51
- } from "./chunk-JIPUBFAM.js";
51
+ } from "./chunk-5KGM44TG.js";
52
52
  import {
53
53
  renderClock,
54
54
  renderClockForExport
@@ -60,11 +60,11 @@ import {
60
60
  renderQuadrantFocusForExport,
61
61
  renderTechRadar,
62
62
  renderTechRadarForExport
63
- } from "./chunk-QNKHJ5CK.js";
63
+ } from "./chunk-YK4N6TBN.js";
64
64
  import {
65
65
  renderJourneyMap,
66
66
  renderJourneyMapForExport
67
- } from "./chunk-V3LJIPS4.js";
67
+ } from "./chunk-N7XRBWXA.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-DSG6GBUQ.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
@@ -98,20 +100,20 @@ import {
98
100
  import {
99
101
  renderPyramid,
100
102
  renderPyramidForExport
101
- } from "./chunk-X2VEJ5NT.js";
103
+ } from "./chunk-BMUWF77V.js";
102
104
  import {
103
105
  collectDiagramRoles,
104
106
  computeInfraLegendGroups,
105
107
  inferRoles,
106
108
  parseAndLayoutInfra,
107
109
  renderInfra
108
- } from "./chunk-BIQYWWJ2.js";
110
+ } from "./chunk-LSQGJN5H.js";
109
111
  import {
110
112
  measurePertAnalysisBlock,
111
113
  renderPert,
112
114
  renderPertAnalysisBlock,
113
115
  renderPertForExport
114
- } from "./chunk-MIZ46MOF.js";
116
+ } from "./chunk-P5V63L35.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-B7CU2HW5.js";
140
142
  import {
141
143
  collapseStateGroups
142
144
  } from "./chunk-SQ7IY53Q.js";
@@ -154,22 +156,22 @@ import {
154
156
  renderC4ContextForExport,
155
157
  renderC4Deployment,
156
158
  renderC4DeploymentForExport
157
- } from "./chunk-PSH5DT26.js";
159
+ } from "./chunk-WZ23JJ7U.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-XUDGZJTJ.js";
169
171
  import "./chunk-26EVL454.js";
170
172
  import {
171
173
  layoutGraph
172
- } from "./chunk-PBEH52A2.js";
174
+ } from "./chunk-ZNNVI5SR.js";
173
175
  import {
174
176
  computeInfra
175
177
  } from "./chunk-ICZ7M6IZ.js";
@@ -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-AUS7V54P.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,24 +198,24 @@ import {
196
198
  import {
197
199
  renderMindmap,
198
200
  renderMindmapForExport
199
- } from "./chunk-REUEU5PU.js";
201
+ } from "./chunk-LL6D3MES.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-XWYR5T52.js";
207
209
  import {
208
210
  layoutClassDiagram
209
- } from "./chunk-BP4BT5TH.js";
211
+ } from "./chunk-CLQIXD2C.js";
210
212
  import {
211
213
  renderERDiagram,
212
214
  renderERDiagramForExport
213
- } from "./chunk-PEFPTQ3Z.js";
215
+ } from "./chunk-HTPZDZKQ.js";
214
216
  import {
215
217
  layoutERDiagram
216
- } from "./chunk-FAV4RDVT.js";
218
+ } from "./chunk-2A4DQAXG.js";
217
219
  import {
218
220
  SKETCH_AUTO_LAYOUT_DEFAULTS,
219
221
  SKETCH_FOOT_H,
@@ -239,26 +241,26 @@ 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";
247
- import "./chunk-5JO443MB.js";
248
+ } from "./chunk-O6MMQQLF.js";
249
+ import "./chunk-HAH5X345.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";
254
- import "./chunk-HBCAY3KR.js";
253
+ } from "./chunk-XIFK423U.js";
254
+ import "./chunk-EJS3K44P.js";
255
+ import "./chunk-QT3KDDXK.js";
256
+ import "./chunk-HTNLLT34.js";
255
257
  import "./chunk-6EK55ART.js";
256
- import "./chunk-ZGHV4QLK.js";
258
+ import "./chunk-RJNZHFNG.js";
257
259
  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,26 +282,26 @@ import "./chunk-BS7SV7C3.js";
280
282
  import {
281
283
  renderSitemap,
282
284
  renderSitemapForExport
283
- } from "./chunk-RMAJIB6S.js";
285
+ } from "./chunk-PUVTFUNH.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-J7Q4VPBJ.js";
291
293
  import {
292
294
  clearEventLineMuted,
293
295
  focusEventLine,
294
296
  renderEventLine,
295
297
  renderEventLineForExport
296
- } from "./chunk-YWHGWLY6.js";
297
- import "./chunk-WMIKC5XO.js";
298
- import "./chunk-UNSN56OJ.js";
298
+ } from "./chunk-FBKPSU3A.js";
299
+ import "./chunk-NPWVOFB3.js";
300
+ import "./chunk-R2K5L4UA.js";
299
301
  import {
300
302
  parseInlineMarkdown,
301
303
  truncateBareUrl
302
- } from "./chunk-FWNJDD4U.js";
304
+ } from "./chunk-S7W75MIM.js";
303
305
  import {
304
306
  renderBody,
305
307
  renderBodyForExport
@@ -310,6 +312,7 @@ import {
310
312
  searchMapLocations,
311
313
  themes
312
314
  } from "./chunk-SQAG3UXH.js";
315
+ import "./chunk-Z6DXWULM.js";
313
316
  import {
314
317
  DEFAULT_DIM_OPACITY,
315
318
  orderArcNodes,
@@ -320,8 +323,8 @@ import {
320
323
  renderSlopeChart,
321
324
  renderVenn,
322
325
  renderWordCloud
323
- } from "./chunk-ADAGWVWJ.js";
324
- import "./chunk-OZTDXMRQ.js";
326
+ } from "./chunk-PJQZWJ5I.js";
327
+ import "./chunk-D4M25W6R.js";
325
328
  import {
326
329
  CHART_TYPE_DESCRIPTIONS,
327
330
  chartTypeParsers,
@@ -331,7 +334,7 @@ import {
331
334
  knownChartTypeIds,
332
335
  parseDgmo,
333
336
  parseVisualization
334
- } from "./chunk-T327J6CE.js";
337
+ } from "./chunk-MSXRNVHB.js";
335
338
  import "./chunk-EOYPX6SF.js";
336
339
  import {
337
340
  normalizePlace,
@@ -374,14 +377,14 @@ import "./chunk-2CW5ZTNH.js";
374
377
  import {
375
378
  formatDateLabel,
376
379
  renderTimeline
377
- } from "./chunk-ULCB4BLF.js";
380
+ } from "./chunk-LPXC4I4R.js";
378
381
  import {
379
382
  computeTimeTicks
380
383
  } from "./chunk-YRYKTYMQ.js";
381
384
  import {
382
385
  ScaleContext
383
386
  } from "./chunk-24YPR5EH.js";
384
- import "./chunk-IIEI7VK5.js";
387
+ import "./chunk-XCKNFFKM.js";
385
388
  import "./chunk-RE6TVIAV.js";
386
389
  import "./chunk-QFIXL3OK.js";
387
390
  import "./chunk-3DOQOXXI.js";
@@ -527,7 +530,7 @@ import {
527
530
  } from "./chunk-RE27AX7O.js";
528
531
  import {
529
532
  parseDgmoChartType
530
- } from "./chunk-JVRDKR5R.js";
533
+ } from "./chunk-AQIBKTPG.js";
531
534
  import {
532
535
  allTasks,
533
536
  parseRaci
@@ -540,7 +543,7 @@ import {
540
543
  import "./chunk-3TYUXC7D.js";
541
544
  import {
542
545
  parseLiveLink
543
- } from "./chunk-HMWZQ53A.js";
546
+ } from "./chunk-7WGCQE2E.js";
544
547
  import "./chunk-EQW6HOP4.js";
545
548
  import "./chunk-DAOFNU6J.js";
546
549
  import {
@@ -616,7 +619,7 @@ import {
616
619
  measureIndent,
617
620
  parseFirstLine
618
621
  } from "./chunk-44GP7PD5.js";
619
- import "./chunk-23RWHHI5.js";
622
+ import "./chunk-5NU7NII2.js";
620
623
  import {
621
624
  atlasPalette,
622
625
  blueprintPalette,
@@ -1622,6 +1625,15 @@ function loadMapData() {
1622
1625
  }
1623
1626
 
1624
1627
  // src/map/invert.ts
1628
+ var rebuilt = /* @__PURE__ */ new WeakMap();
1629
+ function projectionOf(params) {
1630
+ let p = rebuilt.get(params);
1631
+ if (!p) {
1632
+ p = rebuildMapProjection(params);
1633
+ rebuilt.set(params, p);
1634
+ }
1635
+ return p;
1636
+ }
1625
1637
  function inInsetFrame(inset, px, py) {
1626
1638
  return px >= inset.x && px <= inset.x + inset.w && py >= inset.y && py <= inset.y + inset.h;
1627
1639
  }
@@ -1639,22 +1651,22 @@ function applyStretch(layout, x, y) {
1639
1651
  function pixelToLonLat(layout, px, py) {
1640
1652
  for (const inset of layout.insets) {
1641
1653
  if (inInsetFrame(inset, px, py)) {
1642
- const ll2 = inset.projection.invert?.([px, py]);
1654
+ const ll2 = projectionOf(inset.projectionParams).invert?.([px, py]);
1643
1655
  return ll2 && Number.isFinite(ll2[0]) && Number.isFinite(ll2[1]) ? [ll2[0], ll2[1]] : null;
1644
1656
  }
1645
1657
  }
1646
1658
  const [x, y] = layout.stretch ? unstretch(layout, px, py) : [px, py];
1647
- const ll = layout.projection.invert?.([x, y]);
1659
+ const ll = projectionOf(layout.projectionParams).invert?.([x, y]);
1648
1660
  return ll && Number.isFinite(ll[0]) && Number.isFinite(ll[1]) ? [ll[0], ll[1]] : null;
1649
1661
  }
1650
1662
  function lonLatToPixel(layout, lonLat) {
1651
1663
  const pt = [lonLat[0], lonLat[1]];
1652
- const main = layout.projection(pt);
1664
+ const main = projectionOf(layout.projectionParams)(pt);
1653
1665
  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
1666
  const onCanvas = !!mainPx && mainPx[0] >= 0 && mainPx[0] <= layout.width && mainPx[1] >= 0 && mainPx[1] <= layout.height;
1655
1667
  if (onCanvas) return mainPx;
1656
1668
  for (const inset of layout.insets) {
1657
- const p = inset.projection(pt);
1669
+ const p = projectionOf(inset.projectionParams)(pt);
1658
1670
  if (p && Number.isFinite(p[0]) && Number.isFinite(p[1]) && inInsetFrame(inset, p[0], p[1]))
1659
1671
  return [p[0], p[1]];
1660
1672
  }
@@ -1775,6 +1787,10 @@ function createMapGeoQuery(opts) {
1775
1787
  { width, height },
1776
1788
  { palette, isDark }
1777
1789
  );
1790
+ return createMapGeoQueryForLayout(layout, data);
1791
+ }
1792
+ function createMapGeoQueryForLayout(layout, data) {
1793
+ const { width, height } = layout;
1778
1794
  const countries = decodeFeatures(data.worldDetail);
1779
1795
  const states = decodeFeatures(data.usStates);
1780
1796
  const gazetteer = data.gazetteer;
@@ -2120,6 +2136,7 @@ export {
2120
2136
  contrastText,
2121
2137
  controlsGroupCapsuleWidth,
2122
2138
  createMapGeoQuery,
2139
+ createMapGeoQueryForLayout,
2123
2140
  decodeDiagramUrl,
2124
2141
  decodeViewState,
2125
2142
  displayName,
@@ -2268,6 +2285,7 @@ export {
2268
2285
  cellCycle as raciCellCycle,
2269
2286
  cellRemove as raciCellRemove,
2270
2287
  cellReplace as raciCellReplace,
2288
+ rebuildMapProjection,
2271
2289
  registerPalette,
2272
2290
  relayoutPert,
2273
2291
  render,
@@ -2318,6 +2336,7 @@ export {
2318
2336
  renderLiveLinkCard,
2319
2337
  renderMap,
2320
2338
  renderMapForExport,
2339
+ renderMapLayout,
2321
2340
  renderMindmap,
2322
2341
  renderMindmapForExport,
2323
2342
  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-ADAGWVWJ.js";
7
+ } from "./chunk-PJQZWJ5I.js";
8
8
  import {
9
9
  docsLink,
10
10
  renderErrorCard
11
- } from "./chunk-OZTDXMRQ.js";
12
- import "./chunk-T327J6CE.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,13 @@ 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 {
24
+ escapeAttr,
25
+ escapeHtml
26
+ } from "./chunk-LPXC4I4R.js";
24
27
  import "./chunk-YRYKTYMQ.js";
25
28
  import "./chunk-24YPR5EH.js";
26
- import "./chunk-IIEI7VK5.js";
29
+ import "./chunk-XCKNFFKM.js";
27
30
  import "./chunk-RE6TVIAV.js";
28
31
  import "./chunk-QFIXL3OK.js";
29
32
  import "./chunk-3DOQOXXI.js";
@@ -68,11 +71,11 @@ import "./chunk-KAO7JL4I.js";
68
71
  import {
69
72
  encodeDiagramUrl
70
73
  } from "./chunk-RE27AX7O.js";
71
- import "./chunk-JVRDKR5R.js";
74
+ import "./chunk-AQIBKTPG.js";
72
75
  import "./chunk-3RYBTEF5.js";
73
76
  import "./chunk-UNNJCSSQ.js";
74
77
  import "./chunk-3TYUXC7D.js";
75
- import "./chunk-HMWZQ53A.js";
78
+ import "./chunk-7WGCQE2E.js";
76
79
  import "./chunk-EQW6HOP4.js";
77
80
  import {
78
81
  scanMonthNameDates
@@ -103,7 +106,7 @@ import {
103
106
  REGISTRY_MODIFIER_TOKENS,
104
107
  REGISTRY_STATUS_TOKENS
105
108
  } from "./chunk-44GP7PD5.js";
106
- import "./chunk-23RWHHI5.js";
109
+ import "./chunk-5NU7NII2.js";
107
110
  import {
108
111
  resolvePaletteOrFallback
109
112
  } from "./chunk-IDJGV6VM.js";
@@ -559,21 +562,6 @@ function markTokensInRange(tokens, from, to, role) {
559
562
  }
560
563
  }
561
564
 
562
- // src/embed/escape.ts
563
- var HTML_ENTITIES = {
564
- "&": "&amp;",
565
- "<": "&lt;",
566
- ">": "&gt;",
567
- '"': "&quot;",
568
- "'": "&#39;"
569
- };
570
- function escapeHtml(s) {
571
- return s.replace(/[&<>"']/g, (ch) => HTML_ENTITIES[ch] ?? ch);
572
- }
573
- function escapeAttr(s) {
574
- return s.replace(/[&<>"']/g, (ch) => HTML_ENTITIES[ch] ?? ch);
575
- }
576
-
577
565
  // src/embed/css.ts
578
566
  var BLOCK_CSS = `
579
567
  /* @diagrammo/dgmo block \u2014 standard embed chrome.