Class Edge
Represents an edge in DSE graph.
Inherited Members
Namespace: Cassandra.DataStax.Graph
Assembly: Cassandra.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 | |
string | label | |
IDictionary<string, GraphNode> | properties | |
GraphNode | inV | |
string | inVLabel | |
GraphNode | outV | |
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 |
---|---|
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 |
---|---|
string |