EdgeHelpersRelabelEdges Method  | 
 
                Edges are relabeled by creating new edges with the same properties, but new label.
                Note that for each edge is deleted and an edge is added.
            
 
    Namespace: 
   Frontenac.Blueprints.Util
    Assembly:
   VelocityGraph (in VelocityGraph.dll) Version: 10.1.0.0 (10.1)
Syntaxpublic static void RelabelEdges(
	this IEnumerable<IEdge> oldEdges,
	IGraph graph,
	string newLabel
)
<ExtensionAttribute>
Public Shared Sub RelabelEdges ( 
	oldEdges As IEnumerable(Of IEdge),
	graph As IGraph,
	newLabel As String
)
public:
[ExtensionAttribute]
static void RelabelEdges(
	IEnumerable<IEdge^>^ oldEdges, 
	IGraph^ graph, 
	String^ newLabel
)
[<ExtensionAttribute>]
static member RelabelEdges : 
        oldEdges : IEnumerable<IEdge> * 
        graph : IGraph * 
        newLabel : string -> unit 
Parameters
- oldEdges
 - Type: System.Collections.GenericIEnumerableIEdge
the existing edges to "relabel" - graph
 - Type: Frontenac.BlueprintsIGraph
the graph to add the new edge to - newLabel
 - Type: SystemString
the label of the new edge 
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type 
IEnumerableIEdge. 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