Returns a new gNode which is the union of x and y (node.id's). All arguments must point at the same graph or an error will be thrown.

Returns a new gEdge which is the union of x and y (edge.id's). All arguments must point at the same graph or an error will be thrown.

Returns a new Junction Object which is the union of x and y.

# S4 method for gNode,gNode
union(x, y, ...)

# S4 method for gEdge,gEdge
union(x, y, ...)

# S4 method for Junction,Junction
union(x, y)

Arguments

x

a Junction Object

y

a Junction Object

Value

new gNode Object containing the union of x and y

new gEdge containing the union of x and y

new Junction Object containing the union of x and y

Author

Joe DeRose

Rick Mortensen