Delegate IdentifiableEdgeFactory<TVertex, TEdge>
Delegate to create an identifiable edge.
Namespace: QuikGraph
Assembly: QuikGraph.dll
Syntax
public delegate TEdge IdentifiableEdgeFactory<in TVertex, out TEdge>(TVertex source, TVertex target, string id)
where TEdge : IEdge<TVertex>;
Parameters
Type | Name | Description |
---|---|---|
TVertex | source | Edge source vertex. |
TVertex | target | Edge target vertex. |
System.String | id | Edge id. |
Returns
Type | Description |
---|---|
TEdge | The created vertex. |
Type Parameters
Name | Description |
---|---|
TVertex | Vertex type. |
TEdge | Edge type. |