← All types
Materials & logisticsIn Input object

WhatIfEdgeInput

A caller-supplied, never-persisted hypothetical edge for whatIf (pg_weaver's extra_edges query-time injection).

Fields

source

ID!Required

TypeID of the hypothetical edge's source node.

target

ID!Required

TypeID of the hypothetical edge's target node.

rel

StringOptional

Relationship name for this hypothetical edge (e.g. "depends_on"). Defaults to "related" when omitted.

weight

FloatOptional

Edge weight; defaults to 1.0 when omitted.

Referenced by (1)
Exact type SDL
"""
A caller-supplied, never-persisted hypothetical edge for whatIf (pg_weaver's extra_edges query-time injection).
"""
input WhatIfEdgeInput {
  """TypeID of the hypothetical edge's source node."""
  source: ID!
  """TypeID of the hypothetical edge's target node."""
  target: ID!
  """
  Relationship name for this hypothetical edge (e.g. "depends_on"). Defaults to "related" when omitted.
  """
  rel: String
  """Edge weight; defaults to 1.0 when omitted."""
  weight: Float
}