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

Function rb

resources/vega.min.js:16469–16479  ·  view source on GitHub ↗
(t, e, n, r, i, o, a)

Source from the content-addressed store, hash-verified

16467 );
16468 }
16469 function rb(t, e, n, r, i, o, a) {
16470 const s = "symbol" !== t.datum.type,
16471 u = n.datum.vgrad,
16472 l =
16473 (!s || (!o && u) || a ? e : e.items[0]).bounds[i ? "y2" : "x2"] -
16474 t.padding,
16475 c = u && o ? l : 0,
16476 f = u && o ? 0 : l,
16477 h = i <= 0 ? 0 : zy(n);
16478 return Math.round(r === J_ ? c : r === Q_ ? f - h : 0.5 * (l - h));
16479 }
16480 function ib(t, e, n, r) {
16481 ((e.x += n),
16482 (e.y += r),

Callers 1

nbFunction · 0.85

Calls 1

zyFunction · 0.85

Tested by

no test coverage detected