{"version":3,"file":"GraphDots.js","names":[],"sources":["jsx/graphLayout/GraphDots.js"],"sourcesContent":["import { useMemo } from \"react\";\nimport { View } from \"tamagui\";\nimport { GraphPath, GraphSvg } from \"./GraphSvg\";\nimport { dotPath } from \"./viewMath\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction GraphDots({ area, pitch, dot, color }) {\n  const path = useMemo(() => dotPath(area, pitch), [area, pitch]);\n  return /* @__PURE__ */ jsx(\n    View,\n    {\n      position: \"absolute\",\n      left: area.x,\n      top: area.y,\n      width: area.width,\n      height: area.height,\n      pointerEvents: \"none\",\n      \"aria-hidden\": true,\n      testID: \"graph-dots\",\n      children: /* @__PURE__ */ jsx(GraphSvg, { width: area.width, height: area.height, children: /* @__PURE__ */ jsx(GraphPath, { d: path, stroke: color, strokeWidth: dot, round: true }) })\n    }\n  );\n}\nexport {\n  GraphDots\n};\n//# sourceMappingURL=GraphDots.js.map\n"],"mappings":";;;;;;;AAKA,SAAS,UAAU,EAAE,MAAM,OAAO,KAAK,SAAS;CAC9C,MAAM,OAAO,cAAc,QAAQ,MAAM,KAAK,GAAG,CAAC,MAAM,KAAK,CAAC;CAC9D,OAAuB,oBACrB,MACA;EACE,UAAU;EACV,MAAM,KAAK;EACX,KAAK,KAAK;EACV,OAAO,KAAK;EACZ,QAAQ,KAAK;EACb,eAAe;EACf,eAAe;EACf,QAAQ;EACR,UAA0B,oBAAI,UAAU;GAAE,OAAO,KAAK;GAAO,QAAQ,KAAK;GAAQ,UAA0B,oBAAI,WAAW;IAAE,GAAG;IAAM,QAAQ;IAAO,aAAa;IAAK,OAAO;GAAK,CAAC;EAAE,CAAC;CACzL,CACF;AACF"}