Description Usage Arguments See Also
Create Layout Component
1 2 |
... |
child components |
size |
'[list(x = integer(), y = integer())]' giving sizes of the individual hexagons, relative to 'viewBox' of the [hexgrid()]. |
flat |
'[logical(1)]' giving whether the hexagons should flat ('TRUE') or pointy-topped ('FALSE'). |
spacing |
'[numeric(1)]' giving the spacing between the hexagons as a *multiple* of 'size' (probably; this is undocumented in the upstream library.) Must be greater than 1 to avoid overplotting |
origin |
'[list(x = integer(), y = integer())]' giving the origin from which to draw the [hexgrid()] given the axial coordinates of [hexagon()]s. |
Other components: hexagon
,
hexgrid
, pattern
,
text
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.