update_graph: update_graph

View source: R/update_graph.R

update_graphR Documentation

update_graph

Description

Function to update the structure of a graph, given a set of modification as returned by assess_duplicates

Usage

update_graph(x, del = NULL, add = NULL, changes = NULL)

Arguments

x

a tgraph object to modify

del

A vector of element names or numbers to delete

add

An edge sequence of edges to add to the graph

changes

Alternatively, the output of assess_duplicates, containing proposed deletions and additions

Value

An updated tgraph object


fossilbrush documentation built on June 10, 2025, 9:14 a.m.