/// <summary> /// Gets the number of edges from or to this vertex and for the given edge type. /// </summary> /// <param name="edgeType">an EdgeType</param> /// <param name="dir">direction, one of: Out, In, Both</param> /// <returns>The number of edges.</returns> public long GetNumberOfEdges(EdgeType edgeType, Direction dir) { return(m_vertexType.GetNumberOfEdges(edgeType, this.VertexId, dir)); }