add.vertex.shape: Various vertex shapes when plotting igraph graphs

View source: R/plot.shapes.R

add.vertex.shapeR Documentation

Various vertex shapes when plotting igraph graphs

Description

[Deprecated]

add.vertex.shape() was renamed to add_shape() to create a more consistent API.

Usage

add.vertex.shape(
  shape,
  clip = shape_noclip,
  plot = shape_noplot,
  parameters = list()
)

Arguments

shape

Character scalar, name of a vertex shape. If it is NULL for shapes(), then the names of all defined vertex shapes are returned.

clip

An R function object, the clipping function.

plot

An R function object, the plotting function.

parameters

Named list, additional plot/vertex/edge parameters. The element named define the new parameters, and the elements themselves define their default values. Vertex parameters should have a prefix ‘vertex.’, edge parameters a prefix ‘edge.’. Other general plotting parameters should have a prefix ‘plot.’. See Details below.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.