Class Edge
Represents an edge in DSE graph.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Dse.Graph
Assembly: Dse.dll
Syntax
public class Edge : Element, IEdge, IElement, IEquatable<IElement>
Constructors
Edge(GraphNode, String, IDictionary<String, GraphNode>, GraphNode, String, GraphNode, String)
Creates a new instance of Edge.
Declaration
public Edge(GraphNode id, string label, IDictionary<string, GraphNode> properties, GraphNode inV, string inVLabel, GraphNode outV, string outVLabel)
Parameters
Type | Name | Description |
---|---|---|
GraphNode | id | |
System.String | label | |
System.Collections.Generic.IDictionary<System.String, GraphNode> | properties | |
GraphNode | inV | |
System.String | inVLabel | |
GraphNode | outV | |
System.String | outVLabel |
Properties
InV
Gets the incoming/head vertex.
Declaration
public GraphNode InV { get; }
Property Value
Type | Description |
---|---|
GraphNode |
InVLabel
Gets the label of the incoming/head vertex.
Declaration
public string InVLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
OutV
Gets the outgoing/tail vertex.
Declaration
public GraphNode OutV { get; }
Property Value
Type | Description |
---|---|
GraphNode |
OutVLabel
Gets the label of the outgoing/tail vertex.
Declaration
public string OutVLabel { get; }
Property Value
Type | Description |
---|---|
System.String |
Explicit Interface Implementations
IEdge.InV
Declaration
IGraphNode IEdge.InV { get; }
Returns
Type | Description |
---|---|
IGraphNode |
IEdge.OutV
Declaration
IGraphNode IEdge.OutV { get; }
Returns
Type | Description |
---|---|
IGraphNode |
Implements
System.IEquatable<T>