
Add an undirected edge from v1 to v2 to graph g if it does not already exist.
add_unique_edge.Rd
Add an undirected edge from v1 to v2 to graph g if it does not already exist.
Examples
# Add one unique edge between nodes 1 and 4 to empty ten-node network
g <- igraph::make_empty_graph(n = 10)
g <- add_unique_edge(g, 1, 4)