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).
Namespace:
VelocityGraph
Assembly:
VelocityGraph (in VelocityGraph.dll) Version: 11.1.0.0 (11.1)
Syntax public IEnumerable<IVertex> GetVertices(
Direction direction,
params string[] labels
)
Public Function GetVertices (
direction As Direction,
ParamArray labels As String()
) As IEnumerable(Of IVertex)
public:
virtual IEnumerable<IVertex^>^ GetVertices(
Direction direction,
... array<String^>^ labels
) sealed
abstract GetVertices :
direction : Direction *
labels : string[] -> IEnumerable<IVertex>
override GetVertices :
direction : Direction *
labels : string[] -> IEnumerable<IVertex>
Parameters
- direction
- Type: VelocityGraph.Frontenac.BlueprintsDirection
the direction of the edges of the adjacent vertices - labels
- Type: SystemString
the labels of the edges of the adjacent vertices
Return Value
Type:
IEnumerableIVertexan IEnumerable of adjacent vertices
Implements
IVertexGetVertices(Direction, String)See Also