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:  VelocityGraph.Frontenac.Blueprints.Util
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.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: VelocityGraph.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