Click or drag to resize

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)
Syntax
public static void RelabelEdges(
	this IEnumerable<IEdge> oldEdges,
	IGraph graph,
	string newLabel
)

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