Click or drag to resize

Graph.Traverse Method

Selects all neighbor Vertices from or to each of the node OID in the given collection and for the given edge type.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public Dictionary<Vertex, HashSet<Edge>> Traverse(
	Vertex[] vertices,
	EdgeType etype,
	Direction dir
)

Parameters

vertices
Type:VelocityGraph.Vertex[]
Vertex collection.
etype
Type: VelocityGraph.EdgeType
Edge type identifier.
dir
Type: VelocityGraph.Frontenac.Blueprints.Direction
Direction.

Return Value

Type: Dictionary<Vertex, HashSet<Edge>>
Dictionary of vertex keys with edges path to vertex
See Also