GraphHelpersCopyGraph Method  | 
 
                Copy the vertex/edges of one graph over to another graph.
                The id of the elements in the from graph are attempted to be used in the to graph.
                This method only works for graphs where the user can control the element ids.
            
 
    Namespace: 
   Frontenac.Blueprints.Util
    Assembly:
   VelocityGraph (in VelocityGraph.dll) Version: 10.1.0.0 (10.1)
Syntaxpublic static void CopyGraph(
	this IGraph from,
	IGraph to
)
<ExtensionAttribute>
Public Shared Sub CopyGraph ( 
	from As IGraph,
	to As IGraph
)
public:
[ExtensionAttribute]
static void CopyGraph(
	IGraph^ from, 
	IGraph^ to
)
[<ExtensionAttribute>]
static member CopyGraph : 
        from : IGraph * 
        to : IGraph -> unit 
Parameters
- from
 - Type: Frontenac.BlueprintsIGraph
the graph to copy from - to
 - Type: Frontenac.BlueprintsIGraph
the graph to copy to 
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IGraph. When you use instance method syntax to call this method, omit the first parameter. For more information, see 
Extension Methods (Visual Basic) or 
Extension Methods (C# Programming Guide).
See Also