Use this if you are using igraph from R
Constructor modifier to add graph attributes
with_graph_(...)
... | 
 The attributes to add. They must be named.  | 
Other constructor modifiers: 
simplified(),
with_edge_(),
with_vertex_(),
without_attr(),
without_loops(),
without_multiples()
make_(ring(10), with_graph_(name = "10-ring"))