summaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/model
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/model')
-rw-r--r--sdc-workflow-designer-ui/src/app/model/workflow/node-type.enum.ts4
-rw-r--r--sdc-workflow-designer-ui/src/app/model/workflow/position.ts2
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) { }
}