cpee 1.3.214 → 1.3.215

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/wfadaptor.css +73 -5
  3. data/cockpit/js/instance.js +43 -24
  4. data/cockpit/js/wfadaptor.js +56 -26
  5. data/cockpit/testsets/Coopis Testset.xml +4 -1
  6. data/cockpit/testsets/ICSOC Testset.xml +6 -0
  7. data/cockpit/themes/adventure/theme.js +1 -0
  8. data/cockpit/themes/default/symbols/alternative.svg +1 -1
  9. data/cockpit/themes/default/symbols/call.svg +1 -1
  10. data/cockpit/themes/default/symbols/callcorrelationreceive.svg +2 -2
  11. data/cockpit/themes/default/symbols/callcorrelationsend.svg +2 -2
  12. data/cockpit/themes/default/symbols/callinstantiation.svg +1 -1
  13. data/cockpit/themes/default/symbols/callmanipulate.svg +2 -2
  14. data/cockpit/themes/default/symbols/callmanipulateworklist.svg +2 -2
  15. data/cockpit/themes/default/symbols/callworklist.svg +1 -1
  16. data/cockpit/themes/default/symbols/choose.svg +1 -1
  17. data/cockpit/themes/default/symbols/choose_exclusive.svg +1 -1
  18. data/cockpit/themes/default/symbols/choose_inclusive.svg +1 -1
  19. data/cockpit/themes/default/symbols/critical.svg +1 -1
  20. data/cockpit/themes/default/symbols/escape.svg +2 -2
  21. data/cockpit/themes/default/symbols/loop.svg +1 -1
  22. data/cockpit/themes/default/symbols/manipulate.svg +1 -1
  23. data/cockpit/themes/default/symbols/otherwise.svg +1 -1
  24. data/cockpit/themes/default/symbols/parallel.svg +1 -1
  25. data/cockpit/themes/default/symbols/parallel_branch.svg +1 -1
  26. data/cockpit/themes/default/symbols/scripts.svg +1 -1
  27. data/cockpit/themes/default/theme.js +66 -52
  28. data/cockpit/themes/labels/symbols/alternative.svg +1 -1
  29. data/cockpit/themes/labels/symbols/call.svg +1 -1
  30. data/cockpit/themes/labels/symbols/callcorrelationreceive.svg +2 -2
  31. data/cockpit/themes/labels/symbols/callcorrelationsend.svg +3 -3
  32. data/cockpit/themes/labels/symbols/callinstantiation.svg +1 -1
  33. data/cockpit/themes/labels/symbols/callmanipulate.svg +2 -2
  34. data/cockpit/themes/labels/symbols/callmanipulateworklist.svg +2 -2
  35. data/cockpit/themes/labels/symbols/callworklist.svg +1 -1
  36. data/cockpit/themes/labels/symbols/choose.svg +1 -1
  37. data/cockpit/themes/labels/symbols/choose_exclusive.svg +1 -1
  38. data/cockpit/themes/labels/symbols/choose_inclusive.svg +1 -1
  39. data/cockpit/themes/labels/symbols/critical.svg +1 -1
  40. data/cockpit/themes/labels/symbols/escape.svg +2 -2
  41. data/cockpit/themes/labels/symbols/loop.svg +1 -1
  42. data/cockpit/themes/labels/symbols/manipulate.svg +1 -1
  43. data/cockpit/themes/labels/symbols/otherwise.svg +1 -1
  44. data/cockpit/themes/labels/symbols/parallel.svg +1 -1
  45. data/cockpit/themes/labels/symbols/parallel_branch.svg +1 -1
  46. data/cockpit/themes/labels/symbols/scripts.svg +1 -1
  47. data/cockpit/themes/labels/theme.js +66 -52
  48. data/cpee.gemspec +1 -1
  49. data/log/logoverlay.xml +1 -1
  50. data/log/server.rb +21 -8
  51. data/log/yaml/server.rb +6 -0
  52. data/log/yaml/yaml.rb +5 -5
  53. data/server/instances/21/properties.xml +156 -0
  54. data/server/instances/22/properties.xml +118 -0
  55. data/server/instances/23/properties.xml +118 -0
  56. data/server/instances/24/properties.xml +156 -0
  57. data/server/instances/25/properties.xml +156 -0
  58. data/server/instances/26/properties.xml +156 -0
  59. data/server/instances/27/notifications/f43a34bc3d85f852bece416443f1a528/consumer-secret +1 -0
  60. data/server/instances/27/notifications/f43a34bc3d85f852bece416443f1a528/producer-secret +1 -0
  61. data/server/instances/27/notifications/f43a34bc3d85f852bece416443f1a528/subscription.xml +38 -0
  62. data/server/instances/27/properties.xml +140 -0
  63. data/server/instances/6/properties.xml +11 -11
  64. data/server/instances/7/properties.xml +111 -75
  65. data/server/server.pid +1 -0
  66. metadata +13 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 159cc2d072f1b63869e15a644e62622723dbc3de
4
- data.tar.gz: 6741c81ce6bc41d5622f91554c8d62f97c28c132
3
+ metadata.gz: 81086a732b73cc9fbd226de99af3ed04fbebe293
4
+ data.tar.gz: 437c2e25e1e617be28d9da30d6f0ab09bf8dd13d
5
5
  SHA512:
6
- metadata.gz: 93ab571af3484ffaee9a29448c36339057fb088c7694fb61733c521e348091b9893092812a7a292c28a06581c0e91172a47157c6f38b3a99f049dde9841ec8e9
7
- data.tar.gz: 7578732f93b060799b04b0b2d24dcfda62b6d3d58295dca01b4c02ce016ba36e4852637fb61c76945b579ea58c49b918dedf1ffa6cd779b1d5206d09142ba92a
6
+ metadata.gz: e5095a24c631f487a18d7848f8cb1b7f8bf05fc5e1209cda9bccfd61749e4151cb8ee141726e1c6d946d414e301ccad86ebffa0ec978d1a4ad4db1229bd53cb1
7
+ data.tar.gz: 61ab61dc74f7906c7434420be12ec23addde78e7d89fa972e184236ed0ca792021961bac82ca4ee2291ae6ef94611b20134ab76fd0716e13015d2885c46307f4
@@ -105,11 +105,29 @@ svg .black {
105
105
  stroke-dasharray:none;
106
106
  }
107
107
 
108
- svg .clicked {
109
- fill: grey;
110
- stroke: grey;
111
- filter: drop-shadow(0 0 0.15em rgba(0,0,0,0.9));
112
- padding: 1em;
108
+ svg .clicked text.label {
109
+ color: #f57900;
110
+ fill: #f57900;
111
+ }
112
+ svg .clicked .cfill {
113
+ fill:#f57900;
114
+ fill-opacity:1;
115
+ stroke:#f57900;
116
+ stroke-width:0.2;
117
+ stroke-linecap:round;
118
+ stroke-linejoin:round;
119
+ stroke-miterlimit:4;
120
+ stroke-opacity:1;
121
+ stroke-dasharray:none;
122
+ }
123
+ svg .clicked .cline {
124
+ stroke:#f57900;
125
+ stroke-width:2.06896567;
126
+ stroke-linecap:round;
127
+ stroke-linejoin:round;
128
+ stroke-miterlimit:4;
129
+ stroke-opacity:1;
130
+ stroke-dasharray:none;
113
131
  }
114
132
 
115
133
  svg .unknown {
@@ -242,8 +260,58 @@ svg text.small {
242
260
  font-family:Arial;
243
261
  }
244
262
 
263
+ svg text.label {
264
+ font-size:14px;
265
+ font-style:normal;
266
+ font-variant:normal;
267
+ font-stretch:normal;
268
+ text-align:center;
269
+ line-height:125%;
270
+ writing-mode:horizontal-tb;
271
+ text-anchor:left;
272
+ color: #a1a1a1;
273
+ fill: #a1a1a1;
274
+ fill-opacity:1;
275
+ stroke:none;
276
+ font-family:Arial;
277
+ }
278
+
245
279
  #arrow {
246
280
  stroke: #000000;
247
281
  stroke-width: 2;
248
282
  fill: #000000;
249
283
  }
284
+
285
+ svg g.element[element-id]:hover .hfill {
286
+ fill: #f57900;
287
+ fill-opacity:1;
288
+ cursor: pointer;
289
+ }
290
+ svg g.element[element-id]:hover .hline {
291
+ fill:#f57900;
292
+ fill-opacity:1;
293
+ stroke:#f57900;
294
+ stroke-width:2.06896567;
295
+ stroke-linecap:round;
296
+ stroke-linejoin:round;
297
+ stroke-miterlimit:4;
298
+ stroke-opacity:1;
299
+ stroke-dasharray:none;
300
+ cursor: pointer;
301
+ }
302
+ svg g.element[element-id]:hover .htext {
303
+ fill:#f57900;
304
+ fill-opacity:1;
305
+ stroke:#f57900;
306
+ stroke-width:0.2;
307
+ stroke-linecap:round;
308
+ stroke-linejoin:round;
309
+ stroke-miterlimit:4;
310
+ stroke-opacity:1;
311
+ stroke-dasharray:none;
312
+ cursor: pointer;
313
+ }
314
+ svg g.element[element-id]:hover > text.label {
315
+ color: #f57900;
316
+ fill: #f57900;
317
+ }
@@ -6,6 +6,8 @@ var save = {};
6
6
  save['state']= undefined;
7
7
  save['dsl'] = undefined;
8
8
  save['graph'] = undefined;
9
+ save['graph_theme'] = undefined;
10
+ save['graph_adaptor'] = undefined;
9
11
  save['endpoints'] = undefined;
10
12
  save['dataelements'] = undefined;
11
13
  save['attributes'] = undefined;
@@ -299,25 +301,36 @@ function monitor_instance_values(val) {// {{{
299
301
  } // }}}
300
302
 
301
303
  function adaptor_init(url,theme,dslx) {
302
- new WfAdaptor($('body').data('theme-base') + '/' + theme + '/theme.js',function(graphrealization){
303
- graphrealization.set_svg_container($('#graphcanvas'));
304
- graphrealization.set_description($(dslx), true);
305
- graphrealization.notify = function(svgid) {
306
- var g = graphrealization.get_description();
307
- save['graph'] = $X(g);
308
- save['graph'].find('[xmlns]').removeAttr('xmlns');
309
- $.ajax({
310
- type: "PUT",
311
- url: url + "/properties/values/description/",
312
- data: ({'content': '<content>' + g + '</content>'})
313
- });
304
+ if (save['graph_theme'] != theme) {
305
+ save['graph_theme'] = theme;
306
+ save['graph_adaptor'] = new WfAdaptor($('body').data('theme-base') + '/' + theme + '/theme.js',function(graphrealization){
307
+ graphrealization.set_svg_container($('#graphcanvas'));
308
+ graphrealization.set_description($(dslx), true);
309
+ graphrealization.notify = function(svgid) {
310
+ var g = graphrealization.get_description();
311
+ save['graph'] = $X(g);
312
+ save['graph'].find('[xmlns]').removeAttr('xmlns');
313
+ $.ajax({
314
+ type: "PUT",
315
+ url: url + "/properties/values/description/",
316
+ data: ({'content': '<content>' + g + '</content>'})
317
+ });
318
+ manifestation.events.click(svgid);
319
+ };
320
+ monitor_instance_pos();
321
+ $('#dat_details').empty();
322
+ });
323
+ } else {
324
+ save['graph_adaptor'].update(function(graphrealization){
325
+ var svgid = manifestation.clicked();
326
+ graphrealization.set_description($(dslx));
314
327
  manifestation.events.click(svgid);
315
- };
316
- monitor_instance_pos();
317
- });
328
+ monitor_instance_pos();
329
+ });
330
+ }
318
331
  }
319
332
 
320
- function monitor_graph_change(force) {
333
+ function monitor_graph_change(force) { //{{{
321
334
  var url = $("#current-instance").text();
322
335
  $.ajax({
323
336
  type: "GET",
@@ -337,7 +350,7 @@ function monitor_graph_change(force) {
337
350
  }
338
351
  }
339
352
  });
340
- }
353
+ } //}}}
341
354
 
342
355
  function monitor_instance_dsl() {// {{{
343
356
  var url = $("#current-instance").text();
@@ -677,7 +690,7 @@ function load_testsetfile_after() { //{{{
677
690
  var reader = new FileReader();
678
691
  reader.onload = function(){
679
692
  set_testset($.parseXML(reader.result),false);
680
- document.getElementById("fuckchrome").reset();
693
+ document.getElementById('fuckchrome').reset();
681
694
  running = false;
682
695
  }
683
696
  reader.onerror = function(){ console.log('error reading file'); running = false; }
@@ -945,12 +958,18 @@ function format_visual_set(what) {//{{{
945
958
  }//}}}
946
959
  function format_visual_clear() {//{{{
947
960
  node_state = {};
948
- $('.super .active').each(function(a,b){b.setAttribute("class","active");});
949
- $('.super .passive').each(function(a,b){b.setAttribute("class","passive");});
950
- $('.super .vote').each(function(a,b){b.setAttribute("class","vote");});
951
- $('.super .colon').each(function(a,b){b.setAttribute("class","colon");});
952
- $('.activities').each(function(a,b){b.setAttribute("class","activities");});
953
- $("#votes").empty();
961
+ $('.super .active').each(function(a,b){b.setAttribute('class','active');});
962
+ $('.super .passive').each(function(a,b){b.setAttribute('class','passive');});
963
+ $('.super .vote').each(function(a,b){b.setAttribute('class','vote');});
964
+ $('.super .colon').each(function(a,b){b.setAttribute('class','colon');});
965
+ $('.activities').each(function(a,b){
966
+ if (b.hasAttribute('clicked')) {
967
+ b.setAttribute('class','activities clicked');
968
+ } else {
969
+ b.setAttribute('class','activities');
970
+ }
971
+ });
972
+ $('#votes').empty();
954
973
  }//}}}
955
974
  function format_visual_vote_clear() {//{{{
956
975
  node_state = {};
@@ -51,11 +51,12 @@ function WfAdaptor(theme_base,doit) { // Controller {{{
51
51
  illustrator.set_container(container); // TODO: shadowing the container element
52
52
  } // }}}
53
53
 
54
-
55
- // initialze
54
+ // initialize
56
55
  this.illustrator = illustrator = new WfIllustrator(this);
57
56
  this.description = description = new WfDescription(this, this.illustrator);
58
57
 
58
+ this.update = function(doit){ doit(self); };
59
+
59
60
  $.getScript(theme_base, function() {
60
61
  manifestation = new WFAdaptorManifestation(self);
61
62
  illustrator.noarrow = manifestation.noarrow;
@@ -173,28 +174,38 @@ function WfIllustrator(wf_adaptor) { // View {{{
173
174
  this.get_node_by_svg_id = function(svg_id) { // {{{
174
175
  return $('[element-id = \'' + svg_id + '\'] g.activities', self.svg.container);
175
176
  } // }}}
176
- this.get_nodes = function() { // {{{
177
- return $('g.activities', self.svg.container);
177
+ this.get_elements = function() { // {{{
178
+ return $('g.element', self.svg.container);
178
179
  } // }}}
179
180
  // }}}
180
181
  // Helper Functions {{{
182
+ var draw_label = this.draw.draw_label = function (row, col, label, group, where) { // {{{
183
+ var g = $X('<text class="label" transform="translate(' + String((col*self.width)-((self.width*0.39))) + ',' + String(row*self.height+20-((self.height*0.74))) + ')" xmlns="http://www.w3.org/2000/svg">' +
184
+ (label != '' ? '◤ ' : '') + label +
185
+ '</text>');
186
+ if(group) { group.find('g.element[element-id=' + where + ']').append(g); }
187
+ else {self.svg.container.children('g:first').append(g);}
188
+ return g;
189
+ } // }}}
181
190
  var draw_symbol = this.draw.draw_symbol = function (tname, sym_name, id, title, row, col, group) { // {{{
182
191
  if(self.elements[sym_name] == undefined || self.elements[sym_name].svg == undefined) sym_name = 'unknown';
183
- var g = $X('<g class="element" element-type="' + sym_name + '" element-id="' + id + '" transform="translate(' + String((col*self.width)-((self.width*0.39))) + ',' + String(row*self.height-((self.height*0.74))) + ')" xmlns="http://www.w3.org/2000/svg">' +
184
- '<text class="super" transform="translate(30,8.4)">' +
185
- '<tspan class="active">0</tspan>' +
186
- '<tspan class="colon">,</tspan>' +
187
- '<tspan class="vote">0</tspan>' +
188
- '</text>' +
192
+ var g = $X('<g class="element" element-type="' + sym_name + '" element-id="' + id + '" xmlns="http://www.w3.org/2000/svg">' +
193
+ '<g transform="translate(' + String((col*self.width)-((self.width*0.39))) + ',' + String(row*self.height-((self.height*0.74))) + ')">' +
194
+ '<text class="super" transform="translate(30,8.4)">' +
195
+ '<tspan class="active">0</tspan>' +
196
+ '<tspan class="colon">,</tspan>' +
197
+ '<tspan class="vote">0</tspan>' +
198
+ '</text>' +
199
+ '</g>' +
189
200
  '</g>');
190
201
  var sym = self.svg.defs[sym_name].clone();
191
202
  sym.prepend($X('<title xmlns="http://www.w3.org/2000/svg">' + title + '</title>'));
192
203
  sym.attr('class','activities');
193
- g.append(sym);
204
+ $(g[0].childNodes[0]).append(sym);
194
205
 
195
206
  // Binding events for symbol
196
207
  for(event_name in adaptor.elements[tname]) {
197
- sym.bind(event_name, {'function_call':adaptor.elements[tname][event_name]}, function(e) { e.data.function_call($(this).parents(':first').attr('element-id'),e)});
208
+ sym.bind(event_name, {'function_call':adaptor.elements[tname][event_name]}, function(e) { e.data.function_call($(this).parents('.element:first').attr('element-id'),e)});
198
209
  if(event_name == 'mousedown') sym.bind('contextmenu', false);
199
210
  }
200
211
  if(group) {group.append(g);}
@@ -287,6 +298,19 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
287
298
  var description;
288
299
  var id_counter = {};
289
300
  var update_illustrator = true;
301
+ var labels = [];
302
+
303
+ // Set Labels //{{{
304
+ this.set_labels = function(graph) {
305
+ if (illustrator.compact == false) {
306
+ if (labels.length > 0) {
307
+ _.each(labels,function(a,key) {
308
+ illustrator.draw.draw_label(a.row, graph.max.col + 1, a.label, graph.svg, a.element_id);
309
+ });
310
+ graph.max.col += 4;
311
+ }
312
+ }
313
+ } //}}}
290
314
 
291
315
  // Generic Functions {{{
292
316
  this.set_description = function(desc, auto_update) { // public {{{
@@ -300,8 +324,11 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
300
324
  description = null;
301
325
  }
302
326
  id_counter = {};
327
+ labels = [];
303
328
  illustrator.clear();
304
329
  var graph = parse(description.children('description').get(0), {'row':0,'col':0});
330
+ self.set_labels(graph);
331
+ // set labels
305
332
  illustrator.set_svg(graph);
306
333
  } // }}}
307
334
  var gd = this.get_description = function() { // public {{{
@@ -338,8 +365,10 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
338
365
  var update = this.update = function(svgid) { // {{{
339
366
  id_counter = {};
340
367
  if(update_illustrator){
368
+ labels = [];
341
369
  illustrator.clear();
342
370
  var graph = parse(description.children('description').get(0), {'row':0,'col':0});
371
+ self.set_labels(graph);
343
372
  illustrator.set_svg(graph);
344
373
  }
345
374
 
@@ -430,7 +459,7 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
430
459
  if(root_expansion == 'horizontal') pos.row++;
431
460
  if(illustrator.elements[root.tagName].col_shift(root) == true && root_expansion != 'horizontal') pos.col++;
432
461
 
433
- if(root.tagName == 'description') { // First parsing {{{
462
+ if(root .tagName == 'description') { // First parsing {{{
434
463
  pos.row++;
435
464
  max.row++;
436
465
  $(root).attr('svg-id','description');
@@ -441,19 +470,6 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
441
470
  $(root).children().each(function() {
442
471
  var tname = this.tagName;
443
472
 
444
- // Set SVG-ID {{{
445
- if($(this).attr('id') == undefined) {
446
- if(id_counter[tname] == undefined) id_counter[tname] = -1;
447
- $(this).attr('svg-id', tname + '_' + (++id_counter[tname]));
448
- $(this).attr('svg-label', '');
449
- } else {
450
- $(this).attr('svg-id', $(this).attr('id'));
451
- if ($(this).children('parameters').length > 0) {
452
- $(this).attr('svg-label', $('label',$(this).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,''));
453
- } else {
454
- $(this).attr('svg-label', '');
455
- }
456
- } // }}}
457
473
  // Calculate next position {{{
458
474
  if($(this).attr('collapsed') == undefined || $(this).attr('collapsed') == 'false') { collapsed = false; }
459
475
  else { collapsed = true; }
@@ -482,6 +498,20 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
482
498
  }
483
499
  }
484
500
  // }}}
501
+ // Set SVG-ID and labels {{{
502
+ if($(this).attr('id') == undefined) {
503
+ if(id_counter[tname] == undefined) id_counter[tname] = -1;
504
+ $(this).attr('svg-id', tname + '_' + (++id_counter[tname]));
505
+ } else {
506
+ $(this).attr('svg-id', $(this).attr('id'));
507
+ }
508
+ if (illustrator.elements[tname].label) {
509
+ var lab = illustrator.elements[tname].label(this);
510
+ $(this).attr('svg-label', lab);
511
+ labels.push({row: pos.row, element_id: $(this).attr('svg-id'), label: lab});
512
+ } else {
513
+ $(this).attr('svg-label', '');
514
+ } // }}}
485
515
  // Draw symbol {{{
486
516
  var sym_name = '';
487
517
  if(!illustrator.elements[tname]) {sym_name = 'unknown';}
@@ -20,6 +20,7 @@
20
20
  <description xmlns="http://cpee.org/ns/description/1.0">
21
21
  <call id="a1" endpoint="bookAir">
22
22
  <parameters>
23
+ <label>Book Airline</label>
23
24
  <method>:post</method>
24
25
  <arguments>
25
26
  <from>data.from</from>
@@ -36,6 +37,7 @@ status.update 1, 'Hotel'</finalize>
36
37
  <parallel_branch pass="data.persons" local="p">
37
38
  <call id="a2" endpoint="bookHotel">
38
39
  <parameters>
40
+ <label>Book Hotel</label>
39
41
  <method>:post</method>
40
42
  <arguments>
41
43
  <to>data.to</to>
@@ -48,10 +50,11 @@ data.costs += result.value('costs').to_f</finalize>
48
50
  <manipulate id="a3">data.persons -= 1</manipulate>
49
51
  </loop>
50
52
  </parallel>
51
- <choose>
53
+ <choose mode="inclusive">
52
54
  <alternative condition="data.costs > 700">
53
55
  <call id="a4" endpoint="approve">
54
56
  <parameters>
57
+ <label>Approve Hotel</label>
55
58
  <method>:post</method>
56
59
  <arguments>
57
60
  <costs>data.costs</costs>
@@ -15,6 +15,7 @@
15
15
  <loop mode="pre_test" condition='data.feedback'>
16
16
  <call id="design" endpoint="timeout">
17
17
  <parameters><!--{{{-->
18
+ <label>Design</label>
18
19
  <method>:post</method>
19
20
  <arguments>
20
21
  <timeout>4</timeout>
@@ -23,6 +24,7 @@
23
24
  </call>
24
25
  <call id="validate" endpoint="timeout">
25
26
  <parameters><!--{{{-->
27
+ <label>Validate</label>
26
28
  <method>:post</method>
27
29
  <arguments>
28
30
  <timeout>2</timeout>
@@ -31,6 +33,7 @@
31
33
  </call>
32
34
  <call id="publish" endpoint="timeout">
33
35
  <parameters><!--{{{-->
36
+ <label>Publish</label>
34
37
  <method>:post</method>
35
38
  <arguments>
36
39
  <timeout>1</timeout>
@@ -43,6 +46,7 @@
43
46
  <loop mode="pre_test" condition='data.feedback'>
44
47
  <call id="prepare" endpoint="timeout">
45
48
  <parameters><!--{{{-->
49
+ <label>Prepare</label>
46
50
  <method>:post</method>
47
51
  <arguments>
48
52
  <timeout>4</timeout>
@@ -51,6 +55,7 @@
51
55
  </call>
52
56
  <call id="fab" endpoint="timeout">
53
57
  <parameters><!--{{{-->
58
+ <label>Fabricate</label>
54
59
  <method>:post</method>
55
60
  <arguments>
56
61
  <timeout>4</timeout>
@@ -59,6 +64,7 @@
59
64
  </call>
60
65
  <call id="evaluate" endpoint="timeout">
61
66
  <parameters><!--{{{-->
67
+ <label>Evaluate</label>
62
68
  <method>:post</method>
63
69
  <arguments>
64
70
  <timeout>4</timeout>
@@ -4,6 +4,7 @@ function WFAdaptorManifestation(adaptor) {
4
4
  this.adaptor = adaptor;
5
5
  this.elements = {};
6
6
  this.events = {};
7
+ this.compact = true;
7
8
 
8
9
  this.noarrow = ['alternative', 'otherwise'];
9
10
  this.source = function(rng) {
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
2
  <circle cx="15" cy="15" r="14" class="standwithout"/>
3
- <text transform="translate(15,20)" class="normal">{..}</text>
3
+ <text transform="translate(15,20)" class="cfill normal">{..}</text>
4
4
  </svg>