with_vertex_: Constructor modifier to add vertex attributes

Description Usage Arguments See Also Examples

View source: R/make.R

Description

Constructor modifier to add vertex attributes

Usage

1

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

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

igraph documentation built on July 21, 2017, 7:18 p.m.

Search within the igraph package
Search all R packages, documentation and source code