Class Vertex
Represents a vertex.
Implements
Inherited Members
Namespace: Gremlin.Net.Structure
Assembly: Gremlin.Net.dll
Syntax
public class Vertex : Element, IEquatable<Element>
Constructors
Vertex(object, string)
Initializes a new instance of the Vertex class.
Declaration
public Vertex(object id, string label = "vertex")
Parameters
Type | Name | Description |
---|---|---|
object | id | The id of the vertex. |
string | label | The label of the vertex. |
Fields
DefaultLabel
The default label to use for a vertex.
Declaration
public const string DefaultLabel = "vertex"
Field Value
Type | Description |
---|---|
string |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |