Class Vertex
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
objectThe id of the vertex.
label
stringThe 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
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()