Render an SVG as a node shape using grid graphics.
draw_svg_shape(
x,
y,
size,
svg_data,
fill,
border_color,
border_width,
alpha = 1,
preserve_aspect = TRUE
)Grid grob or nullGrob if SVG unavailable.
Node center coordinates (NPC units).
Node size (NPC units).
SVG data list from registry.
Fill color (replaces SVG fill colors).
Border color.
Border width.
Transparency.
Maintain SVG aspect ratio.