Create a primitive grab (leaf node)
Usage
grab_atom(
shape,
data,
viewport = NULL,
node_id = "",
coordinate_space = "local",
transform = NULL,
dirty = TRUE,
meta = list()
)Arguments
- shape
Character. One of
prim_shapes().- data
A data.frame or tibble. Positional columns in [0,1].
- viewport
A
viewportor NULL to inherit from parent.- node_id
Character node identifier. If empty, one can be assigned with
assign_node_ids().- coordinate_space
Character coordinate space label for this node.
- transform
Optional transform list (
tx,ty,sx,sy,rotate) applied in local space.- dirty
Logical dirty flag used by rendering caches.
- meta
Optional free-form metadata list.