Renders a node as a pie chart with multiple colored segments. The pie is drawn slightly inside the node boundary to leave room for arrows.
draw_pie_node_base(
x,
y,
size,
values,
colors = NULL,
default_color = NULL,
border.col = "black",
border.width = 1,
pie_border.width = NULL
)Node center coordinates.
Node radius.
Numeric vector of values (will be normalized to proportions).
Vector of colors for each segment.
Fallback color when colors is NULL and values length is 1.
Border color.
Border line width.
Border width for pie slice dividers (NULL = use border.width).