INPUT_OBJECT

TraverseFilter

TraverseFilter is a filter used for graph traversals

link GraphQL Schema definition

  • input TraverseFilter {
  • # gtype is the doc/connection type to be filtered
  • root: RefInput!
  • # doc_expression is a boolean CEL expression used to determine which docs to
  • # traverse
  • doc_expression: String
  • # connection_expression is a boolean CEL expression used to determine which
  • # connections to traverse
  • connection_expression: String
  • # limit is the maximum number of items to return
  • limit: Int!
  • # custom sorting of the results.
  • sort: String
  • # reverse the direction of the connection traversal
  • reverse: Boolean
  • # DFS(depth-first-search) or BFS(breadth-first-search). Defaults to breadth-first
  • algorithm: Algorithm
  • # maximum degree/depth of nodes to be visited during traversal
  • max_depth: Int!
  • # maximum number of nodes to be visited during traversal
  • max_hops: Int!
  • }

link Require by