namespace StabilityMatrix.Core.Models.Api.Comfy.Nodes;
///
/// Skeleton node that relays the output of another node
///
public record RerouteNode(object[] Connection) : IOutputNode
{
///
public object[] GetOutput(int index)
{
if (index != 0)
{
throw new ArgumentOutOfRangeException(nameof(index));
}
return Connection;
}
}