Added the functionality to add RelayNode directly to edge between two Prot;
This commit is contained in:
22
Editor/Contracts/IDataNodeView.cs
Normal file
22
Editor/Contracts/IDataNodeView.cs
Normal 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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user