vizmatic 0.7.0 → 0.7.1

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.cts CHANGED
@@ -367,6 +367,43 @@ interface MetricCardProps {
367
367
  }
368
368
  declare function MetricCard({ label, value, c, tone, detail, width, minWidth, minHeight, padding: paddingProp, radius: radiusProp, shadow, align, math, valueMono, valueFontSize, valueColor, }: MetricCardProps): React.ReactElement;
369
369
 
370
+ /**
371
+ * This class handles everything related to fonts.
372
+ */
373
+
374
+ type Weight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
375
+ type FontStyle = 'normal' | 'italic';
376
+ interface FontOptions {
377
+ data: Buffer | ArrayBuffer;
378
+ name: string;
379
+ weight?: Weight;
380
+ style?: FontStyle;
381
+ lang?: string;
382
+ }
383
+
384
+ /**
385
+ * This module is used to calculate the layout of the current sub-tree.
386
+ */
387
+
388
+ interface SatoriNode {
389
+ left: number;
390
+ top: number;
391
+ width: number;
392
+ height: number;
393
+ type: string;
394
+ key?: string | number;
395
+ props: Record<string, any>;
396
+ textContent?: string;
397
+ }
398
+
399
+ interface ChartAccessibilityProps {
400
+ /** Stable namespace for this chart's exported SVG metadata. */
401
+ id?: string;
402
+ ariaLabel?: string;
403
+ /** Context to include with the generated data summary. */
404
+ description?: string;
405
+ }
406
+
370
407
  /** Width of a line of text in pixels, to size boxes before layout runs. */
371
408
  declare function estimateTextWidth(text: string, fontSize: number, options?: {
372
409
  mono?: boolean;
@@ -379,7 +416,7 @@ declare function StatusDot({ status, c, size }: {
379
416
  c: ThemeColors;
380
417
  size?: number;
381
418
  }): React.ReactElement;
382
- interface SparklineProps {
419
+ interface SparklineProps extends ChartAccessibilityProps {
383
420
  values: readonly number[];
384
421
  c: ThemeColors;
385
422
  width?: number;
@@ -395,7 +432,7 @@ interface SparklineProps {
395
432
  strokeWidth?: number;
396
433
  }
397
434
  /** A word-sized line chart for putting a trend next to a number. */
398
- declare function Sparkline({ values, c, width, height, tone, color, area, endDot, min, max, strokeWidth, }: SparklineProps): React.ReactElement;
435
+ declare function Sparkline({ values, c, width, height, tone, color, area, endDot, min, max, strokeWidth, ...accessibility }: SparklineProps): React.ReactElement;
399
436
  interface InlineBarProps {
400
437
  value: number;
401
438
  c: ThemeColors;
@@ -524,7 +561,7 @@ interface MiniBarDatum {
524
561
  valueLabel?: React.ReactNode;
525
562
  opacity?: number;
526
563
  }
527
- interface MiniBarChartProps {
564
+ interface MiniBarChartProps extends ChartAccessibilityProps {
528
565
  data: MiniBarDatum[];
529
566
  c: ThemeColors;
530
567
  max?: number;
@@ -536,7 +573,7 @@ interface MiniBarChartProps {
536
573
  fontSize?: number;
537
574
  showValues?: boolean;
538
575
  }
539
- declare function MiniBarChart({ data, c, max, minBarHeight, height, barWidth: barWidthProp, gap: gapProp, radius: radiusProp, fontSize: fontSizeProp, showValues, }: MiniBarChartProps): React.ReactElement;
576
+ declare function MiniBarChart({ data, c, max, minBarHeight, height, barWidth: barWidthProp, gap: gapProp, radius: radiusProp, fontSize: fontSizeProp, showValues, ...accessibility }: MiniBarChartProps): React.ReactElement;
540
577
  interface DetailListProps {
541
578
  items: React.ReactNode[];
542
579
  c: ThemeColors;
@@ -1172,6 +1209,62 @@ interface DeploymentDiagramProps extends Omit<GraphDiagramProps, 'nodes' | 'edge
1172
1209
  */
1173
1210
  declare function DeploymentDiagram({ c, boundaries, nodes, connections, ariaLabel, ...graphProps }: DeploymentDiagramProps): React.ReactElement;
1174
1211
 
1212
+ /** Multiplicity at this endpoint, per one entity at the opposite endpoint. */
1213
+ type EntityRelationshipCardinality = 'one' | 'zero-or-one' | 'one-or-many' | 'zero-or-many';
1214
+ interface EntityRelationshipAttribute {
1215
+ /** Unique within this entity. Also used by relationship endpoints. */
1216
+ name: string;
1217
+ type: string;
1218
+ /** Multiple marked attributes form one composite primary key. */
1219
+ primaryKey?: boolean;
1220
+ foreignKey?: boolean;
1221
+ unique?: boolean;
1222
+ nullable?: boolean;
1223
+ }
1224
+ interface EntityRelationshipEntity {
1225
+ id: string;
1226
+ label?: string;
1227
+ tone?: ToneName;
1228
+ attributes: readonly EntityRelationshipAttribute[];
1229
+ }
1230
+ interface EntityRelationshipEndpoint {
1231
+ entity: string;
1232
+ /** An attribute name, or an ordered list for a composite relationship. */
1233
+ attribute?: string | readonly string[];
1234
+ cardinality: EntityRelationshipCardinality;
1235
+ }
1236
+ interface EntityRelationship {
1237
+ id: string;
1238
+ from: EntityRelationshipEndpoint;
1239
+ to: EntityRelationshipEndpoint;
1240
+ label?: string;
1241
+ /** Solid for identifying relationships; dashed for non-identifying relationships. */
1242
+ identifying?: boolean;
1243
+ }
1244
+ interface EntityRelationshipDiagramProps {
1245
+ c: ThemeColors;
1246
+ entities: readonly EntityRelationshipEntity[];
1247
+ relationships?: readonly EntityRelationship[];
1248
+ title?: string;
1249
+ description?: string;
1250
+ id?: string;
1251
+ direction?: 'LR' | 'RL' | 'TB' | 'BT';
1252
+ /** Canvas width. A smaller canvas raises an error instead of shrinking the text. */
1253
+ width?: number;
1254
+ /** Canvas height. A smaller canvas raises an error instead of shrinking the text. */
1255
+ height?: number;
1256
+ /** Minimum entity table width. Long names expand it. */
1257
+ entityWidth?: number;
1258
+ fontSize?: number;
1259
+ padding?: number;
1260
+ /** Minimum space between connected entity tables. */
1261
+ gap?: number;
1262
+ showLegend?: boolean;
1263
+ density?: Density;
1264
+ }
1265
+ /** Typed relational schemas with attribute tables, composite keys, and crow-foot multiplicity. */
1266
+ declare function EntityRelationshipDiagram({ c: baseTheme, entities, relationships, title, description, id, direction, width, height, entityWidth, fontSize, padding: paddingProp, gap: gapProp, showLegend, density, }: EntityRelationshipDiagramProps): React.ReactElement;
1267
+
1175
1268
  /** Supported transformer computation block kinds. */
1176
1269
  type TransformerBlockKind = 'embedding' | 'attention' | 'norm' | 'mlp' | 'residual' | 'router' | 'output' | 'custom';
1177
1270
  /** A tensor dimension may be symbolic (for example, `T` or `d_model`). */
@@ -1231,7 +1324,7 @@ declare function formatTensorShape(shape: TensorShape | undefined): string | und
1231
1324
  */
1232
1325
  declare function TransformerTopology({ c, blocks, routes, expandRepeats, ariaLabel, ...graphProps }: TransformerTopologyProps): React.ReactElement;
1233
1326
 
1234
- interface MatrixProps {
1327
+ interface MatrixProps extends ChartAccessibilityProps {
1235
1328
  data: number[][];
1236
1329
  c: ThemeColors;
1237
1330
  rowLabels?: string[];
@@ -1255,8 +1348,8 @@ interface MatrixProps {
1255
1348
  highlightColor?: string;
1256
1349
  colorDomain?: readonly [number, number];
1257
1350
  }
1258
- declare function Matrix({ data, c, rowLabels, colLabels, labels, title, cellSize: cellSizeProp, cellWidth, cellHeight, rowLabelWidth, format, colorize, colorScale, fontSize: fontSizeProp, highlightRow, highlightCol, highlightCell, highlightColor, colorDomain, }: MatrixProps): React.ReactElement;
1259
- interface HeatmapProps {
1351
+ declare function Matrix({ data, c, rowLabels, colLabels, labels, title, cellSize: cellSizeProp, cellWidth, cellHeight, rowLabelWidth, format, colorize, colorScale, fontSize: fontSizeProp, highlightRow, highlightCol, highlightCell, highlightColor, colorDomain, ...accessibility }: MatrixProps): React.ReactElement;
1352
+ interface HeatmapProps extends ChartAccessibilityProps {
1260
1353
  data: number[][];
1261
1354
  xLabels: string[];
1262
1355
  yLabels: string[];
@@ -1278,7 +1371,7 @@ interface HeatmapProps {
1278
1371
  highlightColor?: string;
1279
1372
  colorDomain?: readonly [number, number];
1280
1373
  }
1281
- declare function Heatmap({ data, xLabels, yLabels, c, labels, title, cellSize, cellWidth, cellHeight, rowLabelWidth, colorScale, fontSize, highlightRow, highlightCol, highlightCell, highlightColor, colorDomain, }: HeatmapProps): React.ReactElement;
1374
+ declare function Heatmap({ data, xLabels, yLabels, c, labels, title, cellSize, cellWidth, cellHeight, rowLabelWidth, colorScale, fontSize, highlightRow, highlightCol, highlightCell, highlightColor, colorDomain, ...accessibility }: HeatmapProps): React.ReactElement;
1282
1375
  interface TiledMatrixRegion {
1283
1376
  rowStart: number;
1284
1377
  rowEnd: number;
@@ -1286,11 +1379,10 @@ interface TiledMatrixRegion {
1286
1379
  colEnd: number;
1287
1380
  tone?: ToneName;
1288
1381
  }
1289
- interface TiledMatrixProps {
1382
+ interface TiledMatrixProps extends ChartAccessibilityProps {
1290
1383
  rows: number;
1291
1384
  cols: number;
1292
1385
  c: ThemeColors;
1293
- ariaLabel?: string;
1294
1386
  regions?: TiledMatrixRegion[];
1295
1387
  title?: React.ReactNode;
1296
1388
  subtitle?: React.ReactNode;
@@ -1300,7 +1392,7 @@ interface TiledMatrixProps {
1300
1392
  muted?: boolean;
1301
1393
  crossedOut?: boolean;
1302
1394
  }
1303
- declare function TiledMatrix({ rows, cols, c, ariaLabel, regions, title, subtitle, cellSize, gap: gapProp, tone, muted, crossedOut, }: TiledMatrixProps): React.ReactElement;
1395
+ declare function TiledMatrix({ rows, cols, c, ariaLabel, regions, title, subtitle, cellSize, gap: gapProp, tone, muted, crossedOut, id, description, }: TiledMatrixProps): React.ReactElement;
1304
1396
  interface DataTableProps {
1305
1397
  rows: React.ReactNode[][];
1306
1398
  c: ThemeColors;
@@ -1376,7 +1468,7 @@ interface AxisPlotPath {
1376
1468
  interpolation?: 'linear' | 'step-after';
1377
1469
  dashed?: boolean;
1378
1470
  }
1379
- interface AxisPlotProps {
1471
+ interface AxisPlotProps extends ChartAccessibilityProps {
1380
1472
  c: ThemeColors;
1381
1473
  width: number;
1382
1474
  height: number;
@@ -1400,7 +1492,7 @@ interface AxisPlotProps {
1400
1492
  yAxisLabel?: string;
1401
1493
  children?: React.ReactNode;
1402
1494
  }
1403
- declare function AxisPlot({ c, width, height, xMin, xMax, yMin, yMax, padding: paddingProp, showFrame, showAxes, showGrid, gridCount, frameRx, frameFill, frameStroke, axisColor, points, vectors, paths, xAxisLabel, yAxisLabel, children, }: AxisPlotProps): React.ReactElement;
1495
+ declare function AxisPlot({ c, width, height, xMin, xMax, yMin, yMax, padding: paddingProp, showFrame, showAxes, showGrid, gridCount, frameRx, frameFill, frameStroke, axisColor, points, vectors, paths, xAxisLabel, yAxisLabel, children, ...accessibility }: AxisPlotProps): React.ReactElement;
1404
1496
 
1405
1497
  type ChartValueFormat = 'decimal' | 'percent' | 'integer' | 'compact' | ((value: number) => string);
1406
1498
  interface ChartLegendItem {
@@ -1424,7 +1516,7 @@ interface PlotArea {
1424
1516
  innerWidth: number;
1425
1517
  innerHeight: number;
1426
1518
  }
1427
- interface ChartFrameProps {
1519
+ interface ChartFrameProps extends ChartAccessibilityProps {
1428
1520
  children: React.ReactNode;
1429
1521
  c: ThemeColors;
1430
1522
  title?: string;
@@ -1445,7 +1537,7 @@ interface DonutChartSegment {
1445
1537
  color?: ColorName | string;
1446
1538
  valueLabel?: string;
1447
1539
  }
1448
- interface DonutChartProps {
1540
+ interface DonutChartProps extends ChartAccessibilityProps {
1449
1541
  segments: DonutChartSegment[];
1450
1542
  c: ThemeColors;
1451
1543
  title?: string;
@@ -1461,7 +1553,7 @@ interface DonutChartProps {
1461
1553
  footer?: string;
1462
1554
  }
1463
1555
  /** Pie chart values must be finite, non-negative counts. Zero-valued slices are omitted. */
1464
- interface PieChartProps {
1556
+ interface PieChartProps extends ChartAccessibilityProps {
1465
1557
  segments: DonutChartSegment[];
1466
1558
  c: ThemeColors;
1467
1559
  title?: string;
@@ -1474,8 +1566,8 @@ interface PieChartProps {
1474
1566
  footer?: string;
1475
1567
  }
1476
1568
  /** A categorical part-to-whole chart with a full circular radius. */
1477
- declare function PieChart({ segments, c, title, subtitle, width, height, size, format, showLegend, footer, }: PieChartProps): React.ReactElement;
1478
- declare function DonutChart({ segments, c, title, subtitle, width, height, size, thickness, format, centerLabel, centerValue, showLegend, footer, }: DonutChartProps): React.ReactElement;
1569
+ declare function PieChart({ segments, c, title, subtitle, width, height, size, format, showLegend, footer, ...accessibility }: PieChartProps): React.ReactElement;
1570
+ declare function DonutChart({ segments, c, title, subtitle, width, height, size, thickness, format, centerLabel, centerValue, showLegend, footer, ...accessibility }: DonutChartProps): React.ReactElement;
1479
1571
  interface BarChartDatum {
1480
1572
  label: string;
1481
1573
  value: number;
@@ -1488,7 +1580,7 @@ interface StackedBarSegment {
1488
1580
  color?: ColorName | string;
1489
1581
  valueLabel?: string;
1490
1582
  }
1491
- interface StackedBarProps {
1583
+ interface StackedBarProps extends ChartAccessibilityProps {
1492
1584
  segments: StackedBarSegment[];
1493
1585
  c: ThemeColors;
1494
1586
  width?: number;
@@ -1497,8 +1589,8 @@ interface StackedBarProps {
1497
1589
  subtitle?: string;
1498
1590
  showLegend?: boolean;
1499
1591
  }
1500
- declare function StackedBar({ segments, c, width, height, title, subtitle, showLegend, }: StackedBarProps): React.ReactElement;
1501
- interface BarChartProps {
1592
+ declare function StackedBar({ segments, c, width, height, title, subtitle, showLegend, ...accessibility }: StackedBarProps): React.ReactElement;
1593
+ interface BarChartProps extends ChartAccessibilityProps {
1502
1594
  data: BarChartDatum[];
1503
1595
  c: ThemeColors;
1504
1596
  title?: string;
@@ -1513,8 +1605,8 @@ interface BarChartProps {
1513
1605
  yAxisLabel?: string;
1514
1606
  footer?: string;
1515
1607
  }
1516
- declare function BarChart({ data, c, title, subtitle, width, height, min, max, format, showGrid, showValues, yAxisLabel, footer, }: BarChartProps): React.ReactElement;
1517
- interface ParetoBarChartProps {
1608
+ declare function BarChart({ data, c, title, subtitle, width, height, min, max, format, showGrid, showValues, yAxisLabel, footer, ...accessibility }: BarChartProps): React.ReactElement;
1609
+ interface ParetoBarChartProps extends ChartAccessibilityProps {
1518
1610
  data: BarChartDatum[];
1519
1611
  c: ThemeColors;
1520
1612
  title?: string;
@@ -1527,14 +1619,14 @@ interface ParetoBarChartProps {
1527
1619
  footer?: string;
1528
1620
  }
1529
1621
  /** A classic Pareto chart: stable descending bars with a cumulative percentage line. */
1530
- declare function ParetoBarChart({ data, c, title, subtitle, width, height, format, showGrid, showValues, footer, }: ParetoBarChartProps): React.ReactElement;
1622
+ declare function ParetoBarChart({ data, c, title, subtitle, width, height, format, showGrid, showValues, footer, ...accessibility }: ParetoBarChartProps): React.ReactElement;
1531
1623
  interface LineChartSeries {
1532
1624
  name: string;
1533
1625
  points: number[];
1534
1626
  color?: ColorName | string;
1535
1627
  area?: boolean;
1536
1628
  }
1537
- interface LineChartProps {
1629
+ interface LineChartProps extends ChartAccessibilityProps {
1538
1630
  series: LineChartSeries[];
1539
1631
  c: ThemeColors;
1540
1632
  title?: string;
@@ -1552,7 +1644,7 @@ interface LineChartProps {
1552
1644
  yAxisLabel?: string;
1553
1645
  footer?: string;
1554
1646
  }
1555
- declare function LineChart({ series, c, title, subtitle, width, height, labels, min, max, format, showGrid, showPoints, directLabels, yAxisLabel, footer, }: LineChartProps): React.ReactElement;
1647
+ declare function LineChart({ series, c, title, subtitle, width, height, labels, min, max, format, showGrid, showPoints, directLabels, yAxisLabel, footer, ...accessibility }: LineChartProps): React.ReactElement;
1556
1648
 
1557
1649
  interface ScatterPoint {
1558
1650
  x: number;
@@ -1561,7 +1653,7 @@ interface ScatterPoint {
1561
1653
  color?: ColorName | string;
1562
1654
  size?: number;
1563
1655
  }
1564
- interface ScatterPlotProps {
1656
+ interface ScatterPlotProps extends ChartAccessibilityProps {
1565
1657
  points: ScatterPoint[];
1566
1658
  c: ThemeColors;
1567
1659
  title?: string;
@@ -1579,10 +1671,10 @@ interface ScatterPlotProps {
1579
1671
  showGrid?: boolean;
1580
1672
  footer?: string;
1581
1673
  }
1582
- declare function ScatterPlot({ points, c, title, subtitle, width, height, xMin, xMax, yMin, yMax, xAxisLabel, yAxisLabel, formatX, formatY, showGrid, footer, }: ScatterPlotProps): React.ReactElement;
1674
+ declare function ScatterPlot({ points, c, title, subtitle, width, height, xMin, xMax, yMin, yMax, xAxisLabel, yAxisLabel, formatX, formatY, showGrid, footer, ...accessibility }: ScatterPlotProps): React.ReactElement;
1583
1675
  type ParetoObjective = 'minimize' | 'maximize';
1584
1676
  type ParetoXScale = 'linear' | 'log';
1585
- interface ParetoChartProps {
1677
+ interface ParetoChartProps extends ChartAccessibilityProps {
1586
1678
  points: ScatterPoint[];
1587
1679
  c: ThemeColors;
1588
1680
  title?: string;
@@ -1610,14 +1702,14 @@ interface ParetoChartProps {
1610
1702
  * Scatter plot that highlights non-dominated points and their Pareto frontier.
1611
1703
  * By default, lower x and higher y are preferred, which suits cost-versus-score charts.
1612
1704
  */
1613
- declare function ParetoChart({ points, c, title, subtitle, width, height, xMin, xMax, yMin, yMax, xAxisLabel, yAxisLabel, formatX, formatY, showGrid, xScale, xObjective, yObjective, frontierColor, showGoal, goalLabel, footer, }: ParetoChartProps): React.ReactElement;
1705
+ declare function ParetoChart({ points, c, title, subtitle, width, height, xMin, xMax, yMin, yMax, xAxisLabel, yAxisLabel, formatX, formatY, showGrid, xScale, xObjective, yObjective, frontierColor, showGoal, goalLabel, footer, ...accessibility }: ParetoChartProps): React.ReactElement;
1614
1706
  interface QuadrantRegion {
1615
1707
  label: string;
1616
1708
  detail?: string;
1617
1709
  color?: ColorName | string;
1618
1710
  emphasis?: boolean;
1619
1711
  }
1620
- interface QuadrantChartProps {
1712
+ interface QuadrantChartProps extends ChartAccessibilityProps {
1621
1713
  points: ScatterPoint[];
1622
1714
  regions: {
1623
1715
  topLeft: QuadrantRegion;
@@ -1644,7 +1736,7 @@ interface QuadrantChartProps {
1644
1736
  showGrid?: boolean;
1645
1737
  footer?: string;
1646
1738
  }
1647
- declare function QuadrantChart({ points, regions, c, title, subtitle, width, height, xMin, xMax, yMin, yMax, xThreshold, yThreshold, xAxisLabel, yAxisLabel, formatX, formatY, showTicks, showGrid, footer, }: QuadrantChartProps): React.ReactElement;
1739
+ declare function QuadrantChart({ points, regions, c, title, subtitle, width, height, xMin, xMax, yMin, yMax, xThreshold, yThreshold, xAxisLabel, yAxisLabel, formatX, formatY, showTicks, showGrid, footer, ...accessibility }: QuadrantChartProps): React.ReactElement;
1648
1740
  interface IntervalDatum {
1649
1741
  label: string;
1650
1742
  low: number;
@@ -1655,7 +1747,7 @@ interface IntervalDatum {
1655
1747
  midLabel?: string;
1656
1748
  highLabel?: string;
1657
1749
  }
1658
- interface IntervalPlotProps {
1750
+ interface IntervalPlotProps extends ChartAccessibilityProps {
1659
1751
  data: IntervalDatum[];
1660
1752
  c: ThemeColors;
1661
1753
  title?: string;
@@ -1668,7 +1760,7 @@ interface IntervalPlotProps {
1668
1760
  axisLabel?: string;
1669
1761
  footer?: string;
1670
1762
  }
1671
- declare function IntervalPlot({ data, c, title, subtitle, width, height, min, max, format, axisLabel, footer, }: IntervalPlotProps): React.ReactElement;
1763
+ declare function IntervalPlot({ data, c, title, subtitle, width, height, min, max, format, axisLabel, footer, ...accessibility }: IntervalPlotProps): React.ReactElement;
1672
1764
  interface BadgeProps {
1673
1765
  label: string;
1674
1766
  c: ThemeColors;
@@ -2275,35 +2367,6 @@ declare function detectLayoutOverflow(nodes: ReadonlyArray<{
2275
2367
  props: Record<string, unknown>;
2276
2368
  }>, width: number, height: number): OverflowResult;
2277
2369
 
2278
- /**
2279
- * This class handles everything related to fonts.
2280
- */
2281
-
2282
- type Weight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
2283
- type FontStyle = 'normal' | 'italic';
2284
- interface FontOptions {
2285
- data: Buffer | ArrayBuffer;
2286
- name: string;
2287
- weight?: Weight;
2288
- style?: FontStyle;
2289
- lang?: string;
2290
- }
2291
-
2292
- /**
2293
- * This module is used to calculate the layout of the current sub-tree.
2294
- */
2295
-
2296
- interface SatoriNode {
2297
- left: number;
2298
- top: number;
2299
- width: number;
2300
- height: number;
2301
- type: string;
2302
- key?: string | number;
2303
- props: Record<string, any>;
2304
- textContent?: string;
2305
- }
2306
-
2307
2370
  /**
2308
2371
  * Vizmatic — Core Renderer
2309
2372
  *
@@ -3506,5 +3569,5 @@ interface CheckFrameReport {
3506
3569
  */
3507
3570
  declare function checkFrame(input: CheckFrameInput, options?: CheckOptions): Promise<CheckFrameReport>;
3508
3571
 
3509
- export { Arrow, ArrowMarkerDef, AttentionMatrix, AxisPlot, Badge, BadgePill, BarChart, Board, Box, CANVAS_ITEM_COMPONENT, CHECK_DIAGNOSTIC_CODES, CalloutCard, Canvas, CanvasItem, CanvasOverflowError, Card, ChartFrame, CodeBlock, ColorName, Column, Comparison, Connector, DashedLine, DataTable, DataflowDiagram, DefinedAnimation, Density, DeploymentDiagram, DetailList, DiagramLegend, DonutChart, DotPoint, ELEMENT_SYMBOLS, EquationCard, FactRows, Flow, FlowArrow, FreeBodyDiagram, GeometryDiagram, GradientChip, GraphDiagram, Grid, Heatmap, Icon, InlineBar, IntervalPlot, KeyValueList, LayeredNetwork, Legend, LineChart, MathText, Matrix, MetricCard, MetricStrip, MiniBarChart, MoleculeDiagram, NumberLine, Panel, ParetoBarChart, ParetoChart, PieChart, Pipeline, PixelGrid, ProgressList, ProgressRow, QuadrantChart, ReactionEnergyDiagram, ReactionEquation, RenderBackground, Row, ScatterPlot, Scene, SceneFrameRequest, SceneRequest, SequenceDiagram, SmallMultiples, Sparkline, Stack, StackedBar, StatusDot, StatusList, StatusRow, StepCard, SvgFrame, SvgMathText, SvgPoint, TagList, TextLabel, ThemeColors, ThemeMode, Tile, TileGrid, TiledMatrix, Timeline, TitleBar, ToneName, ToneStrip, TransformerTopology, TreeDiagram, ValuePill, VectorArrow, VectorSegment, WatermarkInput, WaveDiagram, WindowFrame, arcSwap, assertTokenHistoryTransition, byteDifferenceState, cameraSvgTransform, categoricalSampling, checkFrame, compareByteSequences, createCanvasComponents, createCueTrack, createFocusDirector, createPlotArea, createPolylineMorph, createTeachingByteDifference, createTeachingCanvas, createTeachingCategoricalSampling, createTeachingFocus, createTeachingRoutedTransfer, createTeachingTokenHistory, createTeachingValueChange, createTeachingVectorAccumulation, cropPixels, cropRgbImage, cropRgbRaster, crossCorrelate2d, decodeRgbPng, defineDiagramIcon, defineIconRegistry, defineIllustration, detectBackgroundColor, detectContentBounds, detectLayoutOverflow, detectOverflow, dotProduct, encodeRgbPng, entropy, escapedByte, estimateTextWidth, flattenRgbImage, formatMathText, formatTensorShape, gaussian, gaussianBlurRgb, gaussianKernel, geometryBounds, getFonts, importD2Graph, importMermaidGraph, interpolateCamera, layoutAllocation, layoutByteDifference, layoutCellGrid, layoutTokenRow, lerpArray, loadAdditionalAsset, mapNumberLine, mergeFocusRegions, morphPolyline, multiplyMatrices, normalizeVector, planTeachingRoutedTransfer, pointAlongPath, projectWorldPoint, reactionBalance, renderAnimatedGif, renderAnimatedGifWithOutput, renderAnimationGif, renderAnimationGifWithOutput, renderMathSvg, renderSceneFrame, renderSceneVideo, renderToBuffer, renderToPng, renderToPngWithOutput, renderToSvg, rgbChannel, sampleFunction, sampleGaussian, sampleWave, scaledDotProductAttention, scopeDensity, seededRandom, smoothstep, stableSoftmax, statusColor, sumForces, tokenHistoryState, tracePolyline, transposeMatrix, typography, valueChangeState, waveValue, weightedVectorState };
3510
- export type { AllocationLayout, AllocationLayoutOptions, AllocationPart, AnimatedScene, AnimationOptions, AnimationOutput, AnimationOverflowContext, ArcSwapOptions, AttentionMatrixProps, AttentionOptions, AttentionResult, AxisPlotPath, AxisPlotPoint, AxisPlotVector, BarChartDatum, BoardProps, ByteDifference, ByteDifferenceColumn, ByteDifferenceKind, ByteDifferenceStateOptions, Camera2D, CameraMotionOptions, CameraViewport, CanvasBounds, CanvasCardOptions, CanvasCardStyle, CanvasItemProps, CanvasMatrixOptions, CanvasPainter, CanvasPanelOptions, CanvasPanelStyle, CanvasParticleOptions, CanvasPoint, CanvasScopeOptions, CanvasTokenRowOptions, CategoricalSamplingModel, CategoricalSamplingOptions, CellGridLayout, CellGridOptions, ChartLegendItem, ChartMargins, ChartValueFormat, CheckAutoSize, CheckAutoSizeAxes, CheckDiagnostic, CheckDiagnosticCode, CheckDiagnosticCounts, CheckDiagnosticLocation, CheckFailurePolicy, CheckFrameInput, CheckFrameReport, CheckOptions, CheckThemeReport, CodeLineSpec, ComparisonSideSpec, CropMode, CropRegion, CrossCorrelateOptions, CuePosition, CueSnapshot, CueTrackOptions, DataflowBoundary, DataflowDiagramProps, DataflowEdge, DataflowEdgeMode, DataflowNode, DataflowNodeKind, DataflowSchema, DataflowSchemaDefinition, DataflowSchemaField, DeploymentBoundary, DeploymentBoundaryKind, DeploymentConnection, DeploymentConnectionKind, DeploymentDiagramProps, DeploymentNode, DeploymentNodeKind, DeploymentPort, DeploymentPortDirection, DeploymentPortInput, DiagnosticSeverity, DiagramIconDefinition, DiagramIconRenderProps, DiagramLegendItem, DiagramStatus, DiscreteCue, DonutChartSegment, ElementComposition, ElementSymbol, FactRow, FlowStageSpec, ForceResultant, ForceVector, FreeBodyDiagramProps, GaussianBlurRgbOptions, GeometryAngle, GeometryBounds, GeometryDiagramProps, GeometryPoint, GeometrySegment, GraphDiagramAnnotation, GraphDiagramEdge, GraphDiagramEdgeArrow, GraphDiagramEdgeKind, GraphDiagramEdgeStyle, GraphDiagramGroup, GraphDiagramNode, GraphDiagramPort, GraphDiagramProps, GraphImportDiagnostic, GraphImportDiagnosticCode, GraphImportDirection, GraphImportGraph, GraphImportResult, GraphImportSource, GraphPortSide, GraphRouting, GridCell, HistoryToken, IconName, IconProps, IllustrationBuilder, IntervalDatum, KernelPadding, KeyValueRow, LayeredNetworkLayer, LegendItem, LineChartSeries, MiniBarDatum, MoleculeAtom, MoleculeAtomId, MoleculeBond, MoleculeBondOrder, MoleculeDiagramProps, MotionEasing, MotionPoint, NumberLineInterval, NumberLineMarker, NumberLineProps, NumberLineTick, NumericImage, NumericMatrix, OverflowResult, ParetoBarChartProps, ParetoChartProps, ParetoObjective, ParetoXScale, PathMorphOptions, PieChartProps, PipelineStage, PixelGridProps, PixelRegion, PlotArea, ProgressRowSpec, QuadrantChartProps, QuadrantRegion, ReactionBalanceResult, ReactionEnergyDiagramProps, ReactionEquationProps, ReactionState, ReactionTerm, RenderMathSvgOptions, RenderMathSvgResult, RenderOptions, RenderOutput, RenderSceneFrameOptions, RenderSceneVideoOptions, RgbChannel, RgbPixel, RgbRaster, SamplingCategory, SatoriNode, ScatterPoint, SceneRenderOutput, SequenceActivation, SequenceDiagramProps, SequenceFragment, SequenceFragmentBranch, SequenceFragmentKind, SequenceItem, SequenceMessage, SequenceMessageKind, SequenceNote, SequenceParticipant, SequenceParticipantKind, SmallMultipleItem, StackedBarSegment, StatusKind, StatusRowSpec, StripMetric, SuppliedCategoricalDraw, TeachingAllocationOptions, TeachingAxesOptions, TeachingBarsOptions, TeachingBarsResult, TeachingByteDifferenceOptions, TeachingCategoricalSamplingOptions, TeachingChangeCueOptions, TeachingConnectionOptions, TeachingCurveOptions, TeachingFlowEdge, TeachingFlowGraphOptions, TeachingFlowNode, TeachingFocusCue, TeachingFocusPainter, TeachingGridHighlight, TeachingGridOptions, TeachingPainter, TeachingPathOptions, TeachingPlot, TeachingRoute, TeachingRouteObstacle, TeachingRoutedEndpoint, TeachingRoutedTransfer, TeachingRoutedTransferOptions, TeachingScatterOptions, TeachingScatterPoint, TeachingTimeInterval, TeachingTimeLane, TeachingTimelineInterval, TeachingTimelineOptions, TeachingTimelineResult, TeachingTokenHistoryOptions, TeachingTransferEndpoint, TeachingTransferOptions, TeachingValueChangeOptions, TeachingVectorAccumulationOptions, TeachingVectorProjection, TeachingVectorSegment, TensorDimension, TensorLayout, TensorShape, TensorShapeObject, TileSpec, TiledMatrixRegion, TimelineEventSpec, TokenHistoryLane, TokenHistoryOptions, TokenHistoryPhase, TokenHistorySnapshot, TokenHistoryState, TokenRowItem, TokenRowLayoutOptions, TransformerBlock, TransformerBlockKind, TransformerRoute, TransformerRouteKind, TransformerTopologyProps, TransitionType, TreeNodeSpec, ValueChangeOptions, ValueChangeState, Wave, WaveDiagramProps, WaveSample, WeightedVectorOptions, WeightedVectorState, WeightedVectorStatus, WeightedVectorTerm, WeightedVectorTermState };
3572
+ export { Arrow, ArrowMarkerDef, AttentionMatrix, AxisPlot, Badge, BadgePill, BarChart, Board, Box, CANVAS_ITEM_COMPONENT, CHECK_DIAGNOSTIC_CODES, CalloutCard, Canvas, CanvasItem, CanvasOverflowError, Card, ChartFrame, CodeBlock, ColorName, Column, Comparison, Connector, DashedLine, DataTable, DataflowDiagram, DefinedAnimation, Density, DeploymentDiagram, DetailList, DiagramLegend, DonutChart, DotPoint, ELEMENT_SYMBOLS, EntityRelationshipDiagram, EquationCard, FactRows, Flow, FlowArrow, FreeBodyDiagram, GeometryDiagram, GradientChip, GraphDiagram, Grid, Heatmap, Icon, InlineBar, IntervalPlot, KeyValueList, LayeredNetwork, Legend, LineChart, MathText, Matrix, MetricCard, MetricStrip, MiniBarChart, MoleculeDiagram, NumberLine, Panel, ParetoBarChart, ParetoChart, PieChart, Pipeline, PixelGrid, ProgressList, ProgressRow, QuadrantChart, ReactionEnergyDiagram, ReactionEquation, RenderBackground, Row, ScatterPlot, Scene, SceneFrameRequest, SceneRequest, SequenceDiagram, SmallMultiples, Sparkline, Stack, StackedBar, StatusDot, StatusList, StatusRow, StepCard, SvgFrame, SvgMathText, SvgPoint, TagList, TextLabel, ThemeColors, ThemeMode, Tile, TileGrid, TiledMatrix, Timeline, TitleBar, ToneName, ToneStrip, TransformerTopology, TreeDiagram, ValuePill, VectorArrow, VectorSegment, WatermarkInput, WaveDiagram, WindowFrame, arcSwap, assertTokenHistoryTransition, byteDifferenceState, cameraSvgTransform, categoricalSampling, checkFrame, compareByteSequences, createCanvasComponents, createCueTrack, createFocusDirector, createPlotArea, createPolylineMorph, createTeachingByteDifference, createTeachingCanvas, createTeachingCategoricalSampling, createTeachingFocus, createTeachingRoutedTransfer, createTeachingTokenHistory, createTeachingValueChange, createTeachingVectorAccumulation, cropPixels, cropRgbImage, cropRgbRaster, crossCorrelate2d, decodeRgbPng, defineDiagramIcon, defineIconRegistry, defineIllustration, detectBackgroundColor, detectContentBounds, detectLayoutOverflow, detectOverflow, dotProduct, encodeRgbPng, entropy, escapedByte, estimateTextWidth, flattenRgbImage, formatMathText, formatTensorShape, gaussian, gaussianBlurRgb, gaussianKernel, geometryBounds, getFonts, importD2Graph, importMermaidGraph, interpolateCamera, layoutAllocation, layoutByteDifference, layoutCellGrid, layoutTokenRow, lerpArray, loadAdditionalAsset, mapNumberLine, mergeFocusRegions, morphPolyline, multiplyMatrices, normalizeVector, planTeachingRoutedTransfer, pointAlongPath, projectWorldPoint, reactionBalance, renderAnimatedGif, renderAnimatedGifWithOutput, renderAnimationGif, renderAnimationGifWithOutput, renderMathSvg, renderSceneFrame, renderSceneVideo, renderToBuffer, renderToPng, renderToPngWithOutput, renderToSvg, rgbChannel, sampleFunction, sampleGaussian, sampleWave, scaledDotProductAttention, scopeDensity, seededRandom, smoothstep, stableSoftmax, statusColor, sumForces, tokenHistoryState, tracePolyline, transposeMatrix, typography, valueChangeState, waveValue, weightedVectorState };
3573
+ export type { AllocationLayout, AllocationLayoutOptions, AllocationPart, AnimatedScene, AnimationOptions, AnimationOutput, AnimationOverflowContext, ArcSwapOptions, AttentionMatrixProps, AttentionOptions, AttentionResult, AxisPlotPath, AxisPlotPoint, AxisPlotVector, BarChartDatum, BoardProps, ByteDifference, ByteDifferenceColumn, ByteDifferenceKind, ByteDifferenceStateOptions, Camera2D, CameraMotionOptions, CameraViewport, CanvasBounds, CanvasCardOptions, CanvasCardStyle, CanvasItemProps, CanvasMatrixOptions, CanvasPainter, CanvasPanelOptions, CanvasPanelStyle, CanvasParticleOptions, CanvasPoint, CanvasScopeOptions, CanvasTokenRowOptions, CategoricalSamplingModel, CategoricalSamplingOptions, CellGridLayout, CellGridOptions, ChartLegendItem, ChartMargins, ChartValueFormat, CheckAutoSize, CheckAutoSizeAxes, CheckDiagnostic, CheckDiagnosticCode, CheckDiagnosticCounts, CheckDiagnosticLocation, CheckFailurePolicy, CheckFrameInput, CheckFrameReport, CheckOptions, CheckThemeReport, CodeLineSpec, ComparisonSideSpec, CropMode, CropRegion, CrossCorrelateOptions, CuePosition, CueSnapshot, CueTrackOptions, DataflowBoundary, DataflowDiagramProps, DataflowEdge, DataflowEdgeMode, DataflowNode, DataflowNodeKind, DataflowSchema, DataflowSchemaDefinition, DataflowSchemaField, DeploymentBoundary, DeploymentBoundaryKind, DeploymentConnection, DeploymentConnectionKind, DeploymentDiagramProps, DeploymentNode, DeploymentNodeKind, DeploymentPort, DeploymentPortDirection, DeploymentPortInput, DiagnosticSeverity, DiagramIconDefinition, DiagramIconRenderProps, DiagramLegendItem, DiagramStatus, DiscreteCue, DonutChartSegment, ElementComposition, ElementSymbol, EntityRelationship, EntityRelationshipAttribute, EntityRelationshipCardinality, EntityRelationshipDiagramProps, EntityRelationshipEndpoint, EntityRelationshipEntity, FactRow, FlowStageSpec, ForceResultant, ForceVector, FreeBodyDiagramProps, GaussianBlurRgbOptions, GeometryAngle, GeometryBounds, GeometryDiagramProps, GeometryPoint, GeometrySegment, GraphDiagramAnnotation, GraphDiagramEdge, GraphDiagramEdgeArrow, GraphDiagramEdgeKind, GraphDiagramEdgeStyle, GraphDiagramGroup, GraphDiagramNode, GraphDiagramPort, GraphDiagramProps, GraphImportDiagnostic, GraphImportDiagnosticCode, GraphImportDirection, GraphImportGraph, GraphImportResult, GraphImportSource, GraphPortSide, GraphRouting, GridCell, HistoryToken, IconName, IconProps, IllustrationBuilder, IntervalDatum, KernelPadding, KeyValueRow, LayeredNetworkLayer, LegendItem, LineChartSeries, MiniBarDatum, MoleculeAtom, MoleculeAtomId, MoleculeBond, MoleculeBondOrder, MoleculeDiagramProps, MotionEasing, MotionPoint, NumberLineInterval, NumberLineMarker, NumberLineProps, NumberLineTick, NumericImage, NumericMatrix, OverflowResult, ParetoBarChartProps, ParetoChartProps, ParetoObjective, ParetoXScale, PathMorphOptions, PieChartProps, PipelineStage, PixelGridProps, PixelRegion, PlotArea, ProgressRowSpec, QuadrantChartProps, QuadrantRegion, ReactionBalanceResult, ReactionEnergyDiagramProps, ReactionEquationProps, ReactionState, ReactionTerm, RenderMathSvgOptions, RenderMathSvgResult, RenderOptions, RenderOutput, RenderSceneFrameOptions, RenderSceneVideoOptions, RgbChannel, RgbPixel, RgbRaster, SamplingCategory, SatoriNode, ScatterPoint, SceneRenderOutput, SequenceActivation, SequenceDiagramProps, SequenceFragment, SequenceFragmentBranch, SequenceFragmentKind, SequenceItem, SequenceMessage, SequenceMessageKind, SequenceNote, SequenceParticipant, SequenceParticipantKind, SmallMultipleItem, StackedBarSegment, StatusKind, StatusRowSpec, StripMetric, SuppliedCategoricalDraw, TeachingAllocationOptions, TeachingAxesOptions, TeachingBarsOptions, TeachingBarsResult, TeachingByteDifferenceOptions, TeachingCategoricalSamplingOptions, TeachingChangeCueOptions, TeachingConnectionOptions, TeachingCurveOptions, TeachingFlowEdge, TeachingFlowGraphOptions, TeachingFlowNode, TeachingFocusCue, TeachingFocusPainter, TeachingGridHighlight, TeachingGridOptions, TeachingPainter, TeachingPathOptions, TeachingPlot, TeachingRoute, TeachingRouteObstacle, TeachingRoutedEndpoint, TeachingRoutedTransfer, TeachingRoutedTransferOptions, TeachingScatterOptions, TeachingScatterPoint, TeachingTimeInterval, TeachingTimeLane, TeachingTimelineInterval, TeachingTimelineOptions, TeachingTimelineResult, TeachingTokenHistoryOptions, TeachingTransferEndpoint, TeachingTransferOptions, TeachingValueChangeOptions, TeachingVectorAccumulationOptions, TeachingVectorProjection, TeachingVectorSegment, TensorDimension, TensorLayout, TensorShape, TensorShapeObject, TileSpec, TiledMatrixRegion, TimelineEventSpec, TokenHistoryLane, TokenHistoryOptions, TokenHistoryPhase, TokenHistorySnapshot, TokenHistoryState, TokenRowItem, TokenRowLayoutOptions, TransformerBlock, TransformerBlockKind, TransformerRoute, TransformerRouteKind, TransformerTopologyProps, TransitionType, TreeNodeSpec, ValueChangeOptions, ValueChangeState, Wave, WaveDiagramProps, WaveSample, WeightedVectorOptions, WeightedVectorState, WeightedVectorStatus, WeightedVectorTerm, WeightedVectorTermState };