Click or drag to resize

GraphExtensions.ToAdjacencyGraph<TVertex, TEdge> Method (IEnumerable<TEdge>, Boolean)

Namespace:  QuickGraph
Assembly:  RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax
C#
public static AdjacencyGraph<TVertex, TEdge> ToAdjacencyGraph<TVertex, TEdge>(
	this IEnumerable<TEdge> edges,
	bool allowParallelEdges
)
where TEdge : Object, IEdge<TVertex>

Parameters

edges
Type: System.Collections.Generic.IEnumerable<TEdge>
allowParallelEdges
Type: System.Boolean

Type Parameters

TVertex
TEdge

Return Value

Type: AdjacencyGraph<TVertex, TEdge>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerable<TEdge>. 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