Graph search · GraphQL input

GraphRelationshipSearchInput input

A relationship constraint applied to a GraphSearchQueryInput: match objects that have (or, when negated, do not have) a relationship to other objects matching the nested query.

Fields

Input Field Description
directedRelationshipId - ID! The identifier of the RelationshipDirected being traversed. Encodes both the underlying relationship and the direction in which it is traversed.
with - GraphSearchQueryInput! The nested query that describes the objects on the other side of the relationship.
negate - Boolean! When true the constraint matches objects that do not have the specified relationship. Defaults to false when omitted. Default = false

Used by

  • GraphSearchQueryInput input: Specifies the search criteria for a single graph query: the object type to return, optional time and location filters, relationship constraints, the…
  • RuleBodyThresholdInput input: Input variant of RuleBodyThreshold.

Example

Example

{
  "directedRelationshipId": "4",
  "with": GraphSearchQueryInput,
  "negate": false
}