Click or drag to resize

IEdgeClone Method

Creates a shallow clone of this edge. All attributes will be transfered to the new edge. The edge will not be associated to a graph, yet. So it will not have any assigned variables.

Namespace:  de.unika.ipd.grGen.libGr
Assembly:  libGr (in libGr.dll) Version: GrGen.NET 7.2
Syntax
C#
IEdge Clone(
	INode newSource,
	INode newTarget
)

Parameters

newSource
Type: de.unika.ipd.grGen.libGrINode
The new source node for the new edge.
newTarget
Type: de.unika.ipd.grGen.libGrINode
The new target node for the new edge.

Return Value

Type: IEdge
A copy of this edge.
See Also