graph.formula() was renamed to graph_from_literal() to create a more
consistent API.
Arguments
- ...
For
graph_from_literal()the formulae giving the structure of the graph, see details below. Forfrom_literal()all arguments are passed tograph_from_literal().- simplify
Logical scalar, whether to call
simplify()on the created graph. By default the graph is simplified, loop and multiple edges are removed.simplify()is only called when the created graph is not already simple, so the edge order from the formula is preserved whenever no loops or multi-edges are present. When the graph does contain loops or multi-edges (andsimplify = TRUE),simplify()reorders the edges into its canonical order.
Related documentation in the C library
create(), simplify(), famous(), is_simple(), vcount(), empty()
