Class Edge
Represents an edge between to vertices.
Implements
System.IEquatable<Element>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Structure
Assembly: cs.temp.dll.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 |
---|---|---|
System.Object | id | The id of the edge. |
Vertex | outV | The outgoing/tail vertex of the edge. |
System.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 |
---|---|
System.String |
Overrides
System.Object.ToString()
Implements
System.IEquatable<T>