@visactor/vchart
Version:
charts lib based @visactor/VGrammar
17 lines (13 loc) • 498 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: !0
}), exports.vennLayout = void 0;
const vlayouts_1 = require("@visactor/vlayouts"), vennLayout = (data, op) => {
const viewBox = op.getViewBox();
return viewBox && (null == data ? void 0 : data.length) ? (0, vlayouts_1.vennTransform)(Object.assign({
setField: op.setField,
valueField: op.valueField
}, viewBox), data) : [];
};
exports.vennLayout = vennLayout;
//# sourceMappingURL=venn.js.map