MCPcopy Index your code
hub / github.com/microsoft/SandDance / xy

Function xy

docs/app/js/sanddance-app.js:139120–139127  ·  view source on GitHub ↗
(d)

Source from the content-addressed store, hash-verified

139118 * value of lineAnchor. Otherwise, use bounds of base mark.
139119 */ function markBoundary(marktype, grouptype, lineAnchor, markIndex) {
139120 const xy = (d)=>[
139121 d.x,
139122 d.x,
139123 d.x,
139124 d.y,
139125 d.y,
139126 d.y
139127 ];
139128 if (!marktype) return xy; // no reactive geometry
139129 else if (marktype === "line" || marktype === "area") return (d)=>xy(d.datum);
139130 else if (grouptype === "line") return (d)=>{

Callers 2

markBoundaryFunction · 0.70
extensionFunction · 0.70

Calls 1

groupFunction · 0.70

Tested by

no test coverage detected