Description Usage Arguments Details Value See Also Examples

This is a helper function that simplifies adding and deleting vertices to/from graphs.

1 2 3 |

`...` |
See details below. |

`vertices`

is an alias for `vertex`

.

When adding vertices via `+`

, all unnamed arguments are interpreted
as vertex names of the new vertices. Named arguments are interpreted as
vertex attributes for the new vertices.

When deleting vertices via `-`

, all arguments of `vertex`

(or
`vertices`

) are concatenated via `c()`

and passed to
`delete_vertices`

.

A special object that can be used with together with igraph graphs and the plus and minus operators.

Other functions for manipulating graph structure:
`+.igraph()`

,
`add_edges()`

,
`add_vertices()`

,
`delete_edges()`

,
`delete_vertices()`

,
`edge()`

,
`igraph-minus`

,
`path()`

1 2 3 4 |

```
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
IGRAPH 9806e80 UN-- 12 10 -- Ring graph
+ attr: name (g/c), mutual (g/l), circular (g/l), name (v/c)
+ edges from 9806e80 (vertex names):
[1] A--B B--C C--D D--E E--F F--G G--H H--I I--J A--J
```

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.