export default { wellhead: { prod(x, y, r, style){ return SvgNodes.circle(r).add_style(style).move(w.x, w.y); }, inj(x, y, r, style){ return SvgNodes.circle(r).add_style(style).move(w.x, w.y); } }, // [{x,y}] heads(wells, r, style) { return wells.map((w) => SvgNodes.circle(r).add_style(style).move(w.x, w.y)); }, // [{x,y,name}] names(wells, style, shift) { return wells.map((w) => SvgNodes.text(w.name) .add_style(style) .move(w.x + shift.x, w.y + shift.y) ); }, // {x,y,ring[1,2,3,4,5]} ring(x, y, r0, r1, a0, a1, style) { return SvgNodes.ring_sector(r0, r1, a0, a1).move(x, y).add_style(style); }, }; }