Changed Slot in RelayNode to ProxySlot;

Changed PullData and PushData from SlotExtension to ISlot;

Added BackTraceExecutableNode;

Removed IExecutable from RelayNode;
This commit is contained in:
Misaki
2024-11-10 12:28:12 +09:00
parent 994297a3f2
commit d3c5968a80
21 changed files with 398 additions and 281 deletions

View File

@@ -0,0 +1,19 @@
namespace Misaki.GraphView.Sample
{
public abstract class BackTraceExecutableNode : ExecutableNode
{
protected override void OnPullData(ISlot input)
{
if (input.LinkedSlotDatas.Count == 0)
{
return;
}
var outputNode = GraphObject.GetNode(input.LinkedSlotDatas[0].nodeID);
if (outputNode is IExecutable executable)
{
executable.Execute();
}
}
}
}