Search Results for

    Show / Hide Table of Contents

    Class Edge

    Represents an edge between to vertices.

    Inheritance
    object
    Element
    Edge
    Implements
    IEquatable<Element>
    Inherited Members
    Element.Id
    Element.Label
    Element.Properties
    Element.Equals(Element)
    Element.Equals(object)
    Element.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Gremlin.Net.Structure
    Assembly: Gremlin.Net.dll
    Syntax
    public class Edge : Element, IEquatable<Element>

    Constructors

    Edge(object?, Vertex, string, Vertex, dynamic[]?)

    Initializes a new instance of the Edge class.

    Declaration
    public Edge(object? id, Vertex outV, string label, Vertex inV, dynamic[]? properties = null)
    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.

    dynamic[] properties

    Optional properties of the edge.

    Properties

    InV

    Gets the incoming/head vertex of this edge.

    Declaration
    public Vertex InV { get; }
    Property Value
    Type Description
    Vertex

    OutV

    Gets the outgoing/tail vertex of this edge.

    Declaration
    public Vertex OutV { get; }
    Property Value
    Type Description
    Vertex

    Methods

    Property(string)

    Get property by key

    Declaration
    public Property? Property(string key)
    Parameters
    Type Name Description
    string key
    Returns
    Type Description
    Property

    property or null when not found

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IEquatable<T>
    In this article
    Back to top Copyright © 2018 The Apache Software Foundation