graph2df: Graph to data frame

View source: R/graph_utils.R

graph2dfR Documentation

Graph to data frame

Description

Convert graph object to dataframe with source and target columns

Usage

graph2df(graph)

Arguments

graph

Network

Value

data frame

Examples

dag <- create_random_DAG(30, 0.2)
graph2df(dag)

kpj/dce documentation built on Oct. 29, 2022, 1:40 a.m.