Type alias EdgeDefinition

EdgeDefinition: {
    collection: string;
    from: string[];
    to: string[];
}

Definition of a relation in a graph.Graph.

Type declaration

  • collection: string

    Name of the collection containing the edges.

  • from: string[]

    Array of names of collections containing the start vertices.

  • to: string[]

    Array of names of collections containing the end vertices.