const initCirclePacking = (spec, context)=>{
    const result = {
        ...spec
    };
    const { advancedVSeed } = context;
    const { datasetReshapeInfo } = advancedVSeed;
    const { foldInfo } = datasetReshapeInfo[0];
    result.type = 'circlePacking';
    result.categoryField = 'name';
    result.valueField = foldInfo.measureValue;
    result.circlePacking = {
        style: {
            fillOpacity: (d)=>d.isLeaf ? 0.75 : 0.25
        }
    };
    result.layoutPadding = [
        0,
        10,
        10
    ];
    result.padding = 0;
    result.animationEnter = {
        easing: 'cubicInOut'
    };
    result.animationExit = {
        easing: 'cubicInOut'
    };
    result.animationUpdate = {
        easing: 'cubicInOut'
    };
    return result;
};
export { initCirclePacking };

//# sourceMappingURL=circlePacking.js.map