Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

with_vertex_

Constructor modifier to add vertex attributes


Description

Constructor modifier to add vertex attributes

Usage

with_vertex_(...)

Arguments

...

The attributes to add. They must be named.

See Also

Other constructor modifiers: simplified(), with_edge_(), with_graph_(), without_attr(), without_loops(), without_multiples()

Examples

make_(ring(10),
  with_vertex_(
    color = "#7fcdbb",
    frame.color = "#7fcdbb",
    name = LETTERS[1:10])) %>%
  plot()

igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.