Create a graph with the specified edges
Value
An igraph_ptr
object.
See also
as_igraph()
, graph_from_data_frame()
Other deterministic generators:
graph_empty()
,
graph_famous()
,
graph_full()
,
graph_kary_tree()
,
graph_square_lattice()
,
graph_star()
Examples
graph_create(seq_len(6L))
#> $V tibble [6 × 0] (S3: tbl_df/tbl/data.frame)
#> Named list()
#> # A tibble: 3 × 2
#> from to
#> <int> <int>
#> 1 1 2
#> 2 3 4
#> 3 5 6