Revision 42289
Added by Michele Artini over 8 years ago
modules/dnet-modular-uis/trunk/src/main/resources/eu/dnetlib/web/resources/html/wf/wf-graph-node.html | ||
---|---|---|
6 | 6 |
}"> |
7 | 7 |
<rect ng-attr-x="{{x}}" ng-attr-y="{{y}}" rx="8" ry="8" width="180" height="50"/> |
8 | 8 |
<text ng-attr-x="{{x*1 + 90}}" ng-attr-y="{{y*1 + 30}}">{{name}}</text> |
9 |
<text ng-attr-x="{{x*1 + 90}}" ng-attr-y="{{y*1 + 44}}" class="small" ng-if="classType">{{classType}}</text> |
|
9 | 10 |
</g> |
modules/dnet-modular-uis/trunk/src/main/resources/eu/dnetlib/web/resources/html/wf/wf-graph-modal.html | ||
---|---|---|
14 | 14 |
</defs> |
15 | 15 |
<wf-graph-node name="{{n.name}}" |
16 | 16 |
type="{{n.type}}" |
17 |
class-type="{{n.classType}}" |
|
17 | 18 |
x="{{n.x}}" y="{{n.y}}" |
18 | 19 |
funct="showNodeInfo(n.name)" |
19 | 20 |
ng-repeat="n in graph.nodes"></wf-graph-node> |
modules/dnet-modular-uis/trunk/src/main/resources/eu/dnetlib/web/resources/css/dnet_workflows.css | ||
---|---|---|
59 | 59 |
alignment-baseline: middle; |
60 | 60 |
} |
61 | 61 |
|
62 |
.graphStartNode > text.small, |
|
63 |
.graphSimpleNode > text.small, |
|
64 |
.graphJoinNode > text.small, |
|
65 |
.graphSuccessNode > text.small { |
|
66 |
font-size: 10px; |
|
67 |
color: #999999; |
|
68 |
fill: #999999; |
|
69 |
} |
|
70 |
|
|
71 |
|
|
62 | 72 |
.graphSimpleArc > line { |
63 | 73 |
stroke: #336699; |
64 | 74 |
stroke-width: 1; |
modules/dnet-modular-uis/trunk/src/main/resources/eu/dnetlib/web/resources/js/workflows/wf_graph_viewer.js | ||
---|---|---|
161 | 161 |
templateNamespace: 'svg', |
162 | 162 |
templateUrl: '../resources/html/wf/wf-graph-node.html', |
163 | 163 |
scope: { |
164 |
name: '@', |
|
165 |
type: '@', |
|
166 |
x: '@', |
|
167 |
y: '@', |
|
168 |
funct: '&' |
|
164 |
name: '@', |
|
165 |
type: '@', |
|
166 |
classType: '@', |
|
167 |
x: '@', |
|
168 |
y: '@', |
|
169 |
funct: '&' |
|
169 | 170 |
} |
170 | 171 |
} |
171 | 172 |
}); |
... | ... | |
179 | 180 |
scope: { |
180 | 181 |
name: '@', |
181 | 182 |
from: '@', |
182 |
to: '@', |
|
183 |
x1: '@', |
|
184 |
y1: '@', |
|
185 |
x2: '@', |
|
186 |
y2: '@' |
|
183 |
to: '@',
|
|
184 |
x1: '@',
|
|
185 |
y1: '@',
|
|
186 |
x2: '@',
|
|
187 |
y2: '@'
|
|
187 | 188 |
} |
188 | 189 |
} |
189 | 190 |
}); |
Also available in: Unified diff