Function listVerticesFromVertexIdByEdgeLabelToVertexLabel

  • This function is used to retrieve list a specific type of vertices, which are connected by a specified edge type from a specified vertex specified by id.

    Parameters

    • queryCondition: TraitGraphQuery<any>

      The graph query condition

    • context: KosmosUserContext<object>

      This is the users context

    • srcVertexId: string

      This is the id of the source vertex

    • edgeType: string

      This is the nema of the connecting edge to follow

    • destination_type: string

      This is the name of the type of the vertex the edge should connect to.

    • Optional offset: number

      Offset is used to handle the offset into the array

    • Optional limit: number

      Limit set the number of items to return.

    • Optional accessBypass: boolean

      Used by traits to bypass access control checks default:false

    Returns Promise<any>

Generated using TypeDoc