draw_svg_shape_base: Draw SVG Shape (Base R)

View source: R/shapes-svg.R

draw_svg_shape_baseR Documentation

Draw SVG Shape (Base R)

Description

Render an SVG as a node shape using base R graphics. Falls back to circle if rasterization fails.

Usage

draw_svg_shape_base(x, y, size, svg_data, fill, border_color, border_width)

Arguments

x, y

Node center coordinates.

size

Node size.

svg_data

SVG data list from registry.

fill

Fill color.

border_color

Border color.

border_width

Border width.


cograph documentation built on April 1, 2026, 1:07 a.m.