graph_: Convert object to a graph

View source: R/make.R

graph_R Documentation

Convert object to a graph

Description

This is a generic function to convert R objects to igraph graphs.

Usage

graph_(...)

Arguments

...

Parameters, see details below.

Details

TODO

Examples

## These are equivalent
graph_(cbind(1:5, 2:6), from_edgelist(directed = FALSE))
graph_(cbind(1:5, 2:6), from_edgelist(), directed = FALSE)

igraph documentation built on Oct. 20, 2024, 1:06 a.m.