// (C) 2023-2025 GoodData Corporation
import { VisualizationTypes } from "@gooddata/sdk-ui";
import { configDependencyWheelUiConfig } from "../../../utils/uiConfigHelpers/dependencyWheelChartUiConfigHelper.js";
import { PluggableSankeyChart } from "../sankeyChart/PluggableSankeyChart.js";
/**
 * PluggableDependencyWheelChart
 *
 * ## Buckets
 *
 * | Name              | Id             | Accepts             |
 * |-------------------|----------------|---------------------|
 * | Measure           | measure        | measures only       |
 * | Attribute ( From )| attribute_from | attribute or date |
 * | Attribute ( To )  | attribute_to   | attribute or date |
 *
 * ### Bucket axioms
 *
 * - |Measure           | = 1
 * - |Attribute ( From )| ≤ 1
 * - |Attribute ( To )  | ≤ 1
 *
 * ## Dimensions
 *
 * The PluggableDependencyWheelChart always creates the same two dimensional execution.
 *
 * - ⊤ ⇒ [[MeasureGroupIdentifier], compact([attributeFrom, attributeTo])]
 *
 * ## Sorts
 *
 * The PluggableDependencyWheelChart does not use any sorts.
 */
export class PluggableDependencyWheelChart extends PluggableSankeyChart {
    constructor(params) {
        super(params);
        this.type = VisualizationTypes.DEPENDENCY_WHEEL;
    }
    getExtendedReferencePoint(referencePoint) {
        return super.getExtendedReferencePoint(referencePoint).then(configDependencyWheelUiConfig);
    }
}
//# sourceMappingURL=PluggableDependencyWheelChart.js.map