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
)
Public Function Traverse (
vertices As Vertex(),
etype As EdgeType,
dir As Direction
) As Dictionary(Of Vertex, HashSet(Of Edge))
public:
Dictionary<Vertex^, HashSet<Edge^>^>^ Traverse(
array<Vertex^>^ vertices,
EdgeType^ etype,
Direction dir
)
member Traverse :
vertices : Vertex[] *
etype : EdgeType *
dir : Direction -> Dictionary<Vertex, HashSet<Edge>>
Parameters
- vertices
- Type: VelocityGraphVertex
Vertex collection. - etype
- Type: VelocityGraphEdgeType
Edge type identifier. - dir
- Type: VelocityGraph.Frontenac.BlueprintsDirection
Direction.
Return Value
Type:
DictionaryVertex,
HashSetEdgeDictionary of vertex keys with edges path to vertex
See Also