CvGraph Constructor (SeqType, Int32, Int32, CvMemStorage) OpenCvSharp Class Library
Creates empty graph

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvGraph(
	SeqType graphFlags,
	int vtxSize,
	int edgeSize,
	CvMemStorage storage
)

Parameters

graphFlags
Type: OpenCvSharpSeqType
Type of the created graph. Usually, it is either CV_SEQ_KIND_GRAPH for generic unoriented graphs and CV_SEQ_KIND_GRAPH | CV_GRAPH_FLAG_ORIENTED for generic oriented graphs.
vtxSize
Type: SystemInt32
Graph vertex size; the custom vertex structure must start with CvGraphVtx (use CV_GRAPH_VERTEX_FIELDS())
edgeSize
Type: SystemInt32
Graph edge size; the custom edge structure must start with CvGraphEdge (use CV_GRAPH_EDGE_FIELDS())
storage
Type: OpenCvSharpCvMemStorage
The graph container.
Remarks

The function cvCreateGraph creates an empty graph and returns it.
See Also

Reference