Create Layout Component

hexgrid(..., width = "100%", height = "100%",
  viewBox = "-50 -50 100 100")

Arguments

...

child components

width, height

`[integer(1)]` giving width and height of [outermost svg element](https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg) viewport, expressed in percentage of parent element or CSS length units.

viewBox

`[character(1)]` giving the cartesian dimensions of the [SVG viewport](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/viewBox) as four whitespace-separated numbers `"min-x min-y width height"`.

See also

Other components: hexagon, layout, pattern, text