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 { /// /// 流程画布 /// [NodeProperty(ValuePath = NodeValuePath.Node)] public partial class FlowCanvasDetails { public FlowCanvasDetails(IFlowEnvironment env) { Env = env; } public IFlowEnvironment Env { get; } /// /// 画布拥有的节点 /// [PropertyInfo(IsProtection = true)] private System.Collections.ObjectModel.ObservableCollection _nodes = []; /// /// 画布公开的节点 /// [PropertyInfo(IsProtection = true)] private System.Collections.ObjectModel.ObservableCollection _publicNodes = []; /// /// 标识画布ID /// [PropertyInfo(IsProtection = false)] private string _guid; /// /// 画布名称 /// [PropertyInfo(IsNotification = true)] private string _name; /// /// 画布宽度 /// [PropertyInfo(IsNotification = true)] private double _width; /// /// 画布高度 /// [PropertyInfo(IsNotification = true)] private double _height; /// /// 预览位置X /// [PropertyInfo(IsNotification = true)] private double _viewX; /// /// 预览位置Y /// [PropertyInfo(IsNotification = true)] private double _viewY; /// /// 缩放比例X /// [PropertyInfo(IsNotification = true)] private double _scaleX = 1; /// /// 缩放比例Y /// [PropertyInfo(IsNotification = true)] private double _scaleY = 1; /// /// 起始节点 /// [PropertyInfo] private IFlowNode _startNode; } public partial class FlowCanvasDetails { } }