From 95141017fb4dfe5c3ad4b9dcc255ccd949944ccf Mon Sep 17 00:00:00 2001 From: Lvbo163 Date: Tue, 29 Aug 2017 10:07:13 +0800 Subject: support add workflow node add toolbar, support add workflow nodes to edit area Issue-ID: SDC-255 Change-Id: I84353644c3947a3298f3f71e51085311456a33e3 Signed-off-by: Lvbo163 --- .../src/app/model/workflow-node.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 sdc-workflow-designer-ui/src/app/model/workflow-node.ts (limited to 'sdc-workflow-designer-ui/src/app/model') diff --git a/sdc-workflow-designer-ui/src/app/model/workflow-node.ts b/sdc-workflow-designer-ui/src/app/model/workflow-node.ts new file mode 100644 index 00000000..21f366fa --- /dev/null +++ b/sdc-workflow-designer-ui/src/app/model/workflow-node.ts @@ -0,0 +1,20 @@ +/** + * Copyright (c) 2017 ZTE Corporation. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * and the Apache License 2.0 which both accompany this distribution, + * and are available at http://www.eclipse.org/legal/epl-v10.html + * and http://www.apache.org/licenses/LICENSE-2.0 + * + * Contributors: + * ZTE - initial API and implementation and/or initial documentation + */ + +import { Injectable } from '@angular/core'; + +/** + * WorkflowNode + */ +export class WorkflowNode { + constructor(public id: string, public name: string, public type: string, public top: number, public left: number) {} +} -- cgit 1.2.3-korg