Skip to contents

Creates a data frame containing edge relationships between nodes in a Monte Carlo module network. Each row represents a directed edge from one node to another.

Usage

get_edge_table(mcmodule, inputs = FALSE)

Arguments

mcmodule

(mcmodule object). Module containing node relationships.

inputs

(logical). If TRUE, include non-node inputs (datasets, dataframes, and columns). Default: FALSE.

Value

A data frame with columns node_from and node_to representing network edges.

Examples

edge_table <- get_edge_table(imports_mcmodule)