Click or drag to resize

Vertex Methods

The Vertex type exposes the following members.

Methods
  NameDescription
Public methodAddEdge(String, IVertex)
Add an edge from this Vertex to inVertex of edge type looked up from label, if edge type does not yet exist it is created.
Public methodAddEdge(EdgeType, Vertex)
Add an edge from this Vertex to inVertex of edge type.
Public methodAddEdge(Object, String, IVertex)
Add an edge from this Vertex to inVertex of edge type looked up from label, if edge type does not yet exist it is created.
Public methodEquals(Object)
Determines whether the specified Vertex is equal to the current one.
(Overrides ObjectEquals(Object).)
Public methodEquals(Vertex, Vertex)
Determines whether the specified objects are equal.
Public methodGetEdges(Direction, String)
Return the edges incident to the vertex according to the provided direction and edge labels.
Public methodGetEdges(EdgeType, Direction)
Selects all edges from or to this vertex and for the given edge type.
Public methodGetHashCode
Use id as hash code
(Overrides ElementGetHashCode.)
Public methodGetHashCode(Vertex)
Returns a hash code for the specified object.
Public methodGetNumberOfEdges(EdgeType, Direction)
Gets the number of edges from or to this vertex and for the given edge type.
Public methodGetNumberOfEdges(EdgeType, Vertex, Direction)
Gets the number of edges from or to this vertex for the given edge type and the given other Vertex.
Public methodGetProperty(String)
Return the object value associated with the provided string key. If no value exists for that key, return null.
(Overrides DictionaryElement.GetProperty(String).)
Public methodGetProperty(PropertyType)
Gets the Value for the given Property id
Public methodGetPropertyKeys
Return all the keys associated with the vertex.
(Overrides DictionaryElement.GetPropertyKeys.)
Public methodGetVertices
Return the vertices adjacent to the vertex according to the provided direction and edge labels. This method does not remove duplicate vertices (i.e. those vertices that are connected by more than one edge).
Public methodQuery
Uses DefaultVertexQuery
Public methodRelatedVertices
Public methodRemove
Removes this Vertex from the Graph
(Overrides DictionaryElement.Remove.)
Public methodRemoveProperty
Un-assigns a key/value property from the vertex. The object value of the removed property is returned.
(Overrides DictionaryElement.RemoveProperty(String).)
Public methodSetProperty(String, Object)
Assign a key/value property to the vertex. If a value already exists for this key, then the previous key/value is overwritten.
(Overrides DictionaryElement.SetProperty(String, Object).)
Public methodSetProperty(PropertyType, IComparable)
Assign a key/value property to the vertex. If a value already exists for this key, then the previous key/value is overwritten.
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Public methodTraverse(Direction, ISetEdgeType)
Selects all neighbor Vertices from or to this vertex and for the given edge types.
Public methodTraverse(EdgeType, Direction)
Selects all neighbor Vertices from or to this vertex and for the given edge type.
Public methodTraverse(Int32, Boolean, Direction, Vertex, ISetEdgeType, ISetVertexType, ISetVertexType, ISetVertex, ISetVertex, ISetEdge, ISetEdge, ISetPropertyType, ISetPropertyType, ISetPropertyType, ISetPropertyType, FuncVertex, Boolean, FuncEdge, Boolean, FuncListEdge, Boolean)
Traverses graph from this Vertex to a target Vertex using Breadth-first search like in Dijkstra's algorithm
Top
See Also