build_shape: Helper function to add shape

View source: R/build_shape.R

build_shapeR Documentation

Helper function to add shape

Description

Helper function to add shape

Usage

build_shape(
  edge,
  label,
  nsets = length(edge),
  shape_id,
  type = c("ellipse", "triangle", "polygon", "circle")
)

Arguments

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")

Value

a tibble with columns: nsets, type, shape_id, component, id, xy.


ggVennDiagram documentation built on Aug. 14, 2023, 5:09 p.m.