Table of Contents

Class Vertex

Namespace
Gremlin.Net.Structure
Assembly
Gremlin.Net.dll

Represents a vertex.

public class Vertex : Element, IEquatable<Element>
Inheritance
Vertex
Implements
Inherited Members

Constructors

Vertex(object?, string, dynamic[]?)

Initializes a new instance of the Vertex class.

public Vertex(object? id, string label = "vertex", dynamic[]? properties = null)

Parameters

id object

The id of the vertex.

label string

The label of the vertex.

properties dynamic[]

Optional properties of the vertex.

Fields

DefaultLabel

The default label to use for a vertex.

public const string DefaultLabel = "vertex"

Field Value

string

Methods

Property(string)

Get property by key

public VertexProperty? Property(string key)

Parameters

key string

Returns

VertexProperty

property or null when not found

ToString()

public override string ToString()

Returns

string