Added the functionality to add RelayNode directly to edge between two Prot;

This commit is contained in:
Misaki
2024-11-07 00:42:52 +09:00
parent 02ae77f17a
commit 5ac1081d32
16 changed files with 243 additions and 150 deletions

View File

@@ -0,0 +1,22 @@
namespace Misaki.GraphView.Editor
{
public interface IDataNodeView<T> : IDataNodeView
{
/// <summary>
/// The data node that the view represents.
/// </summary>
public T DataNode
{
get;
}
}
public interface IDataNodeView
{
/// <summary>
/// Get the data node that the view represents.
/// </summary>
/// <returns></returns>
public DataNode GetDataNode();
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 81b43125cc7c5e74f8752420b31030c7