Skip to contents

Adds a set of edges from a tibble to a graph

Usage

populate_edges(graph_builder, edges_df, parent_col, child_col)

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

Value

The updated graph builder object