Skip to main content
Version: 3.0

ProcessElement 流程元素

结构声明

interface ProcessElement {
"concept": "ProcessElement", // 产品概念
"name": string, // 流程元素名称
"title": string, // 流程元素标题
"description": string, // 流程元素描述
"bindEvents": Array<BindEvent>, // 元素绑定事件列表
"type": string, // type
"sourceRef": string, // sourceRef
"targetRef": string, // targetRef
"bounds": Rect, // 矩形信息
"waypoints": Array<Point>, // 点信息列表
"flowValue": string, // flowValue
"logic": Logic, // 逻辑
"variables": Array<Variable>, // 变量列表
"returns": Array<Return>, // 输出参数列表
"constants": Array<Constant>, // 常量列表
"bindAttrs": Array<BindAttribute>, // 元素绑定属性列表
}

示例

简单示例

{
"concept": "ProcessElement",
"name": "Process1",
"title": null,
"description": null,
"bindEvents": [],
"type": null,
"sourceRef": null,
"targetRef": null,
"bounds": null,
"waypoints": [],
"flowValue": null,
"logic": null,
"variables": [],
"returns": [],
"constants": [],
"bindAttrs": []
}