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

Function BL

resources/vega.min.js:31696–31807  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

31694 }));
31695 const TL = `item.orient==="${uR}"?-90:item.orient==="${lR}"?90:0`;
31696 function BL(t, e) {
31697 const n = UR((t = _t(t) ? { text: t } : t), e.config.title),
31698 r = t.encode || {},
31699 i = r.group || {},
31700 o = i.name || void 0,
31701 a = i.interactive,
31702 s = i.style,
31703 u = [],
31704 l = XN(e.add(xO(null, [{}])));
31705 return (
31706 u.push(
31707 (function (t, e, n, r) {
31708 const i = { value: 0 },
31709 o = t.text,
31710 a = {
31711 enter: { opacity: i },
31712 update: { opacity: { value: 1 } },
31713 exit: { opacity: i },
31714 };
31715 return (
31716 cN(
31717 a,
31718 {
31719 text: o,
31720 align: { signal: "item.mark.group.align" },
31721 angle: { signal: "item.mark.group.angle" },
31722 limit: { signal: "item.mark.group.limit" },
31723 baseline: "top",
31724 dx: e("dx"),
31725 dy: e("dy"),
31726 fill: e("color"),
31727 font: e("font"),
31728 fontSize: e("fontSize"),
31729 fontStyle: e("fontStyle"),
31730 fontWeight: e("fontWeight"),
31731 lineHeight: e("lineHeight"),
31732 },
31733 { align: e("align"), angle: e("angle"), baseline: e("baseline") },
31734 ),
31735 WR({ type: RR, role: SN, style: kR, from: r, encode: a }, n)
31736 );
31737 })(
31738 t,
31739 n,
31740 (function (t) {
31741 const e = t.encode;
31742 return (
31743 (e && e.title) ||
31744 ot(
31745 { name: t.name, interactive: t.interactive, style: t.style },
31746 e,
31747 )
31748 );
31749 })(t),
31750 l,
31751 ),
31752 ),
31753 t.subtitle &&

Callers 1

cUFunction · 0.85

Calls 12

URFunction · 0.85
XNFunction · 0.85
cNFunction · 0.85
eFunction · 0.85
WRFunction · 0.85
CLFunction · 0.85
LRFunction · 0.85
zLFunction · 0.85
_tFunction · 0.70
otFunction · 0.70
nFunction · 0.70
addMethod · 0.45

Tested by

no test coverage detected