Learn R Programming

cograph (version 1.5.2)

draw_edge_label_base: Draw Edge Label

Description

Renders a label on an edge.

Usage

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
)

Arguments

x, y

Label position coordinates.

label

Text to display.

cex

Character expansion factor.

col

Text color.

bg

Background color (or NA for none).

font

Font face.

shadow

Logical: enable drop shadow?

shadow_color

Shadow color.

shadow_offset

Shadow offset distance.

shadow_alpha

Shadow transparency.