@diagrammo/dgmo 0.94.0 → 0.95.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 (67) hide show
  1. package/dist/advanced.d.ts +72 -3
  2. package/dist/advanced.js +49 -32
  3. package/dist/block.d.ts +6 -0
  4. package/dist/block.js +17 -14
  5. package/dist/chart-meta.js +7 -7
  6. package/dist/{chunk-TDAGJJPZ.js → chunk-2J2CWWWK.js} +1 -1
  7. package/dist/{chunk-2XMTZ5JR.js → chunk-4UVCTLRH.js} +1 -1
  8. package/dist/{chunk-DLJJOCIT.js → chunk-5XBYLYYI.js} +1 -1
  9. package/dist/{chunk-XKCRKD2B.js → chunk-62GLKE6Q.js} +3 -3
  10. package/dist/{chunk-VDY2GR6U.js → chunk-67N26CER.js} +2 -2
  11. package/dist/{chunk-I37S3EZE.js → chunk-6EFCOES2.js} +366 -281
  12. package/dist/{chunk-HI6R27YA.js → chunk-7IALGIOI.js} +2 -2
  13. package/dist/{chunk-RESEJSCV.js → chunk-BCV2VJTM.js} +2 -2
  14. package/dist/{chunk-2HSHWPTO.js → chunk-BTP2BMWN.js} +4 -4
  15. package/dist/{chunk-KBHT5XEY.js → chunk-E7F76M3U.js} +138 -31
  16. package/dist/{chunk-JT2BG7LM.js → chunk-EXHXTMVR.js} +3 -3
  17. package/dist/{chunk-7IOZ6JE4.js → chunk-IQN2NGEU.js} +3 -3
  18. package/dist/{chunk-DNM3XZCK.js → chunk-IY62DXT2.js} +1 -1
  19. package/dist/{chunk-B25IWGDH.js → chunk-JJ7RGTAU.js} +2 -2
  20. package/dist/{chunk-7SXV7NUS.js → chunk-KLBTJEIK.js} +1 -1
  21. package/dist/{chunk-DDIOWNHS.js → chunk-L5S32VZJ.js} +3 -3
  22. package/dist/{chunk-AYUSD4Z6.js → chunk-LAXMUSGW.js} +3 -3
  23. package/dist/{chunk-2MS623GW.js → chunk-LJGE43SG.js} +1 -1
  24. package/dist/{chunk-5ZUZZDW5.js → chunk-P5XA627W.js} +7 -7
  25. package/dist/{chunk-DRQSB72S.js → chunk-PGBTUGDB.js} +2 -2
  26. package/dist/{chunk-P7TRFL4P.js → chunk-R46N5KR4.js} +2 -0
  27. package/dist/{chunk-4TEPDQHJ.js → chunk-RQTDUZUH.js} +1 -1
  28. package/dist/{chunk-CIHHTS5B.js → chunk-S4SJ4LLY.js} +1 -1
  29. package/dist/{chunk-5HAYT43L.js → chunk-U6VS3T2M.js} +19 -3
  30. package/dist/{chunk-4SP6OUO7.js → chunk-USE6HIOZ.js} +32 -32
  31. package/dist/{chunk-2FDQEQID.js → chunk-USZLHYEQ.js} +1 -1
  32. package/dist/{chunk-NOQB4KMV.js → chunk-V5D6GDNK.js} +1 -1
  33. package/dist/{chunk-6JCTW74W.js → chunk-VB4VMB2I.js} +1 -1
  34. package/dist/{chunk-G3HZ4PGE.js → chunk-VF7IKIRS.js} +1 -1
  35. package/dist/{chunk-3ZP3QC47.js → chunk-VTESGA5F.js} +2 -2
  36. package/dist/{chunk-3TWBMU7K.js → chunk-XOMIYMQ3.js} +5 -5
  37. package/dist/completion-registry.js +3 -0
  38. package/dist/copy-image.d.ts +34 -0
  39. package/dist/copy-image.js +96 -0
  40. package/dist/{dgmo-router-E5O7RJSW.js → dgmo-router-6YLKM6WU.js} +11 -11
  41. package/dist/{flowchart-parser-NZXASOZG.js → flowchart-parser-J3VWIFWB.js} +3 -3
  42. package/dist/{flowchart-renderer-PTCRIANF.js → flowchart-renderer-FECH5KK5.js} +8 -8
  43. package/dist/index.js +13 -13
  44. package/dist/{layout-IT4ZTV6C.js → layout-5SZ5A64I.js} +6 -6
  45. package/dist/{layout-VC3MXRB4.js → layout-EWXHEXNS.js} +6 -6
  46. package/dist/{layout-U3AH6M7J.js → layout-TIBRMWHL.js} +3 -3
  47. package/dist/{layout-ISSBWBH7.js → layout-YBMT74MG.js} +6 -6
  48. package/dist/{layout-search-BBX2BMEF.js → layout-search-AWPJWBKT.js} +4 -4
  49. package/dist/{parser-R3LPEQIT.js → parser-AR2GON37.js} +2 -2
  50. package/dist/{parser-4RFY7D52.js → parser-BTSTKY5G.js} +3 -3
  51. package/dist/{parser-TAYRTCPR.js → parser-MA7L3XND.js} +3 -3
  52. package/dist/{parser-7QKQ4P4P.js → parser-ZRIZFDZY.js} +3 -3
  53. package/dist/{renderer-LNP23NSM.js → renderer-2QPHDBZY.js} +2 -2
  54. package/dist/{renderer-J3GPDK73.js → renderer-4VGO27EE.js} +8 -8
  55. package/dist/{renderer-JJ4QW3SK.js → renderer-6BDK47V6.js} +1 -1
  56. package/dist/{renderer-FMTLSOCX.js → renderer-ACQQ2JXA.js} +1 -1
  57. package/dist/{renderer-M5DUMITP.js → renderer-IGSHD3OT.js} +2 -2
  58. package/dist/{renderer-53B523PM.js → renderer-IVHD7ENY.js} +2 -2
  59. package/dist/{renderer-OUDHH5MV.js → renderer-P3WR7TKD.js} +8 -8
  60. package/dist/{renderer-XOWDERU2.js → renderer-UGW4N2W5.js} +1 -1
  61. package/dist/{renderer-PHLCYVSN.js → renderer-XDX6S7OV.js} +1 -1
  62. package/dist/{renderer-J7ZSTJUE.js → renderer-Y47EM337.js} +1 -1
  63. package/dist/{renderer-4SE7R22T.js → renderer-ZV6KCLCL.js} +12 -12
  64. package/dist/{state-parser-KPVW5CRI.js → state-parser-PMNHLHLE.js} +3 -3
  65. package/dist/{state-renderer-ZVEI265C.js → state-renderer-JQ5DS66J.js} +8 -8
  66. package/docs/language-reference.md +2 -2
  67. package/package.json +5 -1
@@ -2696,6 +2696,14 @@ type WhiteboardStrokeStyle = (typeof WHITEBOARD_STROKE_STYLES)[number];
2696
2696
  */
2697
2697
  declare const WHITEBOARD_FILLS: readonly ["tint", "solid", "outline"];
2698
2698
  type WhiteboardFill = (typeof WHITEBOARD_FILLS)[number];
2699
+ /**
2700
+ * Where a shape's label sits, top centre or middle centre. Left off, it is
2701
+ * automatic: a rectangle enclosing another shape, note or image draws its
2702
+ * label at the top, everything else in the middle (#1601). `label:` is
2703
+ * written only when it differs from the automatic answer.
2704
+ */
2705
+ declare const WHITEBOARD_LABEL_POSITIONS: readonly ["top", "middle"];
2706
+ type WhiteboardLabelPosition = (typeof WHITEBOARD_LABEL_POSITIONS)[number];
2699
2707
  /**
2700
2708
  * Which ends of an arrow carry a head. `end` (at `to:`) is the default and
2701
2709
  * never written; `both` is written `heads: both`. A head at `from:` alone is
@@ -2716,6 +2724,8 @@ interface WhiteboardShape {
2716
2724
  readonly color: WhiteboardColor;
2717
2725
  /** How the inside is filled; `tint` unless `fill:` says otherwise. */
2718
2726
  readonly fill: WhiteboardFill;
2727
+ /** `label:` as written; absent means automatic (`whiteboardLabelPosition`). */
2728
+ readonly labelPosition?: WhiteboardLabelPosition;
2719
2729
  readonly lineNumber: number;
2720
2730
  }
2721
2731
  /** A sticky note's size when `size:` is left off, px. */
@@ -2884,6 +2894,14 @@ interface WhiteboardConnectorAttachments {
2884
2894
  }
2885
2895
  /** Whether `point` lies inside (or on) the shape's or note's drawn outline. */
2886
2896
  declare function whiteboardShapeContains(shape: WhiteboardAttachable, point: WhiteboardPoint): boolean;
2897
+ /**
2898
+ * Where a shape's label sits: as written, else automatic — top when the
2899
+ * shape is a rectangle enclosing another shape, sticky note or image (every
2900
+ * edge on or inside it, and not the same box), middle otherwise (#1601).
2901
+ * Read off the geometry every time, like attachment, so dragging a child out
2902
+ * of a container brings its label back to the middle.
2903
+ */
2904
+ declare function whiteboardLabelPosition(shape: WhiteboardShape, elements: readonly WhiteboardElement[]): WhiteboardLabelPosition;
2887
2905
  /**
2888
2906
  * Index in `elements` of the topmost shape or sticky note containing `point`
2889
2907
  * — the one latest in the file — or -1 when the point is on none.
@@ -2920,6 +2938,15 @@ declare function whiteboardBendFor(connector: WhiteboardArrow | WhiteboardLine,
2920
2938
  * the segment's midpoint, or the curve's point at t = ½.
2921
2939
  */
2922
2940
  declare function whiteboardSegmentMidpoint(s: WhiteboardSegment): WhiteboardPoint;
2941
+ /** The band `el` paints in; a band always paints above the one before it. */
2942
+ declare function whiteboardDrawBand(el: WhiteboardElement): number;
2943
+ /**
2944
+ * The element indices in paint order, bottom first (spec §39.2): by band,
2945
+ * file order inside a band — except that an arrow or line always paints
2946
+ * just above the latest shape or note it is attached to, so a box never
2947
+ * hides its own connector's head. The renderer and the app canvas share it.
2948
+ */
2949
+ declare function whiteboardDrawOrder(elements: readonly WhiteboardElement[]): number[];
2923
2950
 
2924
2951
  interface WhiteboardRenderOptions {
2925
2952
  /**
@@ -2988,6 +3015,10 @@ declare function whiteboardConnectorPaint(s: WhiteboardSegment, heads: {
2988
3015
  declare function inkOutlinePath(points: readonly InkPoint[], width: number): string;
2989
3016
  declare function renderWhiteboard(container: HTMLDivElement, parsed: ParsedWhiteboard, palette: PaletteColors, isDark: boolean, options?: WhiteboardRenderOptions): void;
2990
3017
 
3018
+ /** A top (container) label's font size, px, drawn semibold (#1605). */
3019
+ declare const WHITEBOARD_CONTAINER_FONT = 16;
3020
+ /** A top label's weight: semibold, measured with the bold widths. */
3021
+ declare const WHITEBOARD_CONTAINER_WEIGHT = 600;
2991
3022
  /** Sticky note text font size, px — smaller than a shape label. */
2992
3023
  declare const WHITEBOARD_NOTE_FONT = 12;
2993
3024
  /** Smallest font a label shrinks to before it is cut, px. */
@@ -3032,11 +3063,49 @@ declare function wrapWhiteboardLabel(label: string, box: WhiteboardLabelBox): st
3032
3063
  * shows as much text as the card can hold. `top` is how far below the note's
3033
3064
  * top edge its text block starts; a shape centres its block and ignores it.
3034
3065
  */
3035
- declare function fitWhiteboardLabel(label: string, box: WhiteboardFitBox): {
3066
+ declare function fitWhiteboardLabel(label: string, box: WhiteboardFitBox, opts?: {
3067
+ /** The size to start from, instead of the kind's own. */
3068
+ readonly font?: number;
3069
+ /** Measured, and so wrapped, at the bold widths. */
3070
+ readonly bold?: boolean;
3071
+ /** The height to fit, instead of the inner box's. */
3072
+ readonly height?: number;
3073
+ }): {
3036
3074
  lines: string[];
3037
3075
  font: number;
3038
3076
  top: number;
3039
3077
  };
3078
+ /**
3079
+ * The vertical centre of a shape label's drawn block, `blockHeight` tall.
3080
+ * `middle` centres it in the shape; `top` sets it against the top of the
3081
+ * inner box, the same padding the wrap leaves (#1601).
3082
+ */
3083
+ declare function whiteboardLabelCentreY(box: WhiteboardFitBox & {
3084
+ readonly y: number;
3085
+ }, position: WhiteboardLabelPosition, blockHeight: number): number;
3086
+ /** A shape label as drawn: its lines, font, weight and vertical centre. */
3087
+ interface WhiteboardShapeLabel {
3088
+ readonly lines: string[];
3089
+ readonly font: number;
3090
+ readonly bold: boolean;
3091
+ /** Vertical centre of the drawn block, canvas px. */
3092
+ readonly cy: number;
3093
+ /** Set into the top border: no room inside, so it halos in the ground. */
3094
+ readonly onEdge: boolean;
3095
+ }
3096
+ /**
3097
+ * How shape `el`'s label is drawn on `elements`, with `text` in place of
3098
+ * its label (the app's text field passes its draft). No label runs into
3099
+ * another shape (#1605): a shape, note or image overlapping the box is an
3100
+ * obstacle, unless it encloses the box. A top label (#1601) is
3101
+ * `WHITEBOARD_CONTAINER_FONT` semibold and fits the strip above the highest
3102
+ * obstacle, else the strip below the lowest. A middle label fits the clear
3103
+ * strip holding the box's centre, else the tallest clear strip, centred as
3104
+ * near the middle as that strip allows; with no obstacle, that is the whole
3105
+ * box, as before. With no room anywhere, either is one line set into the
3106
+ * top border. Each fit wraps, then shrinks to the floor, then ends in `…`.
3107
+ */
3108
+ declare function whiteboardShapeLabel(el: WhiteboardShape, elements: readonly WhiteboardElement[], text?: string): WhiteboardShapeLabel;
3040
3109
 
3041
3110
  /** A database's (cylinder's) cap, half-height. */
3042
3111
  declare const CYLINDER_RY = 8;
@@ -7919,5 +7988,5 @@ declare function getSpaceDiagram(target: CloudSpaceTarget, which: {
7919
7988
  /** Every diagram in the space, sorted by folder path then title. */
7920
7989
  declare function listSpaceDiagrams(target: CloudSpaceTarget): Promise<SpaceDiagramSummary[]>;
7921
7990
 
7922
- export { ARROW_DIAGNOSTIC_CODES, CLOUD_API, CONTAINER_FILL_OPACITY, CONTAINER_STROKE_OPACITY, CONTAINER_STROKE_WIDTH, CYLINDER_RY, CloudSpaceError, CompactViewState, DEFAULT_FONT_NAME, DgmoError, EXAMPLES_SHOWN, FLOWCHART_STRUCTURE_CODE, FONT_FAMILY, GeoExtent, DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY, IMAGE_NOT_UPLOADED, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, 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, MapData, MapLayoutLegend, PaletteColors, PaletteConfig, ParsedMap, ParsedOrg, ParsedRaci, QUEUE_CAP, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, RaciMarker, RaciTask, RaciVariant, ResolvedMap, SKETCH_AUTO_LAYOUT_DEFAULTS, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SLOT_X, SKETCH_SLOT_Y, SKETCH_VISUALS, ScaleContext, TagEntry, TagGroup, WHITEBOARD_COLORS, WHITEBOARD_ELEMENT_KEYWORDS, WHITEBOARD_FILLS, WHITEBOARD_HEADS, WHITEBOARD_LABEL_MIN_FONT, WHITEBOARD_NOTE_COLOR, WHITEBOARD_NOTE_FONT, WHITEBOARD_NOTE_HEIGHT, WHITEBOARD_NOTE_WIDTH, WHITEBOARD_SHAPE_KINDS, WHITEBOARD_STROKE_STYLES, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, breakAtoms, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, canonicalSketch, catppuccinPalette, choosePalette, clearEventLineMuted, clipWhiteboardConnector, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, createMapGeoQueryForLayout, displayName, emitSketch, emitWhiteboard, emitWhiteboardElement, extractCategorizeRule, extractSymbols$2 as extractClassSymbols, extractColorRule, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPaletteDirective, extractPertSymbols, extractSection, extractTitleRule, fitWhiteboardLabel, fitWrapped, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatChartTypeList, formatDateLabel, formatDiagramValidation, formatExamples, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, getSpaceDiagram, groupMessagesBySection, inferParticipantType, inferRoles, inkOutlinePath, invalidColorDiagnostic, isArchiveColumn, isExampleFor, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isWhiteboardColor, isWhiteboardImageRef, isWhiteboardShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, legendEntryWidth, listSpaceDiagrams, 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, parseTypeAliases, parseVersionControl, parseVisualization, parseWhiteboard, parseWireframe, putSpaceDiagram, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, rebuildMapProjection, referenceForChartType, 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, renderForExport, 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, renderWhiteboard, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sameSketch, sameWhiteboard, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchColors, sketchContainerFill, sketchEdgeGeometry, sketchLabelSpot, sketchNeutralFill, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, truncateText, uncoveredCharacters, validateComputed, validateDiagram, validateFlowchartStructure, validateInfra, validateLabelCharacters, validateThemeFile, visibleWhiteboardElements, visibleWhiteboardIndices, whiteboardBendFor, whiteboardBendHandle, whiteboardBounds, whiteboardConnectorAttachments, whiteboardConnectorPaint, whiteboardLabelHeight, whiteboardLabelShift, whiteboardLabelWidth, whiteboardNoteFold, whiteboardSegmentMidpoint, whiteboardShapeAt, whiteboardShapeContains, wrapTextToWidth, wrapWhiteboardLabel };
7923
- export type { Activation, AncestorInfo, ArcLink, ArcNodeGroup, BLCollapseResult, BLEdge, BLGroup, BLLayoutEdge, BLLayoutGroup, BLLayoutNode, BLLayoutResult, BLNode, BlipTrend, BlockCell, BlockGrid, BlockLayoutItem, BlockLayoutResult, BlockNode, BlockOptions, BodyFigure, BodyOptions, BodyPart, BracketMode, BracketSide, C4ArrowType, C4DeploymentNode, C4Element, C4ElementType, C4Group, C4LayoutBoundary, C4LayoutEdge, C4LayoutNode, C4LayoutResult, C4LegendEntry, C4LegendGroup, C4Relationship, C4Shape, C4TagEntry, C4TagGroup, ChartDataPoint, ChartEra, ChartType$1 as ChartType, ClassLayoutEdge, ClassLayoutNode, ClassLayoutResult, ClassMember, ClassModifier, ClassNode, ClassRelationship, ClockEntry, ClockFace, ClockZoneKind, CloudSpaceTarget, CodepointRange, CollapsedMindmapResult, CollapsedOrgResult, CollapsedSitemapResult, CollapsedView, ComputedInfraEdge, ComputedInfraModel, ComputedInfraNode, ContextRelationship, CountUnits, CreateMapGeoQueryOptions, CycleEdge, CycleLayoutEdge, CycleLayoutNode, CycleLayoutResult, CycleNode, CycleRenderOptions, D3ExportDimensions, DiagramSymbols, DiagramValidation, Duration, DurationUnit, ERCardinality, ERColumn, ERConstraint, ERLayoutEdge, ERLayoutNode, ERLayoutResult, ERRelationship, ERTable, ElseIfBranch, EventLineEra, EventLineEvent, EventLineFocus, EventLineOptions, ExpandedActivity, ExtendedChartType, FamilyChild, FamilyChildEdge, FamilyLayoutNode, FamilyLayoutResult, FamilyMarriageBar, FamilyPerson, FamilySex, FamilyUnion, FocusOrgResult, FocusResult, FocusTarget, FontCoverage, GanttDependency, GanttEra, GanttGroup, GroupRow as GanttGroupRow, GanttHolidays, GanttInteractiveOptions, LaneHeaderRow as GanttLaneHeaderRow, GanttMarker, GanttNode, GanttOptions, Row as GanttRow, GanttTask, TaskRow as GanttTaskRow, GetOrCreateNameResult, GoalMode, GoalOptions, GraphDirection, GraphEdge, GraphGroup, GraphNode, GraphShape, InfraAvailabilityPercentiles, InfraBehaviorKey, InfraCbState, InfraComputeParams, InfraDiagnostic, InfraEdge, InfraGroup, InfraLatencyPercentiles, InfraLayoutEdge, InfraLayoutGroup, InfraLayoutNode, InfraLayoutResult, InfraLegendGroup, InfraNode, InfraPlaybackState, InfraProperty, InfraRole, InfraTagGroup, InlineSpan, JourneyMapAnnotation, JourneyMapInteractiveOptions, JourneyMapLayout, JourneyMapPersona, JourneyMapPhase, JourneyMapStep, KanbanCard, KanbanColumn, KanbanTagEntry, KanbanTagGroup, LayoutEdge, LayoutGroup, LayoutNode, LayoutOptions$1 as LayoutOptions, LayoutResult$1 as LayoutResult, LegendCallbacks, LegendConfig, LegendControl, LegendGroupData, LegendHandle, LegendLayout, LegendMode, LegendPalette, LegendPosition, LegendState, MapExportDimensions, MapGeoQuery, MapLayout, MapLayoutInset, MapLayoutLeg, MapLayoutPoi, MapLayoutRegion, MapLayoutStretch, MapProjectionKind, MapProjectionParams, MapProjectionSpec, MemberVisibility, MindmapLayoutEdge, MindmapLayoutNode, MindmapLayoutResult, MindmapNode, MonteCarloResult, NameEntry, NearestCity, NodeDetail, OrgContainerBounds, OrgLayoutEdge, OrgLayoutNode, OrgLayoutResult, PaletteDirective, ParseInArrowLabelResult, ParsedBlock, ParsedBody, ParsedBoxesAndLines, ParsedBracket, ParsedC4, ParsedChart, ParsedClassDiagram, ParsedClock, ParsedCountdown, ParsedCycle, ParsedERDiagram, ParsedEventLine, ParsedExtendedChart, ParsedFamily, ParsedGantt, ParsedGoal, ParsedGraph, ParsedInfra, ParsedJourneyMap, ParsedKanban, ParsedLiveLink, ParsedMindmap, ParsedPert, ParsedPyramid, ParsedRing, ParsedSequenceDgmo, ParsedSitemap, ParsedSketch, ParsedSwimlane, ParsedTechRadar, ParsedTreemap, ParsedVersionControl, ParsedVisualization, ParsedWhiteboard, ParsedWireframe, ParticipantType, PertActivity, Anchor as PertAnchor, PertDirection, PertEdge, PertGroup, PertLayoutEdge, PertLayoutGroup, PertLayoutNode, LayoutOverrides as PertLayoutOverrides, LayoutResult as PertLayoutResult, PertMilestone, PertOptions, PertRenderOptions, PlaceResolution, PlacedLabel, ProjectedCity, PyramidLayer, QuadrantPosition, RaciDragSource, RaciInteractionHandlers, RadialCell, RadialLayoutResult, RawMatch, RawSeed, RecurRule, RegionToken, RelationshipType, RenderStep, ResolvedActivity, ResolvedGroup$1 as ResolvedGroup, ResolvedPert, ResolvedGroup as ResolvedPertGroup, ResolvedSchedule, ResolvedTask, ResultCard, ResultTokens, RingLayer, RoundMode, SectionMessageGroup, SequenceBlock, SequenceElement, SequenceGroup, SequenceMessage, SequenceNote, SequenceParticipant, SequenceRenderOptions, SequenceSection, SimulateOptions, SitemapContainerBounds, SitemapDirection, SitemapEdge, SitemapLayoutEdge, SitemapLayoutNode, SitemapLayoutResult, SitemapLegendEntry, SitemapLegendGroup, SitemapNode, SketchAt, SketchAutoLayoutFlags, SketchBox, SketchCollapseResult, SketchEdge, SketchEdgeBoard, SketchEdgeGeometry, SketchEdgeHeads, SketchFillMode, SketchLayout, SketchLayoutBox, SketchLayoutNode, SketchLayoutOptions, SketchNode, SketchNodeColors, SketchOptions, SketchRenderOptions, SpaceDiagram, SpaceDiagramSummary, SpacePutResult, StateCollapseResult, SwimEdge, SwimEvent, SwimLane, SwimNode, SwimPhase, SwimShape, LayoutBand as SwimlaneLayoutBand, SwimlaneLayoutResult, TechRadarBlip, TechRadarLayoutPoint, TechRadarQuadrant, TechRadarRing, ThemeFileResult, TreemapCell, TreemapColorMode, TreemapLayoutResult, TreemapNode, TreemapOptions, UncoveredRun, VCBranch, VCNode, VCNote, VCOptions, VCRef, ValidateDiagramOptions, VisualizationType, WhiteboardArrow, WhiteboardAttachable, WhiteboardColor, WhiteboardConnectorAttachments, WhiteboardConnectorPaint, WhiteboardElement, WhiteboardFill, WhiteboardFitBox, WhiteboardHeads, WhiteboardImage, WhiteboardInk, WhiteboardLabelBox, WhiteboardLine, WhiteboardNote, WhiteboardOptions, WhiteboardPoint, WhiteboardRenderOptions, WhiteboardSegment, WhiteboardShape, WhiteboardShapeKind, WhiteboardStrokeStyle, WhiteboardText, WireframeElement, WireframeElementType, WireframeFormFactor, WireframeLayout, WireframeLayoutNode, WorkWindow, ZoneSuggestion };
7991
+ export { ARROW_DIAGNOSTIC_CODES, CLOUD_API, CONTAINER_FILL_OPACITY, CONTAINER_STROKE_OPACITY, CONTAINER_STROKE_WIDTH, CYLINDER_RY, CloudSpaceError, CompactViewState, DEFAULT_FONT_NAME, DgmoError, EXAMPLES_SHOWN, FLOWCHART_STRUCTURE_CODE, FONT_FAMILY, GeoExtent, DEFAULT_DIM_OPACITY as HOVER_DIM_OPACITY, IMAGE_NOT_UPLOADED, INFRA_BEHAVIOR_KEYS, INVALID_COLOR_CODE, INVALID_CSS_COLOR_HEX, 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, MapData, MapLayoutLegend, PaletteColors, PaletteConfig, ParsedMap, ParsedOrg, ParsedRaci, QUEUE_CAP, RACI_ERROR_CODES, VARIANTS as RACI_VARIANTS, RACI_WARNING_CODES, RECOGNIZED_COLOR_NAMES, RULE_COUNT, RaciMarker, RaciTask, RaciVariant, ResolvedMap, SKETCH_AUTO_LAYOUT_DEFAULTS, SKETCH_FOOT_H, SKETCH_FOOT_W, SKETCH_GEOMETRY, SKETCH_HALF_SLOT_X, SKETCH_HALF_SLOT_Y, SKETCH_SEP, SKETCH_SLOT_X, SKETCH_SLOT_Y, SKETCH_VISUALS, ScaleContext, TagEntry, TagGroup, WHITEBOARD_COLORS, WHITEBOARD_CONTAINER_FONT, WHITEBOARD_CONTAINER_WEIGHT, WHITEBOARD_ELEMENT_KEYWORDS, WHITEBOARD_FILLS, WHITEBOARD_HEADS, WHITEBOARD_LABEL_MIN_FONT, WHITEBOARD_LABEL_POSITIONS, WHITEBOARD_NOTE_COLOR, WHITEBOARD_NOTE_FONT, WHITEBOARD_NOTE_HEIGHT, WHITEBOARD_NOTE_WIDTH, WHITEBOARD_SHAPE_KINDS, WHITEBOARD_STROKE_STYLES, addDurationToDate, albersSkewFallback, analyzePert, applyCollapseProjection, applyGroupOrdering, applyPositionOverrides, atlasPalette, authoredCollapsedIds, blueprintPalette, breakAtoms, buildNoteMessageMap, buildRenderSequence, buildSimulationContext, buildTagLaneRowList, calculateSchedule, canonicalSketch, catppuccinPalette, choosePalette, clearEventLineMuted, clipWhiteboardConnector, collapseBoxesAndLines, collapseMindmapTree, collapseOrgTree, collapseSitemapTree, collapseSketch, collapseStateGroups, collectDiagramRoles, collectTasks, colorNames, computeActivations, computeCardArchive, computeCardMove, computeCycleLayout, computeInfra, computeInfraLegendGroups, computeLegendLayout, computeRadarLayout, computeTimeTicks, controlsGroupCapsuleWidth, createMapGeoQuery, createMapGeoQueryForLayout, displayName, emitSketch, emitWhiteboard, emitWhiteboardElement, extractCategorizeRule, extractSymbols$2 as extractClassSymbols, extractColorRule, extractSymbols$1 as extractErSymbols, extractSymbols$3 as extractFlowchartSymbols, extractSymbols as extractInfraSymbols, extractPaletteDirective, extractPertSymbols, extractSection, extractTitleRule, fitWhiteboardLabel, fitWrapped, focusBoxesAndLines, focusEventLine, focusOrgTree, fontPortabilityWarning, formatChartTypeList, formatDateLabel, formatDiagramValidation, formatExamples, formatOffsetLabel, getExtendedChartLegendGroups, getLegendReservedHeight, getOrCreateName, getRadarGeometry, getSimpleChartLegendGroups, getSpaceDiagram, groupMessagesBySection, inferParticipantType, inferRoles, inkOutlinePath, invalidColorDiagnostic, isArchiveColumn, isExampleFor, isInvalidColorToken, isRecognizedColorName, isSequenceBlock, isSequenceNote, isWhiteboardColor, isWhiteboardImageRef, isWhiteboardShapeKind, layoutBlock, layoutBoxesAndLines, layoutBracket, layoutC4Components, layoutC4Containers, layoutC4Context, layoutC4Deployment, layoutClassDiagram, layoutERDiagram, layoutFamily, layoutGraph, layoutInfra, layoutJourneyMap, layoutMap, layoutMindmap, layoutOrg, layoutPert, layoutSitemap, layoutSketch, layoutSwimlane, layoutTreemap, layoutTreemapRadial, layoutWireframe, legendEntryWidth, listSpaceDiagrams, 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, parseTypeAliases, parseVersionControl, parseVisualization, parseWhiteboard, parseWireframe, putSpaceDiagram, cellAppendMarker as raciCellAppendMarker, cellCycle as raciCellCycle, cellRemove as raciCellRemove, cellReplace as raciCellReplace, rebuildMapProjection, referenceForChartType, 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, renderForExport, 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, renderWhiteboard, renderWireframe, renderWordCloud, resolveColor, resolveColorWithDiagnostic, resolveMap, resolvePlace, resolveTaskName, rollUpContextRelationships, sameSketch, sameWhiteboard, sampleBetaPert, searchZones, seriesColors, simulateCanonical, simulateFast, sketchColors, sketchContainerFill, sketchEdgeGeometry, sketchLabelSpot, sketchNeutralFill, sketchSlotToPx, slatePalette, startClocks, startCountdowns, targetToMs, textFromSvg, tickClocks, tickCountdowns, tidewaterPalette, tokyoNightPalette, truncateBareUrl, truncateText, uncoveredCharacters, validateComputed, validateDiagram, validateFlowchartStructure, validateInfra, validateLabelCharacters, validateThemeFile, visibleWhiteboardElements, visibleWhiteboardIndices, whiteboardBendFor, whiteboardBendHandle, whiteboardBounds, whiteboardConnectorAttachments, whiteboardConnectorPaint, whiteboardDrawBand, whiteboardDrawOrder, whiteboardLabelCentreY, whiteboardLabelHeight, whiteboardLabelPosition, whiteboardLabelShift, whiteboardLabelWidth, whiteboardNoteFold, whiteboardSegmentMidpoint, whiteboardShapeAt, whiteboardShapeContains, whiteboardShapeLabel, wrapTextToWidth, wrapWhiteboardLabel };
7992
+ export type { Activation, AncestorInfo, ArcLink, ArcNodeGroup, BLCollapseResult, BLEdge, BLGroup, BLLayoutEdge, BLLayoutGroup, BLLayoutNode, BLLayoutResult, BLNode, BlipTrend, BlockCell, BlockGrid, BlockLayoutItem, BlockLayoutResult, BlockNode, BlockOptions, BodyFigure, BodyOptions, BodyPart, BracketMode, BracketSide, C4ArrowType, C4DeploymentNode, C4Element, C4ElementType, C4Group, C4LayoutBoundary, C4LayoutEdge, C4LayoutNode, C4LayoutResult, C4LegendEntry, C4LegendGroup, C4Relationship, C4Shape, C4TagEntry, C4TagGroup, ChartDataPoint, ChartEra, ChartType$1 as ChartType, ClassLayoutEdge, ClassLayoutNode, ClassLayoutResult, ClassMember, ClassModifier, ClassNode, ClassRelationship, ClockEntry, ClockFace, ClockZoneKind, CloudSpaceTarget, CodepointRange, CollapsedMindmapResult, CollapsedOrgResult, CollapsedSitemapResult, CollapsedView, ComputedInfraEdge, ComputedInfraModel, ComputedInfraNode, ContextRelationship, CountUnits, CreateMapGeoQueryOptions, CycleEdge, CycleLayoutEdge, CycleLayoutNode, CycleLayoutResult, CycleNode, CycleRenderOptions, D3ExportDimensions, DiagramSymbols, DiagramValidation, Duration, DurationUnit, ERCardinality, ERColumn, ERConstraint, ERLayoutEdge, ERLayoutNode, ERLayoutResult, ERRelationship, ERTable, ElseIfBranch, EventLineEra, EventLineEvent, EventLineFocus, EventLineOptions, ExpandedActivity, ExtendedChartType, FamilyChild, FamilyChildEdge, FamilyLayoutNode, FamilyLayoutResult, FamilyMarriageBar, FamilyPerson, FamilySex, FamilyUnion, FocusOrgResult, FocusResult, FocusTarget, FontCoverage, GanttDependency, GanttEra, GanttGroup, GroupRow as GanttGroupRow, GanttHolidays, GanttInteractiveOptions, LaneHeaderRow as GanttLaneHeaderRow, GanttMarker, GanttNode, GanttOptions, Row as GanttRow, GanttTask, TaskRow as GanttTaskRow, GetOrCreateNameResult, GoalMode, GoalOptions, GraphDirection, GraphEdge, GraphGroup, GraphNode, GraphShape, InfraAvailabilityPercentiles, InfraBehaviorKey, InfraCbState, InfraComputeParams, InfraDiagnostic, InfraEdge, InfraGroup, InfraLatencyPercentiles, InfraLayoutEdge, InfraLayoutGroup, InfraLayoutNode, InfraLayoutResult, InfraLegendGroup, InfraNode, InfraPlaybackState, InfraProperty, InfraRole, InfraTagGroup, InlineSpan, JourneyMapAnnotation, JourneyMapInteractiveOptions, JourneyMapLayout, JourneyMapPersona, JourneyMapPhase, JourneyMapStep, KanbanCard, KanbanColumn, KanbanTagEntry, KanbanTagGroup, LayoutEdge, LayoutGroup, LayoutNode, LayoutOptions$1 as LayoutOptions, LayoutResult$1 as LayoutResult, LegendCallbacks, LegendConfig, LegendControl, LegendGroupData, LegendHandle, LegendLayout, LegendMode, LegendPalette, LegendPosition, LegendState, MapExportDimensions, MapGeoQuery, MapLayout, MapLayoutInset, MapLayoutLeg, MapLayoutPoi, MapLayoutRegion, MapLayoutStretch, MapProjectionKind, MapProjectionParams, MapProjectionSpec, MemberVisibility, MindmapLayoutEdge, MindmapLayoutNode, MindmapLayoutResult, MindmapNode, MonteCarloResult, NameEntry, NearestCity, NodeDetail, OrgContainerBounds, OrgLayoutEdge, OrgLayoutNode, OrgLayoutResult, PaletteDirective, ParseInArrowLabelResult, ParsedBlock, ParsedBody, ParsedBoxesAndLines, ParsedBracket, ParsedC4, ParsedChart, ParsedClassDiagram, ParsedClock, ParsedCountdown, ParsedCycle, ParsedERDiagram, ParsedEventLine, ParsedExtendedChart, ParsedFamily, ParsedGantt, ParsedGoal, ParsedGraph, ParsedInfra, ParsedJourneyMap, ParsedKanban, ParsedLiveLink, ParsedMindmap, ParsedPert, ParsedPyramid, ParsedRing, ParsedSequenceDgmo, ParsedSitemap, ParsedSketch, ParsedSwimlane, ParsedTechRadar, ParsedTreemap, ParsedVersionControl, ParsedVisualization, ParsedWhiteboard, ParsedWireframe, ParticipantType, PertActivity, Anchor as PertAnchor, PertDirection, PertEdge, PertGroup, PertLayoutEdge, PertLayoutGroup, PertLayoutNode, LayoutOverrides as PertLayoutOverrides, LayoutResult as PertLayoutResult, PertMilestone, PertOptions, PertRenderOptions, PlaceResolution, PlacedLabel, ProjectedCity, PyramidLayer, QuadrantPosition, RaciDragSource, RaciInteractionHandlers, RadialCell, RadialLayoutResult, RawMatch, RawSeed, RecurRule, RegionToken, RelationshipType, RenderStep, ResolvedActivity, ResolvedGroup$1 as ResolvedGroup, ResolvedPert, ResolvedGroup as ResolvedPertGroup, ResolvedSchedule, ResolvedTask, ResultCard, ResultTokens, RingLayer, RoundMode, SectionMessageGroup, SequenceBlock, SequenceElement, SequenceGroup, SequenceMessage, SequenceNote, SequenceParticipant, SequenceRenderOptions, SequenceSection, SimulateOptions, SitemapContainerBounds, SitemapDirection, SitemapEdge, SitemapLayoutEdge, SitemapLayoutNode, SitemapLayoutResult, SitemapLegendEntry, SitemapLegendGroup, SitemapNode, SketchAt, SketchAutoLayoutFlags, SketchBox, SketchCollapseResult, SketchEdge, SketchEdgeBoard, SketchEdgeGeometry, SketchEdgeHeads, SketchFillMode, SketchLayout, SketchLayoutBox, SketchLayoutNode, SketchLayoutOptions, SketchNode, SketchNodeColors, SketchOptions, SketchRenderOptions, SpaceDiagram, SpaceDiagramSummary, SpacePutResult, StateCollapseResult, SwimEdge, SwimEvent, SwimLane, SwimNode, SwimPhase, SwimShape, LayoutBand as SwimlaneLayoutBand, SwimlaneLayoutResult, TechRadarBlip, TechRadarLayoutPoint, TechRadarQuadrant, TechRadarRing, ThemeFileResult, TreemapCell, TreemapColorMode, TreemapLayoutResult, TreemapNode, TreemapOptions, UncoveredRun, VCBranch, VCNode, VCNote, VCOptions, VCRef, ValidateDiagramOptions, VisualizationType, WhiteboardArrow, WhiteboardAttachable, WhiteboardColor, WhiteboardConnectorAttachments, WhiteboardConnectorPaint, WhiteboardElement, WhiteboardFill, WhiteboardFitBox, WhiteboardHeads, WhiteboardImage, WhiteboardInk, WhiteboardLabelBox, WhiteboardLabelPosition, WhiteboardLine, WhiteboardNote, WhiteboardOptions, WhiteboardPoint, WhiteboardRenderOptions, WhiteboardSegment, WhiteboardShape, WhiteboardShapeKind, WhiteboardShapeLabel, WhiteboardStrokeStyle, WhiteboardText, WireframeElement, WireframeElementType, WireframeFormFactor, WireframeLayout, WireframeLayoutNode, WorkWindow, ZoneSuggestion };
package/dist/advanced.js CHANGED
@@ -4,6 +4,8 @@ import {
4
4
  } from "./chunk-V2NQV7VL.js";
5
5
  import {
6
6
  IMAGE_NOT_UPLOADED,
7
+ WHITEBOARD_CONTAINER_FONT,
8
+ WHITEBOARD_CONTAINER_WEIGHT,
7
9
  WHITEBOARD_LABEL_MIN_FONT,
8
10
  WHITEBOARD_NOTE_FONT,
9
11
  clipWhiteboardConnector,
@@ -17,15 +19,20 @@ import {
17
19
  whiteboardBounds,
18
20
  whiteboardConnectorAttachments,
19
21
  whiteboardConnectorPaint,
22
+ whiteboardDrawBand,
23
+ whiteboardDrawOrder,
24
+ whiteboardLabelCentreY,
20
25
  whiteboardLabelHeight,
26
+ whiteboardLabelPosition,
21
27
  whiteboardLabelShift,
22
28
  whiteboardLabelWidth,
23
29
  whiteboardNoteFold,
24
30
  whiteboardSegmentMidpoint,
25
31
  whiteboardShapeAt,
26
32
  whiteboardShapeContains,
33
+ whiteboardShapeLabel,
27
34
  wrapWhiteboardLabel
28
- } from "./chunk-KBHT5XEY.js";
35
+ } from "./chunk-E7F76M3U.js";
29
36
  import {
30
37
  layoutWireframe
31
38
  } from "./chunk-GLCMUTO5.js";
@@ -35,7 +42,7 @@ import {
35
42
  import {
36
43
  renderSitemap,
37
44
  renderSitemapForExport
38
- } from "./chunk-B25IWGDH.js";
45
+ } from "./chunk-JJ7RGTAU.js";
39
46
  import {
40
47
  SKETCH_AUTO_LAYOUT_DEFAULTS,
41
48
  SKETCH_FOOT_H,
@@ -118,7 +125,7 @@ import {
118
125
  computeActivations,
119
126
  groupMessagesBySection,
120
127
  renderSequenceDiagram
121
- } from "./chunk-XKCRKD2B.js";
128
+ } from "./chunk-62GLKE6Q.js";
122
129
  import {
123
130
  layoutSitemap
124
131
  } from "./chunk-4XYZJTFO.js";
@@ -135,7 +142,7 @@ import {
135
142
  import {
136
143
  renderMindmap,
137
144
  renderMindmapForExport
138
- } from "./chunk-4TEPDQHJ.js";
145
+ } from "./chunk-RQTDUZUH.js";
139
146
  import {
140
147
  layoutMindmap
141
148
  } from "./chunk-BQMHJ6OW.js";
@@ -147,7 +154,7 @@ import "./chunk-BS7SV7C3.js";
147
154
  import {
148
155
  renderOrg,
149
156
  renderOrgForExport
150
- } from "./chunk-DRQSB72S.js";
157
+ } from "./chunk-PGBTUGDB.js";
151
158
  import {
152
159
  layoutOrg
153
160
  } from "./chunk-A2A2I4Z4.js";
@@ -184,7 +191,7 @@ import {
184
191
  import {
185
192
  renderJourneyMap,
186
193
  renderJourneyMapForExport
187
- } from "./chunk-G3HZ4PGE.js";
194
+ } from "./chunk-VF7IKIRS.js";
188
195
  import {
189
196
  computeCardArchive,
190
197
  computeCardMove,
@@ -195,7 +202,7 @@ import {
195
202
  import {
196
203
  renderState,
197
204
  renderStateForExport
198
- } from "./chunk-3TWBMU7K.js";
205
+ } from "./chunk-XOMIYMQ3.js";
199
206
  import {
200
207
  collapseStateGroups
201
208
  } from "./chunk-SQ7IY53Q.js";
@@ -232,24 +239,24 @@ import "./chunk-CN4RDJDV.js";
232
239
  import {
233
240
  renderFlowchart,
234
241
  renderFlowchartForExport
235
- } from "./chunk-AYUSD4Z6.js";
242
+ } from "./chunk-LAXMUSGW.js";
236
243
  import "./chunk-26EVL454.js";
237
244
  import {
238
245
  layoutGraph
239
- } from "./chunk-JT2BG7LM.js";
246
+ } from "./chunk-EXHXTMVR.js";
240
247
  import {
241
248
  renderERDiagram,
242
249
  renderERDiagramForExport
243
- } from "./chunk-7IOZ6JE4.js";
250
+ } from "./chunk-IQN2NGEU.js";
244
251
  import {
245
252
  layoutERDiagram
246
- } from "./chunk-HI6R27YA.js";
253
+ } from "./chunk-7IALGIOI.js";
247
254
  import {
248
255
  clearEventLineMuted,
249
256
  focusEventLine,
250
257
  renderEventLine,
251
258
  renderEventLineForExport
252
- } from "./chunk-I37S3EZE.js";
259
+ } from "./chunk-6EFCOES2.js";
253
260
  import "./chunk-R2K5L4UA.js";
254
261
  import {
255
262
  layoutFamily
@@ -262,7 +269,7 @@ import "./chunk-IVKC4GID.js";
262
269
  import {
263
270
  renderClassDiagram,
264
271
  renderClassDiagramForExport
265
- } from "./chunk-DDIOWNHS.js";
272
+ } from "./chunk-L5S32VZJ.js";
266
273
  import {
267
274
  renderClock,
268
275
  renderClockForExport
@@ -301,8 +308,8 @@ import {
301
308
  } from "./chunk-5KKZXA44.js";
302
309
  import {
303
310
  layoutClassDiagram
304
- } from "./chunk-RESEJSCV.js";
305
- import "./chunk-TDAGJJPZ.js";
311
+ } from "./chunk-BCV2VJTM.js";
312
+ import "./chunk-2J2CWWWK.js";
306
313
  import {
307
314
  authoredCollapsedIds,
308
315
  layoutBlock,
@@ -316,14 +323,14 @@ import {
316
323
  import {
317
324
  renderBoxesAndLines,
318
325
  renderBoxesAndLinesForExport
319
- } from "./chunk-NOQB4KMV.js";
326
+ } from "./chunk-V5D6GDNK.js";
320
327
  import "./chunk-B5DHFFZP.js";
321
328
  import "./chunk-XBJJP2HN.js";
322
- import "./chunk-6JCTW74W.js";
329
+ import "./chunk-VB4VMB2I.js";
323
330
  import "./chunk-VGAMBOOC.js";
324
331
  import {
325
332
  layoutBoxesAndLines
326
- } from "./chunk-3ZP3QC47.js";
333
+ } from "./chunk-VTESGA5F.js";
327
334
  import "./chunk-WTTIODDV.js";
328
335
  import "./chunk-IN7XI6NO.js";
329
336
  import {
@@ -342,12 +349,12 @@ import {
342
349
  renderSlopeChart,
343
350
  renderVenn,
344
351
  renderWordCloud
345
- } from "./chunk-4SP6OUO7.js";
352
+ } from "./chunk-USE6HIOZ.js";
346
353
  import {
347
354
  renderLegendSvg,
348
355
  renderLegendSvgFromConfig
349
356
  } from "./chunk-YQMIKX54.js";
350
- import "./chunk-2FDQEQID.js";
357
+ import "./chunk-USZLHYEQ.js";
351
358
  import {
352
359
  CHART_TYPE_DESCRIPTIONS,
353
360
  chartTypeParsers,
@@ -357,7 +364,7 @@ import {
357
364
  knownChartTypeIds,
358
365
  parseDgmo,
359
366
  parseVisualization
360
- } from "./chunk-5ZUZZDW5.js";
367
+ } from "./chunk-P5XA627W.js";
361
368
  import {
362
369
  getExtendedChartLegendGroups,
363
370
  getSimpleChartLegendGroups,
@@ -390,12 +397,13 @@ import "./chunk-NWSPPGIE.js";
390
397
  import {
391
398
  isWhiteboardImageRef,
392
399
  parseWhiteboard
393
- } from "./chunk-5HAYT43L.js";
400
+ } from "./chunk-U6VS3T2M.js";
394
401
  import {
395
402
  WHITEBOARD_COLORS,
396
403
  WHITEBOARD_ELEMENT_KEYWORDS,
397
404
  WHITEBOARD_FILLS,
398
405
  WHITEBOARD_HEADS,
406
+ WHITEBOARD_LABEL_POSITIONS,
399
407
  WHITEBOARD_NOTE_COLOR,
400
408
  WHITEBOARD_NOTE_HEIGHT,
401
409
  WHITEBOARD_NOTE_WIDTH,
@@ -403,7 +411,7 @@ import {
403
411
  WHITEBOARD_STROKE_STYLES,
404
412
  isWhiteboardColor,
405
413
  isWhiteboardShapeKind
406
- } from "./chunk-P7TRFL4P.js";
414
+ } from "./chunk-R46N5KR4.js";
407
415
  import {
408
416
  parseSwimlane
409
417
  } from "./chunk-J7Q4AB23.js";
@@ -516,7 +524,7 @@ import {
516
524
  import "./chunk-H7AXCRO7.js";
517
525
  import {
518
526
  parseBoxesAndLines
519
- } from "./chunk-2XMTZ5JR.js";
527
+ } from "./chunk-4UVCTLRH.js";
520
528
  import {
521
529
  ScaleContext
522
530
  } from "./chunk-24YPR5EH.js";
@@ -544,7 +552,7 @@ import {
544
552
  } from "./chunk-6OSGENN5.js";
545
553
  import {
546
554
  parseDgmoChartType
547
- } from "./chunk-2HSHWPTO.js";
555
+ } from "./chunk-BTP2BMWN.js";
548
556
  import {
549
557
  allTasks,
550
558
  parseRaci
@@ -576,12 +584,12 @@ import {
576
584
  extractSymbols as extractSymbols3,
577
585
  looksLikeFlowchart,
578
586
  parseFlowchart
579
- } from "./chunk-DNM3XZCK.js";
587
+ } from "./chunk-IY62DXT2.js";
580
588
  import "./chunk-TIVMAITN.js";
581
589
  import {
582
590
  looksLikeState,
583
591
  parseState
584
- } from "./chunk-2MS623GW.js";
592
+ } from "./chunk-LJGE43SG.js";
585
593
  import "./chunk-NXMESY4J.js";
586
594
  import "./chunk-EQW6HOP4.js";
587
595
  import "./chunk-MKSTL6DR.js";
@@ -593,7 +601,7 @@ import {
593
601
  extractSymbols as extractSymbols2,
594
602
  looksLikeERDiagram,
595
603
  parseERDiagram
596
- } from "./chunk-CIHHTS5B.js";
604
+ } from "./chunk-S4SJ4LLY.js";
597
605
  import {
598
606
  RULE_COUNT,
599
607
  inferParticipantType
@@ -603,7 +611,7 @@ import {
603
611
  extractSymbols,
604
612
  looksLikeClassDiagram,
605
613
  parseClassDiagram
606
- } from "./chunk-DLJJOCIT.js";
614
+ } from "./chunk-5XBYLYYI.js";
607
615
  import {
608
616
  palettes
609
617
  } from "./chunk-GXCDD6NG.js";
@@ -626,13 +634,13 @@ import {
626
634
  parseInArrowLabel,
627
635
  validateLabelCharacters
628
636
  } from "./chunk-N7VMGZCU.js";
629
- import "./chunk-7SXV7NUS.js";
637
+ import "./chunk-KLBTJEIK.js";
630
638
  import {
631
639
  displayName,
632
640
  getOrCreateName,
633
641
  normalizeName
634
642
  } from "./chunk-NOTA6TEI.js";
635
- import "./chunk-VDY2GR6U.js";
643
+ import "./chunk-67N26CER.js";
636
644
  import "./chunk-7WEYXYLC.js";
637
645
  import {
638
646
  parseInlineMarkdown,
@@ -957,7 +965,8 @@ function emitWhiteboardElement(el) {
957
965
  `at: ${el.x} ${el.y}`,
958
966
  `size: ${el.width} ${el.height}`,
959
967
  ...colorPart(el.color),
960
- ...el.fill === "tint" ? [] : [`fill: ${el.fill}`]
968
+ ...el.fill === "tint" ? [] : [`fill: ${el.fill}`],
969
+ ...el.labelPosition ? [`label: ${el.labelPosition}`] : []
961
970
  ]);
962
971
  case "note":
963
972
  return line("note", el.text, [
@@ -2679,10 +2688,13 @@ export {
2679
2688
  SKETCH_VISUALS,
2680
2689
  ScaleContext,
2681
2690
  WHITEBOARD_COLORS,
2691
+ WHITEBOARD_CONTAINER_FONT,
2692
+ WHITEBOARD_CONTAINER_WEIGHT,
2682
2693
  WHITEBOARD_ELEMENT_KEYWORDS,
2683
2694
  WHITEBOARD_FILLS,
2684
2695
  WHITEBOARD_HEADS,
2685
2696
  WHITEBOARD_LABEL_MIN_FONT,
2697
+ WHITEBOARD_LABEL_POSITIONS,
2686
2698
  WHITEBOARD_NOTE_COLOR,
2687
2699
  WHITEBOARD_NOTE_FONT,
2688
2700
  WHITEBOARD_NOTE_HEIGHT,
@@ -3050,13 +3062,18 @@ export {
3050
3062
  whiteboardBounds,
3051
3063
  whiteboardConnectorAttachments,
3052
3064
  whiteboardConnectorPaint,
3065
+ whiteboardDrawBand,
3066
+ whiteboardDrawOrder,
3067
+ whiteboardLabelCentreY,
3053
3068
  whiteboardLabelHeight,
3069
+ whiteboardLabelPosition,
3054
3070
  whiteboardLabelShift,
3055
3071
  whiteboardLabelWidth,
3056
3072
  whiteboardNoteFold,
3057
3073
  whiteboardSegmentMidpoint,
3058
3074
  whiteboardShapeAt,
3059
3075
  whiteboardShapeContains,
3076
+ whiteboardShapeLabel,
3060
3077
  wrapTextToWidth,
3061
3078
  wrapWhiteboardLabel
3062
3079
  };
package/dist/block.d.ts CHANGED
@@ -99,6 +99,12 @@ interface DgmoBlockOptions {
99
99
  sourceOpen?: boolean;
100
100
  /** Default: true in showcase mode, false in diagram mode. */
101
101
  showCopy?: boolean;
102
+ /**
103
+ * Show the copy-as-image toolbar button. Default: follows `showCopy`. Needs
104
+ * the client handler from `@diagrammo/dgmo/copy-image`; markup-only surfaces
105
+ * can omit it.
106
+ */
107
+ showCopyImage?: boolean;
102
108
  /**
103
109
  * Show the expand (full-screen) toolbar button. Default: true in showcase
104
110
  * mode, false in diagram mode. Needs the client lightbox handler to do
package/dist/block.js CHANGED
@@ -4,13 +4,13 @@ import {
4
4
  } from "./chunk-D3K4U3ZM.js";
5
5
  import {
6
6
  render
7
- } from "./chunk-4SP6OUO7.js";
7
+ } from "./chunk-USE6HIOZ.js";
8
8
  import "./chunk-YQMIKX54.js";
9
9
  import {
10
10
  docsLink,
11
11
  renderErrorCard
12
- } from "./chunk-2FDQEQID.js";
13
- import "./chunk-5ZUZZDW5.js";
12
+ } from "./chunk-USZLHYEQ.js";
13
+ import "./chunk-P5XA627W.js";
14
14
  import "./chunk-H6BT45SN.js";
15
15
  import "./chunk-3PP746YM.js";
16
16
  import "./chunk-NM5V5EKY.js";
@@ -21,8 +21,8 @@ import "./chunk-2ZW4NBYX.js";
21
21
  import "./chunk-AULZD45V.js";
22
22
  import "./chunk-WZBZXZ6T.js";
23
23
  import "./chunk-NWSPPGIE.js";
24
- import "./chunk-5HAYT43L.js";
25
- import "./chunk-P7TRFL4P.js";
24
+ import "./chunk-U6VS3T2M.js";
25
+ import "./chunk-R46N5KR4.js";
26
26
  import "./chunk-J7Q4AB23.js";
27
27
  import "./chunk-XIUGSUE4.js";
28
28
  import "./chunk-EBVVMUAA.js";
@@ -61,7 +61,7 @@ import "./chunk-BRGRIZQB.js";
61
61
  import "./chunk-XSVWUOUZ.js";
62
62
  import "./chunk-JXGSTBW6.js";
63
63
  import "./chunk-H7AXCRO7.js";
64
- import "./chunk-2XMTZ5JR.js";
64
+ import "./chunk-4UVCTLRH.js";
65
65
  import "./chunk-24YPR5EH.js";
66
66
  import "./chunk-UIEKW4SG.js";
67
67
  import "./chunk-VLC6WNRD.js";
@@ -71,7 +71,7 @@ import "./chunk-JILEYZ2V.js";
71
71
  import {
72
72
  encodeDiagramUrl
73
73
  } from "./chunk-6OSGENN5.js";
74
- import "./chunk-2HSHWPTO.js";
74
+ import "./chunk-BTP2BMWN.js";
75
75
  import "./chunk-KRPLP5LP.js";
76
76
  import "./chunk-KBDMEOLI.js";
77
77
  import "./chunk-VSAKEMDD.js";
@@ -79,9 +79,9 @@ import "./chunk-5OTA2PUH.js";
79
79
  import "./chunk-ZECJ7Q6C.js";
80
80
  import "./chunk-CDM6XMOT.js";
81
81
  import "./chunk-2SKMEL7V.js";
82
- import "./chunk-DNM3XZCK.js";
82
+ import "./chunk-IY62DXT2.js";
83
83
  import "./chunk-TIVMAITN.js";
84
- import "./chunk-2MS623GW.js";
84
+ import "./chunk-LJGE43SG.js";
85
85
  import "./chunk-NXMESY4J.js";
86
86
  import "./chunk-EQW6HOP4.js";
87
87
  import {
@@ -91,19 +91,19 @@ import {
91
91
  choosePalette,
92
92
  extractPaletteDirective
93
93
  } from "./chunk-CYTFO2LF.js";
94
- import "./chunk-CIHHTS5B.js";
94
+ import "./chunk-S4SJ4LLY.js";
95
95
  import "./chunk-C3Z4DX3V.js";
96
96
  import "./chunk-IYULMRBE.js";
97
- import "./chunk-DLJJOCIT.js";
97
+ import "./chunk-5XBYLYYI.js";
98
98
  import "./chunk-GXCDD6NG.js";
99
99
  import {
100
100
  getPalette,
101
101
  resolvePaletteOrFallback
102
102
  } from "./chunk-FMAVHTYB.js";
103
103
  import "./chunk-N7VMGZCU.js";
104
- import "./chunk-7SXV7NUS.js";
104
+ import "./chunk-KLBTJEIK.js";
105
105
  import "./chunk-NOTA6TEI.js";
106
- import "./chunk-VDY2GR6U.js";
106
+ import "./chunk-67N26CER.js";
107
107
  import "./chunk-7WEYXYLC.js";
108
108
  import "./chunk-QKPOIJBT.js";
109
109
  import "./chunk-ICLB27PZ.js";
@@ -1063,6 +1063,7 @@ function resolveBlockOptions(opts) {
1063
1063
  showSource: (opts.showSource ?? showcase) || !!opts.sourceOpen,
1064
1064
  sourceOpen: opts.sourceOpen ?? false,
1065
1065
  showCopy: opts.showCopy ?? showcase,
1066
+ showCopyImage: opts.showCopyImage ?? opts.showCopy ?? showcase,
1066
1067
  showExpand: opts.showExpand ?? showcase,
1067
1068
  showOpenInEditor: opts.showOpenInEditor ?? showcase,
1068
1069
  editorBaseUrl: opts.editorBaseUrl ?? EDITOR_BASE_URL,
@@ -1166,11 +1167,13 @@ function dataAttributeString(attrs) {
1166
1167
  var CODE_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m10 4.5 4 3.5-4 3.5"/><path d="m6 4.5-4 3.5 4 3.5"/></svg>`;
1167
1168
  var COPY_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="5.5" y="5.5" width="8" height="8" rx="1.5"/><path d="M10.5 5.5V3a1.5 1.5 0 0 0-1.5-1.5H3A1.5 1.5 0 0 0 1.5 3v6A1.5 1.5 0 0 0 3 10.5h2.5"/></svg>`;
1168
1169
  var EXTERNAL_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9.5 2.5h4v4"/><path d="M13.5 2.5 7 9"/><path d="M12.5 9.5v3a1 1 0 0 1-1 1h-8a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h3"/></svg>`;
1170
+ var IMAGE_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><rect x="1.5" y="2.5" width="13" height="11" rx="1.5"/><circle cx="5.5" cy="6" r="1.25"/><path d="m14.5 11-3.5-3.5-6.5 6"/></svg>`;
1169
1171
  var EXPAND_ICON = `<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M9.5 2.5h4v4"/><path d="M6.5 13.5h-4v-4"/><path d="M13.5 2.5 9 7"/><path d="M2.5 13.5 7 9"/></svg>`;
1170
1172
  function sourceDisclosure(source, opts) {
1171
1173
  const toggle = opts.showSource ? `<span class="dgmo-toggle" aria-label="View DGMO source">${CODE_ICON}</span>` : "";
1172
1174
  const expandButton = opts.showExpand ? `<button type="button" class="dgmo-toolbar-btn dgmo-expand" aria-label="View full screen">${EXPAND_ICON}</button>` : "";
1173
1175
  const copyButton = opts.showCopy ? `<button type="button" class="dgmo-toolbar-btn dgmo-copy" aria-label="Copy DGMO source" data-dgmo-source="${escapeAttr(source)}">${COPY_ICON}</button>` : "";
1176
+ const copyImageButton = opts.showCopyImage ? `<button type="button" class="dgmo-toolbar-btn dgmo-copy-image" aria-label="Copy as image">${IMAGE_ICON}</button>` : "";
1174
1177
  let openButton = "";
1175
1178
  if (opts.showOpenInEditor) {
1176
1179
  const encoded = encodeDiagramUrl(source, {
@@ -1181,7 +1184,7 @@ function sourceDisclosure(source, opts) {
1181
1184
  openButton = `<a href="${escapeAttr(encoded.url)}" target="_blank" rel="noopener noreferrer" class="dgmo-toolbar-btn dgmo-open" aria-label="Open in online editor">${EXTERNAL_ICON}</a>`;
1182
1185
  }
1183
1186
  }
1184
- const buttons = `${toggle}${expandButton}${copyButton}${openButton}`;
1187
+ const buttons = `${toggle}${expandButton}${copyButton}${copyImageButton}${openButton}`;
1185
1188
  if (!buttons) return "";
1186
1189
  if (!opts.showSource) {
1187
1190
  return `<div class="dgmo-source-wrap"><div class="dgmo-toolbar">${buttons}</div></div>`;
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-6OSGENN5.js";
11
11
  import {
12
12
  parseDgmoChartType
13
- } from "./chunk-2HSHWPTO.js";
13
+ } from "./chunk-BTP2BMWN.js";
14
14
  import {
15
15
  parseRaci
16
16
  } from "./chunk-KRPLP5LP.js";
@@ -22,26 +22,26 @@ import {
22
22
  import "./chunk-ZECJ7Q6C.js";
23
23
  import "./chunk-CDM6XMOT.js";
24
24
  import "./chunk-2SKMEL7V.js";
25
- import "./chunk-DNM3XZCK.js";
25
+ import "./chunk-IY62DXT2.js";
26
26
  import "./chunk-TIVMAITN.js";
27
- import "./chunk-2MS623GW.js";
27
+ import "./chunk-LJGE43SG.js";
28
28
  import "./chunk-NXMESY4J.js";
29
29
  import "./chunk-EQW6HOP4.js";
30
30
  import "./chunk-MKSTL6DR.js";
31
31
  import "./chunk-CYTFO2LF.js";
32
- import "./chunk-CIHHTS5B.js";
32
+ import "./chunk-S4SJ4LLY.js";
33
33
  import "./chunk-C3Z4DX3V.js";
34
34
  import "./chunk-IYULMRBE.js";
35
- import "./chunk-DLJJOCIT.js";
35
+ import "./chunk-5XBYLYYI.js";
36
36
  import "./chunk-GXCDD6NG.js";
37
37
  import {
38
38
  getAvailablePalettes,
39
39
  getPalette
40
40
  } from "./chunk-FMAVHTYB.js";
41
41
  import "./chunk-N7VMGZCU.js";
42
- import "./chunk-7SXV7NUS.js";
42
+ import "./chunk-KLBTJEIK.js";
43
43
  import "./chunk-NOTA6TEI.js";
44
- import "./chunk-VDY2GR6U.js";
44
+ import "./chunk-67N26CER.js";
45
45
  import "./chunk-7WEYXYLC.js";
46
46
  import "./chunk-QKPOIJBT.js";
47
47
  import "./chunk-ICLB27PZ.js";
@@ -4,7 +4,7 @@ import {
4
4
  countSplineCrossings,
5
5
  deroutePierces,
6
6
  searchBudget
7
- } from "./chunk-6JCTW74W.js";
7
+ } from "./chunk-VB4VMB2I.js";
8
8
 
9
9
  // src/utils/placement-search.ts
10
10
  var SEARCH_RANKERS = ["tight-tree", "longest-path"];