Adds a recursive null edge

add_null_edge(edgedf, nodeid)

Arguments

edgedf

a dataframe containing the edges

nodeid

the id of the node on which to create this recursive edge

Value

a dataframe with one more row than edgedf