Example #1
0
 /// <summary>
 /// Selects all neighbor Vertices from or to this vertex and for the given edge type.
 /// </summary>
 /// <param name="etype">Edge type identifier.</param>
 /// <param name="dir">Direction to traverse edges</param>
 /// <returns>Dictionary of vertex key with edge path(s) to vertex</returns>
 public Dictionary <Vertex, HashSet <Edge> > Traverse(EdgeType etype, Direction dir)
 {
     return(m_vertexType.Traverse(this, etype, dir));
 }
Example #2
0
 /// <summary>
 /// Selects all neighbor Vertices from or to this vertex and for the given edge type.
 /// </summary>
 /// <param name="etype">Edge type identifier.</param>
 /// <param name="dir">Direction</param>
 /// <returns>Dictionary of vertex key with edge path to vertex</returns>
 public Dictionary <Vertex, Edge> Traverse(EdgeType etype, Direction dir)
 {
     return(vertexType.Traverse(Graph, this, etype, dir));
 }