gremlin
    Preparing search index...

    Class Edge<TOutVertex, TLabel, TInVertex, TProperties, TId>

    Type Parameters

    • TOutVertex extends Vertex = Vertex
    • TLabel extends string = string
    • TInVertex extends Vertex = Vertex
    • TProperties extends Record<string, any> = Record<string, any>
    • TId = number

    Hierarchy

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      • TOutVertex extends Vertex<
            string,
            Record<string, any>,
            number,
            {
                [key: string]: [
                    VertexProperty<string, any, Record<string, any>, any>,
                    ...VertexProperty<string, any, Record<string, any>, any>[],
                ];
            },
        > = Vertex<
            string,
            Record<string, any>,
            number,
            {
                [key: string]: [
                    VertexProperty<string, any, Record<string, any>, any>,
                    ...VertexProperty<string, any, Record<string, any>, any>[],
                ];
            },
        >
      • TLabel extends string = string
      • TInVertex extends Vertex<
            string,
            Record<string, any>,
            number,
            {
                [key: string]: [
                    VertexProperty<string, any, Record<string, any>, any>,
                    ...VertexProperty<string, any, Record<string, any>, any>[],
                ];
            },
        > = Vertex<
            string,
            Record<string, any>,
            number,
            {
                [key: string]: [
                    VertexProperty<string, any, Record<string, any>, any>,
                    ...VertexProperty<string, any, Record<string, any>, any>[],
                ];
            },
        >
      • TProperties extends Record<string, any> = Record<string, any>
      • TId = number

      Parameters

      Returns Edge<TOutVertex, TLabel, TInVertex, TProperties, TId>

    Properties

    id: TId
    label: TLabel
    properties: Property<any>[] = []

    Methods

    • Compares this instance to another and determines if they can be considered as equal.

      Parameters

      • other: any

      Returns boolean