Added the functionality to add RelayNode directly to edge between two Prot;
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Misaki.GraphView
|
||||
|
||||
public GraphObject GraphObject => graphObject;
|
||||
public string Id => id;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Initialize the node with the graph object, this method is called when the node is added to the graph.
|
||||
/// </summary>
|
||||
@@ -23,9 +23,9 @@ namespace Misaki.GraphView
|
||||
{
|
||||
graphObject = graph;
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Unload the node, this method is called when the node is removed from the graph.
|
||||
/// Dispose the node, this method is called when the node is removed from the graph.
|
||||
/// </summary>
|
||||
public virtual void Dispose()
|
||||
{
|
||||
|
||||
@@ -10,6 +10,8 @@ namespace Misaki.GraphView
|
||||
|
||||
private bool _isExecuted;
|
||||
|
||||
public string portValueType;
|
||||
|
||||
public override void Initialize(GraphObject graph)
|
||||
{
|
||||
graphObject = graph;
|
||||
@@ -31,6 +33,8 @@ namespace Misaki.GraphView
|
||||
direction = SlotDirection.Output,
|
||||
valueType = typeof(object).FullName
|
||||
});
|
||||
|
||||
portValueType = typeof(object).FullName;
|
||||
}
|
||||
|
||||
public void AddSlot(Slot slot)
|
||||
|
||||
Reference in New Issue
Block a user