Groups allow you to visually cluster related elements within a boundary
Arguments
- id
Unique identifier for the group
- label
Display label for the group
- members
Character vector of element IDs to include in this group
- style
Border style: "solid", "dashed", "dotted", "bold"
- color
Border color (optional, uses theme default if not specified)
- bg
Background color for the group (optional, transparent if not specified)
Examples
# Create a group for AWS cloud services
aws_group <- c4_group(
"aws",
"AWS Cloud",
members = c("api", "db", "cache"),
style = "dashed"
)