Learn R Programming

igraph (version 1.3.5)

with_graph_: Constructor modifier to add graph attributes

Description

Constructor modifier to add graph attributes

Usage

with_graph_(...)

Arguments

...

The attributes to add. They must be named.

See Also

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

Examples

Run this code
make_(ring(10), with_graph_(name = "10-ring"))

Run the code above in your browser using DataLab