add a node

node(
  x,
  y,
  r = 0.1,
  label = "",
  rx = r,
  ry = r,
  node_col = "grey80",
  border_col = "black",
  label_font = 1,
  label_col = "black",
  label_cex = 1,
  ...
)

Arguments

x

cental x position

y

central y position

r

radius of node

label

node label

rx

radius of node in x-direction

ry

radius of node in y-direction

node_col

colour of node

border_col

colour of node border

label_font

label font, see par()

label_col

colour of label

label_cex

size of label text

...

other formatting arguments to rect()