Click or drag to resize

VertexGetNumberOfEdges Method (EdgeType, Vertex, Direction)

Gets the number of edges from or to this vertex for the given edge type and the given other Vertex.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public long GetNumberOfEdges(
	EdgeType edgeType,
	Vertex headVertex,
	Direction dir
)

Parameters

edgeType
Type: VelocityGraphEdgeType
an EdgeType
headVertex
Type: VelocityGraphVertex
Vertex at other end of the edge
dir
Type: VelocityGraph.Frontenac.BlueprintsDirection
direction, one of: Out, In, Both

Return Value

Type: Int64
The number of edges.
See Also