using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.Library.Api
{
///
/// 约束具有容器功能的节点应该有什么方法
///
public interface INodeContainer
{
///
/// 容器节点的Guid,与 IFlowNode.Guid 相同
///
string Guid { get; }
///
/// 放置一个节点
///
///
bool PlaceNode(IFlowNode nodeModel);
///
/// 取出一个节点
///
///
bool TakeOutNode(IFlowNode nodeModel);
///
/// 取出所有节点(用于删除容器)
///
void TakeOutAll();
}
}