Scilab function

graph_union - union of two graphs

Calling Sequence

g2 = graph_union(g,g1)

Parameters

Description

graph_union creates a new graph g2. The node set of g2 is the union (in the usual sense) of the node sets of g and g1. g2 has an edge for each edge of g and an edge for each edge of g1. The edges of g and g1 having the same endpoints are kept and in this case g2 has multiple edges.

Examples

See Also