graph-toolkit
    Preparing search index...

    Interface Edge

    interface Edge {
        attributes?: Readonly<Record<string, AttributeValue>>;
        source: VertexId;
        target: VertexId;
        weight: number;
    }
    Index
    attributes?: Readonly<Record<string, AttributeValue>>

    Present only on edges that were given attributes.

    source: VertexId
    target: VertexId
    weight: number