VertexTraverse Method (EdgeType, Direction) |
Selects all neighbor Vertices from or to this vertex 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(
EdgeType etype,
Direction dir
)
Public Function Traverse (
etype As EdgeType,
dir As Direction
) As Dictionary(Of Vertex, HashSet(Of Edge))
public:
Dictionary<Vertex^, HashSet<Edge^>^>^ Traverse(
EdgeType^ etype,
Direction dir
)
member Traverse :
etype : EdgeType *
dir : Direction -> Dictionary<Vertex, HashSet<Edge>>
Parameters
- etype
- Type: VelocityGraphEdgeType
Edge type identifier. - dir
- Type: VelocityGraph.Frontenac.BlueprintsDirection
Direction to traverse edges
Return Value
Type:
DictionaryVertex,
HashSetEdgeDictionary of vertex key with edge path(s) to vertex
See Also