setup_tag: Setup grobs for one tag (label + quantity + annotation +...

View source: R/tag-grobs.R

setup_tagR Documentation

Setup grobs for one tag (label + quantity + annotation + leader).

Description

Builds the gList via build_tag_grobs() and stashes the text / gpar bundle on the resulting EulerTag gTree so makeContent.EulerTags() can rebuild it at draw time with fresh measurements.

Usage

setup_tag(data, labels, quantities, annotations, number)

Arguments

data

one row of the placed centers data frame

labels, quantities, annotations

the three tag component parameter lists, each with a ⁠$gp⁠

number

the diagram's region index, used to name the grobs


eulerr documentation built on Aug. 22, 2026, 1:09 a.m.