"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.computeScenegraph = computeScenegraph;
const viewmodel_1 = require("./viewmodel");
const canvas_text_bbox_calculator_1 = require("../../../../utils/bbox/canvas_text_bbox_calculator");
function computeScenegraph(spec, chartDimensions, elementSizes, smScales, groupBySpec, heatmapTable, colorScale, bandsToHide, theme) {
    return (0, canvas_text_bbox_calculator_1.withTextMeasure)((measureText) => {
        return (0, viewmodel_1.shapeViewModel)(measureText, spec, theme, chartDimensions, elementSizes, heatmapTable, colorScale, smScales, groupBySpec, bandsToHide);
    });
}
//# sourceMappingURL=scenegraph.js.map