build_shape | R Documentation |
Helper function to add shape
build_shape(
edge,
label,
nsets = length(edge),
shape_id,
type = c("ellipse", "triangle", "polygon", "circle")
)
edge |
a list of xy matrix |
label |
a list of xy matrix |
nsets |
2:7 |
shape_id |
a unique id |
type |
c("ellipse","triangle","polygon","circle") |
a tibble with columns: nsets, type, shape_id, component, id, xy.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.