| shape_bounding_box | R Documentation |
type tag on shapes (rows
are assumed to share a tag since a diagram fixes one shape kind), then
picks the appropriate width/height calculation. Falls back to the
rotated-ellipse formula when the type is unknown so external callers
constructing ad-hoc $shapes frames still get a sensible box.Per-shape bounding box dispatch. Reads the type tag on shapes (rows
are assumed to share a tag since a diagram fixes one shape kind), then
picks the appropriate width/height calculation. Falls back to the
rotated-ellipse formula when the type is unknown so external callers
constructing ad-hoc $shapes frames still get a sensible box.
shape_bounding_box(shapes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.