Skip to content

Commit f7daee9

Browse files
committed
Clean infra
1 parent 77c4be4 commit f7daee9

279 files changed

Lines changed: 2310 additions & 1123 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

etc/api-surface/semiotic-server-edge.api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ _Edit dist/semiotic-server-edge.d.ts's sources, then re-run `npm run docs:api-su
77
function generateFrameSVGs(chartType: string, data: Datum[], props: Datum, options?: AnimatedGifOptions | undefined): string[]
88
function generateFrameSequence(component: string, snapshots: Datum[], baseProps?: Datum | undefined): string[]
99
function generatePhysicsFrameSVGs(props: PhysicsGifFrameProps, options?: PhysicsGifOptions | undefined): string[]
10-
function renderChart(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): string
11-
function renderChartWithEvidence(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): { svg: string; evidence: RenderEvidence; }
10+
function renderChart(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): string
11+
function renderChartWithEvidence(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): { svg: string; evidence: RenderEvidence; }
1212
function renderDashboard(charts: DashboardChart[], options?: RenderDashboardOptions | undefined): string
1313
function renderGeoToStaticSVG(props: StreamGeoFrameProps<Datum> & ThemeAwareProps): string
1414
function renderNetworkToStaticSVG(props: StreamNetworkFrameProps<Datum> & ThemeAwareProps): string

etc/api-surface/semiotic-server-node.api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ _Edit dist/semiotic-server-node.d.ts's sources, then re-run `npm run docs:api-su
77
function generateFrameSVGs(chartType: string, data: Datum[], props: Datum, options?: AnimatedGifOptions | undefined): string[]
88
function generateFrameSequence(component: string, snapshots: Datum[], baseProps?: Datum | undefined): string[]
99
function generatePhysicsFrameSVGs(props: PhysicsGifFrameProps, options?: PhysicsGifOptions | undefined): string[]
10-
function renderChart(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): string
11-
function renderChartWithEvidence(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): { svg: string; evidence: RenderEvidence; }
10+
function renderChart(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): string
11+
function renderChartWithEvidence(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): { svg: string; evidence: RenderEvidence; }
1212
function renderDashboard(charts: DashboardChart[], options?: RenderDashboardOptions | undefined): string
1313
function renderGeoToStaticSVG(props: StreamGeoFrameProps<Datum> & ThemeAwareProps): string
1414
function renderNetworkToStaticSVG(props: StreamNetworkFrameProps<Datum> & ThemeAwareProps): string
1515
function renderOrdinalToStaticSVG(props: StreamOrdinalFrameProps<Datum> & ThemeAwareProps): string
1616
function renderPhysicsToAnimatedGif(props: PhysicsGifFrameProps, options?: PhysicsGifOptions | undefined): Promise<Buffer>
1717
function renderToAnimatedGif(chartType: string, data: Datum[], props: Datum, options?: AnimatedGifOptions | undefined): Promise<Buffer>
18-
function renderToImage(frameTypeOrComponent: "xy" | "ordinal" | "network" | "geo" | "physics" | "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderToImageOptions | undefined): Promise<Buffer>
18+
function renderToImage(frameTypeOrComponent: "xy" | "ordinal" | "network" | "geo" | "physics" | "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderToImageOptions | undefined): Promise<Buffer>
1919
function renderToStaticSVG(frameType: "xy" | "ordinal" | "network" | "geo" | "physics", props: StaticFrameProps): string
2020
function renderXYToStaticSVG(props: StreamXYFrameProps<Datum> & ThemeAwareProps): string
2121
function resolveTheme(theme: ThemeInput): SemioticTheme

etc/api-surface/semiotic-server.api.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ _Edit dist/semiotic-server.d.ts's sources, then re-run `npm run docs:api-surface
77
function generateFrameSVGs(chartType: string, data: Datum[], props: Datum, options?: AnimatedGifOptions | undefined): string[]
88
function generateFrameSequence(component: string, snapshots: Datum[], baseProps?: Datum | undefined): string[]
99
function generatePhysicsFrameSVGs(props: PhysicsGifFrameProps, options?: PhysicsGifOptions | undefined): string[]
10-
function renderChart(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): string
11-
function renderChartWithEvidence(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): { svg: string; evidence: RenderEvidence; }
10+
function renderChart(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): string
11+
function renderChartWithEvidence(component: "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderChartOptions | undefined): { svg: string; evidence: RenderEvidence; }
1212
function renderDashboard(charts: DashboardChart[], options?: RenderDashboardOptions | undefined): string
1313
function renderGeoToStaticSVG(props: StreamGeoFrameProps<Datum> & ThemeAwareProps): string
1414
function renderNetworkToStaticSVG(props: StreamNetworkFrameProps<Datum> & ThemeAwareProps): string
1515
function renderOrdinalToStaticSVG(props: StreamOrdinalFrameProps<Datum> & ThemeAwareProps): string
1616
function renderPhysicsToAnimatedGif(props: PhysicsGifFrameProps, options?: PhysicsGifOptions | undefined): Promise<Buffer>
1717
function renderToAnimatedGif(chartType: string, data: Datum[], props: Datum, options?: AnimatedGifOptions | undefined): Promise<Buffer>
18-
function renderToImage(frameTypeOrComponent: "xy" | "ordinal" | "network" | "geo" | "physics" | "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderToImageOptions | undefined): Promise<Buffer>
18+
function renderToImage(frameTypeOrComponent: "xy" | "ordinal" | "network" | "geo" | "physics" | "Sparkline" | "LineChart" | "AreaChart" | "DifferenceChart" | "StackedAreaChart" | "Scatterplot" | "CandlestickChart" | "BubbleChart" | "ConnectedScatterplot" | "QuadrantChart" | "Heatmap" | "TemporalHistogram" | "XYCustomChart" | "BarChart" | "StackedBarChart" | "GroupedBarChart" | "PieChart" | "DonutChart" | "Histogram" | "BoxPlot" | "ViolinPlot" | "SwarmPlot" | "DotPlot" | "SwimlaneChart" | "RidgelinePlot" | "LikertChart" | "FunnelChart" | "GaugeChart" | "OrdinalCustomChart" | "ForceDirectedGraph" | "NetworkCustomChart" | "SankeyDiagram" | "ProcessSankey" | "ChordDiagram" | "TreeDiagram" | "Treemap" | "CirclePack" | "ChoroplethMap" | "ProportionalSymbolMap" | "FlowMap" | "GeoCustomChart" | "GaltonBoardChart" | "EventDropChart" | "PhysicsPileChart" | "CollisionSwarmChart" | "ProcessFlowChart" | "GauntletChart" | "PhysicalFlowChart" | "PhysicsCustomChart", props: Datum, options?: RenderToImageOptions | undefined): Promise<Buffer>
1919
function renderToStaticSVG(frameType: "xy" | "ordinal" | "network" | "geo" | "physics", props: StaticFrameProps): string
2020
function renderXYToStaticSVG(props: StreamXYFrameProps<Datum> & ThemeAwareProps): string
2121
function resolveTheme(theme: ThemeInput): SemioticTheme

integration-tests/ssr-parity-examples/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,10 @@ const examples = selectedCases.map((c) => {
3131
throw new Error(`Missing SSR parity component export: ${c.component}`)
3232
}
3333

34-
const chart = React.createElement(Component, c.props)
34+
// The sheet compares settled geometry, not an arbitrary canvas intro frame.
35+
// Apply the same explicit animation setting to every CSR fixture; the
36+
// server renderer receives it from the spec as well.
37+
const chart = React.createElement(Component, { ...c.props, animate: false })
3538
const child = c.theme
3639
? React.createElement(ThemeProvider, { theme: c.theme }, chart)
3740
: chart

0 commit comments

Comments
 (0)