Click or drag to resize

IGraphGetVertices Method (String, Object)

Return an iterable to all the vertices in the graph that have a particular key/value property. If this is not possible for the implementation, then a NotSupportedException can be thrown. The graph implementation should use indexing structures to make this efficient else a full vertex-filter scan is required.

Namespace:  VelocityGraph.Frontenac.Blueprints
Assembly:  VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax
IEnumerable<IVertex> GetVertices(
	string key,
	Object value
)

Parameters

key
Type: SystemString
the key of vertex
value
Type: SystemObject
the value of the vertex

Return Value

Type: IEnumerableIVertex
an iterable of vertices with provided key and value
See Also