Delegate CreateVertexDelegate<TVertex, TEdge>
Delegate to create a vertex in a graph.
Namespace: QuikGraph
Assembly: QuikGraph.dll
Syntax
public delegate TVertex CreateVertexDelegate<TVertex, TEdge>(IVertexListGraph<TVertex, TEdge> graph)
where TEdge : IEdge<TVertex>;
Parameters
| Type | Name | Description |
|---|---|---|
| IVertexListGraph<TVertex, TEdge> | graph | Graph in with adding the vertex. |
Returns
| Type | Description |
|---|---|
| TVertex | The created vertex. |
Type Parameters
| Name | Description |
|---|---|
| TVertex | Vertex type. |
| TEdge | Edge type. |