Renders a label on an edge.
draw_edge_label_base(
x,
y,
label,
cex = 0.8,
col = "gray30",
bg = "white",
font = 1,
shadow = FALSE,
shadow_color = "gray40",
shadow_offset = 0.5,
shadow_alpha = 0.5
)Label position coordinates.
Text to display.
Character expansion factor.
Text color.
Background color (or NA for none).
Font face.
Logical or character: FALSE for none, TRUE or "shadow" for drop shadow, "halo" for outline rim around text.
Shadow/halo color.
Shadow/halo offset distance.
Shadow/halo transparency.