diff options
author | 2017-08-31 19:43:52 +0800 | |
---|---|---|
committer | 2017-08-31 19:43:52 +0800 | |
commit | e0597dc5b0a3718aa3b5991a65096c609d23dba2 (patch) | |
tree | f7b258112dfae0be3a51e5e6ea08189ce28f63fd /sdc-workflow-designer-ui/src/app/model/workflow | |
parent | 626d74e4c51aa47da5d5d643b5b7a04188b5552a (diff) |
change component structure
separate bpmn elements from toolbar component, and add rest task and gateway elements.
Issue-ID: SDC-266
Change-Id: I5aabe92b161a44bfc24290e93cd80b8d73dbe963
Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/model/workflow')
-rw-r--r-- | sdc-workflow-designer-ui/src/app/model/workflow/node-type.enum.ts | 4 | ||||
-rw-r--r-- | sdc-workflow-designer-ui/src/app/model/workflow/position.ts | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sdc-workflow-designer-ui/src/app/model/workflow/node-type.enum.ts b/sdc-workflow-designer-ui/src/app/model/workflow/node-type.enum.ts index 994b3b67..c8d2fe2b 100644 --- a/sdc-workflow-designer-ui/src/app/model/workflow/node-type.enum.ts +++ b/sdc-workflow-designer-ui/src/app/model/workflow/node-type.enum.ts @@ -13,10 +13,8 @@ export enum NodeType { startEvent, endEvent, - toscaNodeManagementTask, restTask, + intermediateCatchEvent, exclusiveGateway, parallelGateway, - subProcess, - intermediateCatchEvent, } diff --git a/sdc-workflow-designer-ui/src/app/model/workflow/position.ts b/sdc-workflow-designer-ui/src/app/model/workflow/position.ts index b690f4d6..7f3fe6fb 100644 --- a/sdc-workflow-designer-ui/src/app/model/workflow/position.ts +++ b/sdc-workflow-designer-ui/src/app/model/workflow/position.ts @@ -17,5 +17,5 @@ import { Injectable } from '@angular/core'; * Workflow node position
*/
export class Position {
- constructor(public top: number, public left: number, public width?: number, public height?: number) { }
+ constructor(public top: number, public left: number, public width: number = 200, public height: number = 100) { }
}
|