Table of Contents

Constructor Edge

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

Edge()

Creates an edge with a new identifier and no connected slots.

public Edge()

Remarks

This constructor mainly exists for serialization and delayed initialization scenarios.

Edge(SlotRef, SlotRef)

Creates an edge that connects one output slot to one input slot.

public Edge(SlotRef outputSlot, SlotRef inputSlot)

Parameters

outputSlot SlotRef

The source slot that provides the data.

inputSlot SlotRef

The destination slot that receives the data.

Remarks

The constructor records the connection as provided. Compatibility, node existence, and recursion safety are enforced later by GraphAsset when the edge is added to a graph.