Skip to contents

See the C library documentation for the list of available graphs.

Usage

graph_famous(name)

Arguments

name

A character string, the name of the graph.

Value

An igraph_ptr object.

See also

Other deterministic generators: graph_create(), graph_empty(), graph_full(), graph_kary_tree(), graph_square_lattice(), graph_star()

Examples

graph_famous("Diamond")
#> $V  tibble [4 × 0] (S3: tbl_df/tbl/data.frame)
#>  Named list()
#> # A tibble: 5 × 2
#>    from    to
#>   <int> <int>
#> 1     2     1
#> 2     3     1
#> 3     3     2
#> 4     4     2
#> 5     4     3