UNPKG

@visactor/vchart

Version:

charts lib based @visactor/VGrammar

11 lines (9 loc) 354 B
import { vennTransform } from "@visactor/vlayouts"; export const vennLayout = (data, op) => { const viewBox = op.getViewBox(); return viewBox && (null == data ? void 0 : data.length) ? vennTransform(Object.assign({ setField: op.setField, valueField: op.valueField }, viewBox), data) : []; }; //# sourceMappingURL=venn.js.map