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();
|
||||
}
|
||||
}
|
||||
2
Editor/Contracts/IDataNodeView.cs.meta
Normal file
2
Editor/Contracts/IDataNodeView.cs.meta
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 81b43125cc7c5e74f8752420b31030c7
|
||||
Reference in New Issue
Block a user