Renders a polygon-shaped donut node with a circular pie chart inside. Supports hexagon, square, diamond, triangle, pentagon shapes for the outer ring.
draw_polygon_donut_pie_node_base(
x,
y,
size,
donut_value = 1,
donut_color = "#4A90D9",
donut_shape = "hexagon",
pie_values = NULL,
pie_colors = NULL,
pie_default_color = NULL,
inner_ratio = 0.5,
bg_color = "gray90",
border.col = "black",
border.width = 1,
pie_border.width = NULL,
donut_border.width = NULL
)Node center coordinates.
Outer radius.
Value (0-1) for the donut ring fill proportion.
Color for the filled portion of donut.
Shape of the donut: "hexagon", "square", "diamond", "triangle", "pentagon".
Numeric vector for pie slices.
Colors for pie slices.
Default pie color if pie_colors not provided.
Ratio of inner to outer radius (0-1).
Background color of the donut ring.
Border color.
Border line width.
Border width for pie slice dividers.
Border width for donut ring.