@opendata-ai/openchart-core 8.0.0-rc.12 → 8.0.0-rc.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -991,13 +991,40 @@ interface GraphEncodingChannel {
991
991
  type?: FieldType;
992
992
  /** Scale configuration. Auto-derived from data if omitted. */
993
993
  scale?: ScaleConfig;
994
+ /**
995
+ * Category ordering for the color domain and legend. Graph channels default
996
+ * `'ascending'` (VL-aligned, deterministic); `string[]` pins an explicit
997
+ * order; `null` keeps data order.
998
+ *
999
+ * NOTE: chart encoding channels keep data-order — this graph default is a
1000
+ * deliberate divergence this release (see docs/migrating-v8.md).
1001
+ */
1002
+ sort?: 'ascending' | 'descending' | null | string[];
1003
+ /**
1004
+ * Category values to emphasize on load; the rest dim. Mirrors the chart
1005
+ * `encoding.color.highlight` value list. Distinct from the `highlight()`
1006
+ * runtime verb and `interaction.hover.mode`.
1007
+ */
1008
+ highlight?: string | string[];
994
1009
  }
995
1010
  /** Graph-specific encoding mapping visual properties to node/edge data fields. */
996
1011
  interface GraphEncoding {
997
1012
  /** Color mapping for nodes. */
998
1013
  nodeColor?: GraphEncodingChannel;
999
- /** Size mapping for nodes. */
1014
+ /**
1015
+ * Size mapping for nodes. `scale.type` defaults to `'sqrt'` (area-perceptual,
1016
+ * today's behavior); set `scale.type: 'linear'` for a linear radius ramp.
1017
+ * `scale.range` sets the pixel radius extent (default `[3, 12]`).
1018
+ */
1000
1019
  nodeSize?: GraphEncodingChannel;
1020
+ /**
1021
+ * Opacity mapping for nodes (VL opacity channel). Quantitative fields map
1022
+ * linearly to `[0.25, 1]`; `scale.range` overrides.
1023
+ *
1024
+ * NOTE: there is deliberately no `edgeOpacity` channel — edge alpha is owned
1025
+ * by the interaction alpha-tier machinery (hover dimming, search).
1026
+ */
1027
+ nodeOpacity?: GraphEncodingChannel;
1001
1028
  /** Color mapping for edges. */
1002
1029
  edgeColor?: GraphEncodingChannel;
1003
1030
  /** Width mapping for edges. */
@@ -1006,6 +1033,13 @@ interface GraphEncoding {
1006
1033
  edgeStyle?: GraphEncodingChannel;
1007
1034
  /** Label field for nodes. */
1008
1035
  nodeLabel?: GraphEncodingChannel;
1036
+ /**
1037
+ * Label priority mapping for nodes. Maps a quantitative field to a 0-1
1038
+ * priority range; higher values are shown first as the user zooms in.
1039
+ * Omit to use the default degree-based priority.
1040
+ * `nodeOverrides[id].alwaysShowLabel` still wins as the hard override.
1041
+ */
1042
+ nodeLabelPriority?: GraphEncodingChannel;
1009
1043
  }
1010
1044
  /** Layout algorithm for graph visualization. */
1011
1045
  interface GraphLayoutConfig {
@@ -1026,6 +1060,31 @@ interface GraphLayoutConfig {
1026
1060
  linkStrength?: number;
1027
1061
  /** Whether to apply center force (default true). */
1028
1062
  centerForce?: boolean;
1063
+ /**
1064
+ * Deterministic layout seed. Same spec + seed ⇒ identical settled layout
1065
+ * within a given execution path (worker vs sync parity is not guaranteed).
1066
+ */
1067
+ seed?: number;
1068
+ /**
1069
+ * Repulsion preset (plain-language, no d3 jargon):
1070
+ * `gentle`/`balanced`/`energetic` → chargeStrength −150/−300/−600 and
1071
+ * velocityDecay 0.5/0.4/0.3. A raw `chargeStrength` wins over the preset.
1072
+ */
1073
+ energy?: 'gentle' | 'balanced' | 'energetic';
1074
+ /**
1075
+ * Settle-speed preset: `quick`/`balanced`/`thorough` → alphaDecay
1076
+ * 0.05/0.0228/0.01. Higher = faster cool-down, less final refinement.
1077
+ */
1078
+ settle?: 'quick' | 'balanced' | 'thorough';
1079
+ /**
1080
+ * Headless settle ticks run before the first paint. `true` → 100 ticks under
1081
+ * a 250ms budget; a number sets an explicit tick count; `false` disables.
1082
+ *
1083
+ * Lives in `layout`, NOT `animation`, on purpose: warmup *reduces* motion, so
1084
+ * it must survive `animation: false` (opt-out consumers get less settling
1085
+ * chaos, not more).
1086
+ */
1087
+ warmup?: boolean | number;
1029
1088
  }
1030
1089
  /** Style overrides for a chrome text element. */
1031
1090
  interface ChromeTextStyle {
@@ -2236,6 +2295,70 @@ interface NodeOverride {
2236
2295
  /** Force label to always show regardless of zoom/priority. */
2237
2296
  alwaysShowLabel?: boolean;
2238
2297
  }
2298
+ /**
2299
+ * Per-phase and per-behavior motion config for a graph.
2300
+ *
2301
+ * DEFAULT-ON semantics (deliberately different from charts, which are opt-in):
2302
+ * omit `animation` → the resolver returns full defaults; `animation: false` →
2303
+ * no choreography (but `layout.warmup` still applies); a per-phase `false`
2304
+ * disables just that phase. Graphs are default-on because physics motion
2305
+ * already exists on load and choreography reduces the chaos.
2306
+ */
2307
+ interface GraphAnimationConfig {
2308
+ /** Node/edge reveal on first render. Default `{ duration: 500, ease: 'smooth', stagger: true }`. */
2309
+ enter?: AnimationPhaseConfig | boolean;
2310
+ /** Data-update enter-fade for newly added marks. Default `{ duration: 300, ease: 'smooth' }`. */
2311
+ update?: AnimationPhaseConfig | boolean;
2312
+ /** Ghost fade-out for removed marks. Default `{ duration: 300, ease: 'smooth' }`. */
2313
+ exit?: AnimationPhaseConfig | boolean;
2314
+ /** Camera flight easing. Default duration `'auto'` (derived from the zoom distance). */
2315
+ camera?: {
2316
+ duration?: number;
2317
+ ease?: AnimationEase;
2318
+ } | boolean;
2319
+ /** Hover emphasis crossfade. Default `{ duration: 150, ease: 'smooth' }`. */
2320
+ hover?: {
2321
+ duration?: number;
2322
+ ease?: AnimationEase;
2323
+ } | boolean;
2324
+ }
2325
+ /**
2326
+ * Graph motion spec.
2327
+ * - omitted → full defaults (default-ON)
2328
+ * - `false` → no choreography (warmup still applies)
2329
+ * - object → per-phase control
2330
+ *
2331
+ * `prefers-reduced-motion` is always respected regardless of this value.
2332
+ */
2333
+ type GraphAnimationSpec = boolean | GraphAnimationConfig;
2334
+ /** Interaction behavior for a graph (hover mode, select-fly, opt-in physics). */
2335
+ interface GraphInteractionConfig {
2336
+ /**
2337
+ * Hover emphasis behavior. `neighbors` (default) lights the hovered node and
2338
+ * its adjacency; `category` lights same-category nodes; `node` lights only the
2339
+ * hovered node; `none` disables. `dimOpacity` (default 0.15) is the node dim
2340
+ * tier. Named `mode` (not `highlight`) to avoid colliding with the three other
2341
+ * meanings of "highlight" (the encoding value list, the `highlight()` verb).
2342
+ */
2343
+ hover?: {
2344
+ mode?: 'neighbors' | 'category' | 'node' | 'none';
2345
+ dimOpacity?: number;
2346
+ };
2347
+ /** Selecting a node flies the camera to it. Default `false`. */
2348
+ select?: {
2349
+ flyTo?: boolean;
2350
+ };
2351
+ /**
2352
+ * Opt-in cursor repulsion (nodes drift away from the pointer). Disabled under
2353
+ * `prefers-reduced-motion` and above the node-count gate.
2354
+ */
2355
+ cursorRepulsion?: boolean | {
2356
+ radius?: number;
2357
+ strength?: number;
2358
+ };
2359
+ /** Opt-in springy node drag (user-initiated; no reduced-motion gate). */
2360
+ springyDrag?: boolean;
2361
+ }
2239
2362
  interface GraphSpec {
2240
2363
  /** Discriminant: always "graph". */
2241
2364
  type: 'graph';
@@ -2257,6 +2380,21 @@ interface GraphSpec {
2257
2380
  theme?: ThemeConfig;
2258
2381
  /** Dark mode behavior. */
2259
2382
  darkMode?: DarkMode;
2383
+ /**
2384
+ * Motion configuration. DEFAULT-ON: omit for full defaults, `false` to opt
2385
+ * out of choreography (layout warmup still applies).
2386
+ */
2387
+ animation?: GraphAnimationSpec;
2388
+ /** Interaction behavior (hover mode, select-fly, opt-in physics). */
2389
+ interaction?: GraphInteractionConfig;
2390
+ /**
2391
+ * Built-in legend. Interactive by default. Set `false` if you render your own
2392
+ * legend, so the built-in filter UI doesn't compete with it.
2393
+ */
2394
+ legend?: boolean | {
2395
+ interactive?: boolean;
2396
+ counts?: boolean;
2397
+ };
2260
2398
  /** Whether to show the tryOpenData.ai watermark. Defaults to true. */
2261
2399
  watermark?: boolean;
2262
2400
  }
@@ -3851,6 +3989,8 @@ interface LegendEntry {
3851
3989
  active?: boolean;
3852
3990
  /** True for overflow indicator entries ("+N more"). Not interactive. */
3853
3991
  overflow?: boolean;
3992
+ /** Node/edge count for this category (graph legends). Additive; undefined elsewhere. */
3993
+ count?: number;
3854
3994
  }
3855
3995
  /** The encoding channel a legend keys. */
3856
3996
  type LegendChannel = 'color' | 'size';
@@ -6031,4 +6171,4 @@ declare const CSS_TOKEN_ROOT_SELECTORS: readonly string[];
6031
6171
  declare const CSS_TOKENS: readonly CssTokenDef[];
6032
6172
  declare function cssTokenDefault(name: string, mode: 'light' | 'dark'): string;
6033
6173
 
6034
- export { type A11yConfig, type A11yMetadata, ACHROMATIC_RAMP, AXIS_TITLE_GAP, AXIS_TITLE_OFFSET_COMPACT, AXIS_TITLE_OFFSET_DEFAULT, AXIS_TITLE_TRAILING_PAD, type AggregateOp, type AggregateTransform, type AnimationConfig, type AnimationEase, type AnimationPhaseConfig, type AnimationSpec, type AnimationStagger, type Annotation, type AnnotationAnchor, type AnnotationFootnote, type AnnotationOffset, type AnnotationPosition, type ArcEncoding, type ArcMark, type AreaEncoding, type AreaMark, type AxisConfig, type AxisLabelDensity, type AxisLayout, type AxisTick, BRAND_FONT_SIZE, BRAND_MIN_WIDTH, BRAND_RESERVE_WIDTH, BREAKPOINT_COMPACT_MAX, BREAKPOINT_MEDIUM_MAX, type BarColumnConfig, type BarEncoding, type BarListEncoding, type BarListLayout, type BarListRowMark, type BarListSpec, type BarListSpecWithoutData, type BarTableCell, type BaseLegendLayout, type BeeswarmEncoding, type BinParams, type BinTransform, type Breakpoint, CATEGORICAL_PALETTE, COMPACT_WIDTH, CSS_TOKENS, CSS_TOKEN_ROOT_SELECTORS, type CalculateExpression, type CalculateTransform, type CalendarEncoding, type CategoricalLegendLayout, type CategoricalPalette, type CategoryColorsConfig, type CategoryTableCell, type CellStyle, type ChannelRule, type ChartBuilderOptions, type ChartEventHandlers, type ChartLayout, type ChartSpec, type ChartSpecOverride, type ChartSpecWithoutData, type Chrome, type ChromeDefaults, type ChromeKey, type ChromeMode, type ChromeText, type ChromeTextStyle, type ChromeThemeOverride, type CircleEncoding, type ColorBlindnessType, type ColumnConfig, type CompileOptions, type CompileTableOptions, type CompileWarning, type Condition, type ConditionalValueDef, type ConnectorConfig, type ConnectorType, type ContinuousLegendBin, type ContinuousLegendLayout, type ContinuousLegendTick, type CssTokenDef, DEFAULT_THEME, DIVERGING_PALETTES, type DarkMode, type DataRow, type DateGranularity, type Display, type DivergingPalette, EXTENDED_OFFSET_STRATEGIES, type ElementEdit, type ElementRef, type Encoding, type EncodingChannel, type EncodingRule, type EndpointLabelContent, type EndpointLabelEntry, type EndpointLabelsConfig, type EndpointLabelsLayout, FOOTNOTE_LINE_HEIGHT, type FacetChannel, type FacetLayout, type FacetPanelLayout, type FieldFormatContext, type FieldPredicate, type FieldRef, type FieldType, type FillPatternType, type FilterPredicate, type FilterTransform, type FlagTableCell, type FoldTransform, GRAPH_ENCODING_RULES, type GradientColorStop, type GradientDef, type GradientLegendLayout, type GradientStop, type GraphChannelRule, type GraphEdge, type GraphEdgeLayout, type GraphEncoding, type GraphEncodingChannel, type GraphLayout, type GraphLayoutConfig, type GraphNode, type GraphNodeLayout, type GraphSpec, type GraphSpecWithoutData, type Gridline, HEIGHT_CRAMPED_MAX, HEIGHT_SHORT_MAX, HPAD_COMPACT_FRACTION, HPAD_COMPACT_MIN, type HeatmapColumnConfig, type HeatmapTableCell, type HeightClass, type ImageColumnConfig, type ImageTableCell, LABEL_GAP_COMPACT, LABEL_GAP_DEFAULT, LABEL_GAP_NARROW_MAX, type LabelCandidate, type LabelConfig, type LabelDensity, type LabelMode, type LabelPriority, type LabelSpec, type LayerSpec, type LayoutStrategy, type LegendChannel, type LegendConfig, type LegendEntry, type LegendEntryPosition, type LegendLayout, type LegendPosition, type LineEncoding, type LineMark, type LinearGradient, type LogicalAnd, type LogicalNot, type LogicalOr, type LollipopEncoding, MARK_DISPLAY_NAMES, MARK_ENCODING_RULES, MARK_TYPES, MAX_LEFT_LABEL_FRACTION_COMPACT, MAX_LEFT_LABEL_FRACTION_DEFAULT, MAX_LEFT_LABEL_FRACTION_MEDIUM, MAX_LEFT_LABEL_FRACTION_MEDIUM_MAX, type MapBorders, type MapEncoding, type MapFeatureMark, type MapFocus, type MapFocusLayout, type MapGeo, type MapLayout, type MapPointMark, type MapPointsLayer, type MapProjection, type MapSpec, type MapSpecWithoutData, type Margins, type Mark, type MarkAria, type MarkDef, type MarkEvent, type MarkType, type MeasureTextFn, type Metric, NARROW_VIEWPORT_MAX, type NodeOverride, type NumberFormatter, OFFSET_STRATEGIES, type OffsetStrategy, type PaginationState, type ParliamentEncoding, type Point, type PointEncoding, type PointMark, type RadialGradient, type RangeAnnotation, type RangeEncoding, type Rect, type RectEncoding, type RectMark, type RefLineAnnotation, type RelativeTimeRef, type ResolveConfig, type ResolveMode, type ResolvedAnimation, type ResolvedAnimationPhase, type ResolvedAnnotation, type ResolvedChrome, type ResolvedChromeElement, type ResolvedColumn, type ResolvedFillPattern, type ResolvedLabel, type ResolvedMetricBar, type ResolvedMetricCell, type ResolvedSeriesSearch, type ResolvedTheme, type ResolvedYouDrawIt, type ResponsiveConfig, type RuleMarkLayout, SEQUENTIAL_PALETTES, SUPPORTED_SCHEME_NAMES, type SankeyEncoding, type SankeyLayout, type SankeyLinkColor, type SankeyLinkMark, type SankeyNodeAlign, type SankeyNodeMark, type SankeySpec, type SankeySpecWithoutData, type ScaleConfig, type ScaleInvert, type ScaleType, type SequentialPalette, type SeriesSearchConfig, type SeriesStrategy, type SeriesStyle, type SizeLegendCircle, type SizeLegendLayout, type SortByField, type SortState, type SparklineColumnConfig, type SparklineData, type SparklineTableCell, type StoredVizSpec, TICK_LABEL_OFFSET, TICK_LINE_HEIGHT_FACTOR, TOP_PAD_EXTRA_NARROW, TOP_PAD_NARROW_MAX, type TableBuilderOptions, type TableCell, type TableCellBase, type TableLayout, type TableRow, type TableSpec, type TableSpecWithoutData, type TextAnnotation, type TextEncoding, type TextMarkLayout, type TextStyle, type TextTableCell, type Theme, type ThemeChromeDefaults, type ThemeColors, type ThemeConfig, type ThemeFontSizes, type ThemeFontWeights, type ThemeFonts, type ThemeSpacing, type TickEncoding, type TickMarkLayout, type TileMapBuilderOptions, type TileMapEncoding, type TileMapLayout, type TileMapPalette, type TileMapSpec, type TileMapSpecWithoutData, type TileMapTileMark, type TimeUnit, type TimeUnitTransform, type TokenValue, type TooltipContent, type TooltipField, type Transform, type ValueDef, type VizSpec, type WaffleEncoding, type WindowFieldDef, type WindowOp, type WindowSortField, type WindowTransform, type XAxisExtentInput, X_AXIS_BAND_HEIGHT, X_AXIS_ROTATED_EXTENT_CAP, X_AXIS_TITLE_BAND, X_AXIS_TITLE_BAND_ROTATED, type YouDrawItConfig, type YouDrawItSample, type YouDrawItYInvert, abbreviateNumber, adaptColorForDarkMode, adaptForLightLineStroke, adaptTheme, areaChart, axisTitleOffset, barChart, buildCompactStepFormatter, buildD3Formatter, buildTemporalFormatter, checkPaletteDistinguishability, columnChart, computeChrome, computeFieldFormatContext, computeLabelBounds, computeXAxisExtentFromLabels, contrastRatio, cssTokenDefault, dataTable, deepMergeSpec, defaultNumberFormatter, detectCollision, donutChart, dotChart, editorial, elementRef, essay, estimateTextWidth, findAccessibleColor, footnoteBandHeight, formatCurrency, formatDate, formatNumber, formatOrdinal, formatPercent, generateAltText, generateAriaLabels, generateDataTable, getAxisTitleOffset, getBreakpoint, getHeightClass, getLayoutStrategy, getRepresentativeColor, heuristicMeasure, inferFieldType, isAxislessMark, isBarListSpec, isChartSpec, isConditionalDef, isEncodingChannel, isGradientDef, isGraphSpec, isLayerSpec, isMapSpec, isOpaqueColor, isRangeAnnotation, isRefLineAnnotation, isSankeySpec, isTableSpec, isTextAnnotation, isTileMapSpec, isValueDef, isYearContext, lineChart, maxRotatedLabelWidth, meetsAA, overlapArea, pickLabelColor, pieChart, resolveCollisions, resolveMarkDef, resolveMarkType, resolveMeasurer, resolveNumberFormatter, resolveSchemeName, resolveTheme, scatterChart, simulateColorBlindness, textAscent, tileMap, truncateRotatedLabel, truncateToWidth, wire, wrapText };
6174
+ export { type A11yConfig, type A11yMetadata, ACHROMATIC_RAMP, AXIS_TITLE_GAP, AXIS_TITLE_OFFSET_COMPACT, AXIS_TITLE_OFFSET_DEFAULT, AXIS_TITLE_TRAILING_PAD, type AggregateOp, type AggregateTransform, type AnimationConfig, type AnimationEase, type AnimationPhaseConfig, type AnimationSpec, type AnimationStagger, type Annotation, type AnnotationAnchor, type AnnotationFootnote, type AnnotationOffset, type AnnotationPosition, type ArcEncoding, type ArcMark, type AreaEncoding, type AreaMark, type AxisConfig, type AxisLabelDensity, type AxisLayout, type AxisTick, BRAND_FONT_SIZE, BRAND_MIN_WIDTH, BRAND_RESERVE_WIDTH, BREAKPOINT_COMPACT_MAX, BREAKPOINT_MEDIUM_MAX, type BarColumnConfig, type BarEncoding, type BarListEncoding, type BarListLayout, type BarListRowMark, type BarListSpec, type BarListSpecWithoutData, type BarTableCell, type BaseLegendLayout, type BeeswarmEncoding, type BinParams, type BinTransform, type Breakpoint, CATEGORICAL_PALETTE, COMPACT_WIDTH, CSS_TOKENS, CSS_TOKEN_ROOT_SELECTORS, type CalculateExpression, type CalculateTransform, type CalendarEncoding, type CategoricalLegendLayout, type CategoricalPalette, type CategoryColorsConfig, type CategoryTableCell, type CellStyle, type ChannelRule, type ChartBuilderOptions, type ChartEventHandlers, type ChartLayout, type ChartSpec, type ChartSpecOverride, type ChartSpecWithoutData, type Chrome, type ChromeDefaults, type ChromeKey, type ChromeMode, type ChromeText, type ChromeTextStyle, type ChromeThemeOverride, type CircleEncoding, type ColorBlindnessType, type ColumnConfig, type CompileOptions, type CompileTableOptions, type CompileWarning, type Condition, type ConditionalValueDef, type ConnectorConfig, type ConnectorType, type ContinuousLegendBin, type ContinuousLegendLayout, type ContinuousLegendTick, type CssTokenDef, DEFAULT_THEME, DIVERGING_PALETTES, type DarkMode, type DataRow, type DateGranularity, type Display, type DivergingPalette, EXTENDED_OFFSET_STRATEGIES, type ElementEdit, type ElementRef, type Encoding, type EncodingChannel, type EncodingRule, type EndpointLabelContent, type EndpointLabelEntry, type EndpointLabelsConfig, type EndpointLabelsLayout, FOOTNOTE_LINE_HEIGHT, type FacetChannel, type FacetLayout, type FacetPanelLayout, type FieldFormatContext, type FieldPredicate, type FieldRef, type FieldType, type FillPatternType, type FilterPredicate, type FilterTransform, type FlagTableCell, type FoldTransform, GRAPH_ENCODING_RULES, type GradientColorStop, type GradientDef, type GradientLegendLayout, type GradientStop, type GraphAnimationConfig, type GraphAnimationSpec, type GraphChannelRule, type GraphEdge, type GraphEdgeLayout, type GraphEncoding, type GraphEncodingChannel, type GraphInteractionConfig, type GraphLayout, type GraphLayoutConfig, type GraphNode, type GraphNodeLayout, type GraphSpec, type GraphSpecWithoutData, type Gridline, HEIGHT_CRAMPED_MAX, HEIGHT_SHORT_MAX, HPAD_COMPACT_FRACTION, HPAD_COMPACT_MIN, type HeatmapColumnConfig, type HeatmapTableCell, type HeightClass, type ImageColumnConfig, type ImageTableCell, LABEL_GAP_COMPACT, LABEL_GAP_DEFAULT, LABEL_GAP_NARROW_MAX, type LabelCandidate, type LabelConfig, type LabelDensity, type LabelMode, type LabelPriority, type LabelSpec, type LayerSpec, type LayoutStrategy, type LegendChannel, type LegendConfig, type LegendEntry, type LegendEntryPosition, type LegendLayout, type LegendPosition, type LineEncoding, type LineMark, type LinearGradient, type LogicalAnd, type LogicalNot, type LogicalOr, type LollipopEncoding, MARK_DISPLAY_NAMES, MARK_ENCODING_RULES, MARK_TYPES, MAX_LEFT_LABEL_FRACTION_COMPACT, MAX_LEFT_LABEL_FRACTION_DEFAULT, MAX_LEFT_LABEL_FRACTION_MEDIUM, MAX_LEFT_LABEL_FRACTION_MEDIUM_MAX, type MapBorders, type MapEncoding, type MapFeatureMark, type MapFocus, type MapFocusLayout, type MapGeo, type MapLayout, type MapPointMark, type MapPointsLayer, type MapProjection, type MapSpec, type MapSpecWithoutData, type Margins, type Mark, type MarkAria, type MarkDef, type MarkEvent, type MarkType, type MeasureTextFn, type Metric, NARROW_VIEWPORT_MAX, type NodeOverride, type NumberFormatter, OFFSET_STRATEGIES, type OffsetStrategy, type PaginationState, type ParliamentEncoding, type Point, type PointEncoding, type PointMark, type RadialGradient, type RangeAnnotation, type RangeEncoding, type Rect, type RectEncoding, type RectMark, type RefLineAnnotation, type RelativeTimeRef, type ResolveConfig, type ResolveMode, type ResolvedAnimation, type ResolvedAnimationPhase, type ResolvedAnnotation, type ResolvedChrome, type ResolvedChromeElement, type ResolvedColumn, type ResolvedFillPattern, type ResolvedLabel, type ResolvedMetricBar, type ResolvedMetricCell, type ResolvedSeriesSearch, type ResolvedTheme, type ResolvedYouDrawIt, type ResponsiveConfig, type RuleMarkLayout, SEQUENTIAL_PALETTES, SUPPORTED_SCHEME_NAMES, type SankeyEncoding, type SankeyLayout, type SankeyLinkColor, type SankeyLinkMark, type SankeyNodeAlign, type SankeyNodeMark, type SankeySpec, type SankeySpecWithoutData, type ScaleConfig, type ScaleInvert, type ScaleType, type SequentialPalette, type SeriesSearchConfig, type SeriesStrategy, type SeriesStyle, type SizeLegendCircle, type SizeLegendLayout, type SortByField, type SortState, type SparklineColumnConfig, type SparklineData, type SparklineTableCell, type StoredVizSpec, TICK_LABEL_OFFSET, TICK_LINE_HEIGHT_FACTOR, TOP_PAD_EXTRA_NARROW, TOP_PAD_NARROW_MAX, type TableBuilderOptions, type TableCell, type TableCellBase, type TableLayout, type TableRow, type TableSpec, type TableSpecWithoutData, type TextAnnotation, type TextEncoding, type TextMarkLayout, type TextStyle, type TextTableCell, type Theme, type ThemeChromeDefaults, type ThemeColors, type ThemeConfig, type ThemeFontSizes, type ThemeFontWeights, type ThemeFonts, type ThemeSpacing, type TickEncoding, type TickMarkLayout, type TileMapBuilderOptions, type TileMapEncoding, type TileMapLayout, type TileMapPalette, type TileMapSpec, type TileMapSpecWithoutData, type TileMapTileMark, type TimeUnit, type TimeUnitTransform, type TokenValue, type TooltipContent, type TooltipField, type Transform, type ValueDef, type VizSpec, type WaffleEncoding, type WindowFieldDef, type WindowOp, type WindowSortField, type WindowTransform, type XAxisExtentInput, X_AXIS_BAND_HEIGHT, X_AXIS_ROTATED_EXTENT_CAP, X_AXIS_TITLE_BAND, X_AXIS_TITLE_BAND_ROTATED, type YouDrawItConfig, type YouDrawItSample, type YouDrawItYInvert, abbreviateNumber, adaptColorForDarkMode, adaptForLightLineStroke, adaptTheme, areaChart, axisTitleOffset, barChart, buildCompactStepFormatter, buildD3Formatter, buildTemporalFormatter, checkPaletteDistinguishability, columnChart, computeChrome, computeFieldFormatContext, computeLabelBounds, computeXAxisExtentFromLabels, contrastRatio, cssTokenDefault, dataTable, deepMergeSpec, defaultNumberFormatter, detectCollision, donutChart, dotChart, editorial, elementRef, essay, estimateTextWidth, findAccessibleColor, footnoteBandHeight, formatCurrency, formatDate, formatNumber, formatOrdinal, formatPercent, generateAltText, generateAriaLabels, generateDataTable, getAxisTitleOffset, getBreakpoint, getHeightClass, getLayoutStrategy, getRepresentativeColor, heuristicMeasure, inferFieldType, isAxislessMark, isBarListSpec, isChartSpec, isConditionalDef, isEncodingChannel, isGradientDef, isGraphSpec, isLayerSpec, isMapSpec, isOpaqueColor, isRangeAnnotation, isRefLineAnnotation, isSankeySpec, isTableSpec, isTextAnnotation, isTileMapSpec, isValueDef, isYearContext, lineChart, maxRotatedLabelWidth, meetsAA, overlapArea, pickLabelColor, pieChart, resolveCollisions, resolveMarkDef, resolveMarkType, resolveMeasurer, resolveNumberFormatter, resolveSchemeName, resolveTheme, scatterChart, simulateColorBlindness, textAscent, tileMap, truncateRotatedLabel, truncateToWidth, wire, wrapText };