Normalizes donut/pie overlay parameters into the canonical format expected by render_nodes_splot(). Handles donut_fill auto-enable, list conversion, empty-value NA replacement, color encoding (1/2/n-color), shape inheritance, and border vectorization.
resolve_donut_params(
donut_fill,
donut_values,
donut_color,
donut_colors,
donut_bg_color,
donut_shape,
donut_border_color,
donut_outer_border_color,
donut_line_type,
donut_empty,
shapes,
n_nodes
)Named list of effective_* parameters.
User-specified donut fill values.
Raw donut values (deprecated path).
Donut color specification (1, 2, or n colors).
Deprecated donut colors (list).
Background color.
Donut base shape override.
Border color.
Outer border color.
Line type.
Logical: render empty rings?
Resolved node shapes vector.
Number of nodes.