aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/components/node/node.component.html
blob: f875718d7506d9f98951dca895522e0ad40ebe8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!--
/**
 * 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
 */
-->
<div class="node" id="{{node.id}}" (dblclick)="showProperties()" [style.top]="node.top + 'px'" [style.left]="node.left + 'px'">
    <div>{{node.name}}</div>
    <div class="anchor anchors anchor-left">
        <span class="left">
            <i class="left-arrow1"></i>
            <i class="left-arrow2"></i>
        </span>
    </div>
    <div class="anchor anchors anchor-right">
        <span class="right">
            <i class="right-arrow1"></i>
            <i class="right-arrow2"></i>
        </span>
    </div>
    <div class="anchor anchors anchor-top">
        <span class="top">
            <i class="top-arrow1"></i>
            <i class="top-arrow2"></i>
        </span>
    </div>
    <div class="anchor anchors anchor-bottom">
        <span class="bottom">
            <i class="bottom-arrow1"></i>
            <i class="bottom-arrow2"></i>
        </span>
    </div>
</div>