Graph union#

graph_union(g1, g2)#
template<network_edge EdgeT>
network<EdgeT> graph_union(const network<EdgeT> &g1, const network<EdgeT> &g2)#

Calculates the graph union of two networks g1 and g2: a new network containing the union of their sets of vertices and edges.