Method GetInputLink
GetInputLink(SlotRef)
Resolves the upstream source for an input slot.
public SlotRef GetInputLink(SlotRef inputSlot)
Parameters
inputSlotSlotRefThe input slot to resolve.
Returns
- SlotRef
The connected upstream output slot, the slot registered to a linked variable, or Pinwheel.Vista.Graph.SlotRef.invalid when the input is unconnected.
Remarks
Variable indirection is resolved here, so callers receive the final effective source slot rather than the raw edge stored in the graph.
GetInputLink(string, int)
Resolves the upstream source for a specific input slot identified by node and slot id.
public SlotRef GetInputLink(string nodeId, int slotId)