You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
423 B
17 lines
423 B
namespace StabilityMatrix.Core.Models.Api.Comfy.Nodes; |
|
|
|
/// <summary> |
|
/// Skeleton node that relays the output of another node |
|
/// </summary> |
|
public record RerouteNode(object[] Connection) : IOutputNode |
|
{ |
|
/// <inheritdoc /> |
|
public object[] GetOutput(int index) |
|
{ |
|
if (index != 0) |
|
{ |
|
throw new ArgumentOutOfRangeException(nameof(index)); |
|
} |
|
return Connection; |
|
} |
|
}
|
|
|