Class Edge
Represents an edge between to vertices.
Implements
Inherited Members
Namespace: Gremlin.Net.Structure
Assembly: Gremlin.Net.dll
Syntax
public class Edge : Element, IEquatable<Element>
Constructors
Edge(object, Vertex, string, Vertex)
Initializes a new instance of the Edge class.
Declaration
public Edge(object id, Vertex outV, string label, Vertex inV)
Parameters
Type | Name | Description |
---|---|---|
object | id | The id of the edge. |
Vertex | outV | The outgoing/tail vertex of the edge. |
string | label | The label of the edge. |
Vertex | inV | The incoming/head vertex of the edge. |
Properties
InV
Gets or sets the incoming/head vertex of this edge.
Declaration
public Vertex InV { get; set; }
Property Value
Type | Description |
---|---|
Vertex |
OutV
Gets or sets the outgoing/tail vertex of this edge.
Declaration
public Vertex OutV { get; set; }
Property Value
Type | Description |
---|---|
Vertex |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string |