ProcessElement 流程元素
1. 结构声明
- TS Declaration
- JSON Schema
class ProcessElement extends BaseNode {
name: string = '';
title: string;
description: string;
bindEvents: Array<BindEvent>;
type: string;
sourceRef: string;
targetRef: string;
bounds: Rect;
waypoints: Array<Point>;
flowValue: string;
logic: Logic;
variables: Array<Variable>;
returns: Array<Return>;
constants: Array<Constant>;
bindAttrs: Array<BindAttribute>;
multiApprovalPolicy: MultiApprovalPolicy;
}
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"bindEvents": {
"type": "array",
"items": {
"$ref": "#/definitions/BindEvent"
}
},
"type": {
"type": "string"
},
"sourceRef": {
"type": "string"
},
"targetRef": {
"type": "string"
},
"bounds": {
"$ref": "#/definitions/Rect"
},
"waypoints": {
"type": "array",
"items": {
"$ref": "#/definitions/Point"
}
},
"flowValue": {
"type": "string"
},
"logic": {
"$ref": "#/definitions/Logic"
},
"variables": {
"type": "array",
"items": {
"$ref": "#/definitions/Variable"
}
},
"returns": {
"type": "array",
"items": {
"$ref": "#/definitions/Return"
}
},
"constants": {
"type": "array",
"items": {
"$ref": "#/definitions/Constant"
}
},
"bindAttrs": {
"type": "array",
"items": {
"$ref": "#/definitions/BindAttribute"
}
},
"multiApprovalPolicy": {
"$ref": "#/definitions/MultiApprovalPolicy"
}
},
"required": [
"name",
"title",
"description",
"bindEvents",
"type",
"sourceRef",
"targetRef",
"bounds",
"waypoints",
"flowValue",
"logic",
"variables",
"returns",
"constants",
"bindAttrs",
"multiApprovalPolicy"
],
"additionalProperties": false
}