import { jsx } from '../../jsx'; export default (props) => { const { nodes, coord } = props; if (coord.isPolar) { const { center } = coord; const { x, y } = center; return ( {nodes.map((node) => { const { xMin, xMax, yMin, yMax, color } = node; return ( ); })} ); } return ( {nodes.map((node) => { const { key, xMin, xMax, yMin, yMax, color } = node; return ( ); })} ); };