Function maxDepth

  • Finds length of the longest graph path originating from or ending at given vertex, optionally filtering by path edges' labels.

    Returns

    Parameters

    • queryCondition: any
    • context: KosmosUserContext<object>
    • vertexId: string
    • Optional __namedParameters: {
          direction?: string;
          edgeLabel: any;
      }
      • Optional direction?: string
      • edgeLabel: any

    Returns Promise<number>

Generated using TypeDoc