2 * Copyright (c) 2017 ZTE Corporation.
\r
3 * All rights reserved. This program and the accompanying materials
\r
4 * are made available under the terms of the Eclipse Public License v1.0
\r
5 * and the Apache License 2.0 which both accompany this distribution,
\r
6 * and are available at http://www.eclipse.org/legal/epl-v10.html
\r
7 * and http://www.apache.org/licenses/LICENSE-2.0
\r
10 * ZTE - initial API and implementation and/or initial documentation
\r
13 import { Component, AfterViewInit, Input } from '@angular/core';
\r
15 import { JsPlumbService } from '../../services/jsplumb.service';
\r
18 * workflow node component
\r
21 selector: 'b4t-node',
\r
22 styleUrls: ['./node.component.css'],
\r
23 templateUrl: 'node.component.html',
\r
25 export class NodeComponent {
\r
26 @Input() public node: Node;
\r
28 constructor(private jsPlumbService: JsPlumbService) {
\r