Gather graph edge from data frame Please note that this function is from the 'ggraph' package and has not been altered in functionality, but it has been optimized and iterated. It is not original content of 'TransProR'. However, since 'ggraph' caused frequent GitHub Action errors during the creation of 'TransProR', the author directly referenced the involved functions in 'TransProR'. This is not the author's original creation. All users please be aware!
gather_graph_edge(df, index = NULL, root = NULL)
A tibble of graph edges
A data frame
A vector of column names to group by
Root name for the root node connections, optional