using Serein.Library.Api;
using Serein.Library.FlowNode;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Serein.Library
{
///
/// 流程画布
///
[FlowDataProperty(ValuePath = NodeValuePath.Node)]
public partial class FlowCanvasDetails
{
///
/// 流程画布的构造函数
///
///
public FlowCanvasDetails(IFlowEnvironment env)
{
Env = env;
}
///
/// 流程画布的运行环境
///
public IFlowEnvironment Env { get; }
///
/// 画布拥有的节点
///
[DataInfo(IsProtection = false)]
private List _nodes = [];
//private System.Collections.ObjectModel.ObservableCollection _nodes = [];
///
/// 画布公开的节点
///
[DataInfo(IsProtection = false)]
private List _publicNodes = [];
///
/// 标识画布ID
///
[DataInfo(IsProtection = false)]
private string _guid;
///
/// 画布名称
///
[DataInfo(IsNotification = true)]
private string _name;
///
/// 画布宽度
///
[DataInfo(IsNotification = true)]
private double _width;
///
/// 画布高度
///
[DataInfo(IsNotification = true)]
private double _height;
///
/// 预览位置X
///
[DataInfo(IsNotification = true)]
private double _viewX;
///
/// 预览位置Y
///
[DataInfo(IsNotification = true)]
private double _viewY;
///
/// 缩放比例X
///
[DataInfo(IsNotification = true)]
private double _scaleX = 1;
///
/// 缩放比例Y
///
[DataInfo(IsNotification = true)]
private double _scaleY = 1;
///
/// 起始节点
///
[DataInfo]
private IFlowNode _startNode;
}
public partial class FlowCanvasDetails
{
}
}