namespace Dongke.IBOSS.Basics.FlowSetting { /// /// FlowBox的模式 /// public enum FlowBoxMode { /// /// 显示模式 /// Display = 0, /// /// 编辑模式(只能选中节点(移动、改变大小),不能修改其他) /// LayoutEdit, /// /// 编辑模式(可以修改节点属性,不能改变流程顺序) /// LimitEdit, /// /// 编辑模式 /// Edit, } /// /// 流程节点的对齐方式 /// public enum ArrangeType { /// /// 左对齐 /// Left = 0, /// /// 右对齐 /// Right = 1, /// /// 左右中央对齐 /// HorizontalCenter = 2, /// /// 上对齐 /// Top = 3, /// /// 下对齐 /// Bottom = 4, /// /// 上下中央对齐 /// VerticalCenter = 5, ///// ///// 左右对齐 ///// //LeftRight = 6, ///// ///// 上下对齐 ///// //TopBottom = 7, } /// /// 流程节点类型 /// public enum FlowNodeType { /// /// 单独节点 /// Alone = 0, /// /// 开始节点 /// Begin = 1, /// /// 结束节点 /// End = 2, /// /// 流程节点 /// General = 3, } /// /// 锚点种类 /// public enum AnchorKind { /// /// 无 /// None = -1, /// /// 上 /// Top = 0, /// /// 下 /// Bottom = 1, /// /// 左 /// Left = 2, /// /// 右 /// Right = 3, } /// /// 流程节点状态 /// public enum FlowNodeState { /// /// 脱离流程(新加节点删除后的状态) /// Detached = 1, /// /// 未改变 /// Unchanged = 2, /// /// 新加节点 /// Added = 4, /// /// 删除节点(原有节点删除后的状态) /// Deleted = 8, ///// ///// 修改节点 ///// //Modified = 16, } /// /// 鼠标操作类型 /// internal enum MouseOperatingType { /// /// 无操作 /// None = 0, /// /// 框选 /// RectSelect, /// /// 移动 /// Move, /// /// 节点左上角 /// NodeTopAndLeft, /// /// 节点右上角 /// NodeTopAndRight, /// /// 节点左下角 /// NodeBottomAndLeft, /// /// 节点右下角 /// NodeBottomAndRight, /// /// 节点上中点 /// NodeTop, /// /// 节点下中点 /// NodeBottom, /// /// 节点左中点 /// NodeLeft, /// /// 节点右中点 /// NodeRight, /// /// 线段起始点 /// LineBegin, /// /// 线段终结点 /// LineEnd, /// /// 鼠标绘制节点 /// DrawingNode, /// /// 鼠标绘制线段 /// DrawingLine, } /* 操作场所 handler(#) / side-#- * (0)---0---(4)---1---(1) * | | * 2 6 * | | * (6) (8) (7) * | | * 3 7 * | | * (2)---4---(5)---5---(3) */ /// /// 选择状态附加样式 /// internal enum NodePointKind { /// /// 上左 /// TopAndLeft = 0, /// /// 上右 /// TopAndRight = 1, /// /// 下左 /// BottomAndLeft = 2, /// /// 下右 /// BottomAndRight = 3, /// /// 上 /// Top = 4, /// /// 下 /// Bottom = 5, /// /// 左 /// Left = 6, /// /// 右 /// Right = 7, } /// /// 选择状态附加样式 /// internal enum LinePointKind { /// /// 开始点 /// Begin = 0, /// /// 结束点 /// End = 1, } }