MCPcopy Create free account
hub / github.com/alignoth/alignoth / assembleGroup

Method assembleGroup

resources/vega-lite.min.js:12012–12029  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12010 );
12011 }
12012 assembleGroup() {
12013 let e =
12014 arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : [];
12015 const t = {};
12016 ((e = e.concat(this.assembleSignals())), e.length > 0 && (t.signals = e));
12017 const n = this.assembleLayout();
12018 (n && (t.layout = n),
12019 (t.marks = [].concat(
12020 this.assembleHeaderMarks(),
12021 this.assembleMarks(),
12022 )));
12023 const i = !this.parent || Um(this.parent) ? bm(this) : [];
12024 i.length > 0 && (t.scales = i);
12025 const r = this.assembleAxes();
12026 r.length > 0 && (t.axes = r);
12027 const o = this.assembleLegends();
12028 return (o.length > 0 && (t.legends = o), t);
12029 }
12030 getName(e) {
12031 return C((this.name ? `${this.name}_` : "") + e);
12032 }

Callers 4

assembleGroupMethod · 0.45
assembleMarksMethod · 0.45
assembleMarksMethod · 0.45
vega-lite.min.jsFile · 0.45

Calls 8

assembleLayoutMethod · 0.95
assembleHeaderMarksMethod · 0.95
assembleAxesMethod · 0.95
assembleLegendsMethod · 0.95
UmFunction · 0.70
bmFunction · 0.70
assembleSignalsMethod · 0.45
assembleMarksMethod · 0.45

Tested by

no test coverage detected