Click or drag to resize

VertexTraverse Method (Direction, ISetEdgeType)

Selects all neighbor Vertices from or to this vertex and for the given edge types.

Namespace:  VelocityGraph
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
public Dictionary<Vertex, HashSet<Edge>> Traverse(
	Direction dir,
	ISet<EdgeType> edgeTypesToTraverse = null
)

Parameters

dir
Type: VelocityGraph.Frontenac.BlueprintsDirection
Direction to traverse edges
edgeTypesToTraverse (Optional)
Type: System.Collections.GenericISetEdgeType
the type of edges to follow, by default null which means follow all edge types

Return Value

Type: DictionaryVertex, HashSetEdge
All paths to neighbor vertices
See Also