Learn R Programming

orbweaver (version 0.10.2)

populate_edges: Populates the edges of a graph from a tibble

Description

Adds a set of edges from a tibble to a graph

Usage

populate_edges(graph_builder, edges_df, parent_col, child_col)

Value

The updated graph builder object

Arguments

graph_builder

A graph builder object

edges_df

A tibble with a parent and child variable

parent_col

The name of the column containing the parents

child_col

The name of the column containing the children