cpee 2.1.92 → 2.1.95

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 (296) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/{resources-label.css → extended_columns-label.css} +4 -0
  3. data/cockpit/css/ui.css +6 -5
  4. data/cockpit/css/wfadaptor.css +27 -105
  5. data/cockpit/david.html +292 -0
  6. data/cockpit/edit.html +16 -7
  7. data/cockpit/graph.html +3 -3
  8. data/cockpit/index.html +15 -7
  9. data/cockpit/js/details.js +7 -0
  10. data/cockpit/js/extended_columns.js +233 -0
  11. data/cockpit/js/instance.js +45 -167
  12. data/cockpit/js/wfadaptor.js +138 -94
  13. data/cockpit/llm.html +3 -3
  14. data/cockpit/llm_alternative.html +3 -3
  15. data/cockpit/model.html +2 -2
  16. data/cockpit/only_llm.html +19 -12
  17. data/cockpit/templates/Coopis 2010.xml +11 -4
  18. data/cockpit/templates/Frames.xml +210 -55
  19. data/cockpit/templates/Track Test.xml +1 -1
  20. data/cockpit/themes/base.js +16 -13
  21. data/cockpit/themes/control/rngs/call.rng +9 -0
  22. data/cockpit/themes/control/rngs/callmanipulate.rng +10 -1
  23. data/cockpit/themes/control/rngs/loop.rng +7 -0
  24. data/cockpit/themes/control/rngs/manipulate.rng +8 -0
  25. data/cockpit/themes/control/rngs/start.rng +1 -0
  26. data/cockpit/themes/control/symbols/arrow.svg +1 -1
  27. data/cockpit/themes/control/symbols/callmanipulate.svg +1 -1
  28. data/cockpit/themes/control/symbols/callmanipulate_sensor.svg +2 -1
  29. data/cockpit/themes/control/symbols/callmanipulate_sensor_signal.svg +1 -1
  30. data/cockpit/themes/control/symbols/callmanipulate_signal.svg +1 -1
  31. data/cockpit/themes/control/symbols/critical.svg +3 -2
  32. data/cockpit/themes/control/symbols/delete.svg +2 -2
  33. data/cockpit/themes/control/symbols/end.svg +1 -1
  34. data/cockpit/themes/control/symbols/manipulate.svg +2 -2
  35. data/cockpit/themes/control/symbols/parallel.svg +2 -1
  36. data/cockpit/themes/control/symbols/scripts.svg +1 -1
  37. data/cockpit/themes/dataflow/rngs/call.rng +9 -0
  38. data/cockpit/themes/dataflow/rngs/callmanipulate.rng +10 -1
  39. data/cockpit/themes/dataflow/rngs/loop.rng +7 -0
  40. data/cockpit/themes/dataflow/rngs/manipulate.rng +8 -0
  41. data/cockpit/themes/dataflow/rngs/start.rng +1 -0
  42. data/cockpit/themes/dataflow/symbols/arrow.svg +1 -1
  43. data/cockpit/themes/dataflow/symbols/callmanipulate.svg +1 -1
  44. data/cockpit/themes/dataflow/symbols/callmanipulate_sensor.svg +2 -1
  45. data/cockpit/themes/dataflow/symbols/callmanipulate_sensor_signal.svg +1 -1
  46. data/cockpit/themes/dataflow/symbols/callmanipulate_signal.svg +1 -1
  47. data/cockpit/themes/dataflow/symbols/critical.svg +3 -2
  48. data/cockpit/themes/dataflow/symbols/delete.svg +2 -2
  49. data/cockpit/themes/dataflow/symbols/end.svg +1 -1
  50. data/cockpit/themes/dataflow/symbols/manipulate.svg +2 -2
  51. data/cockpit/themes/dataflow/symbols/parallel.svg +2 -1
  52. data/cockpit/themes/dataflow/symbols/scripts.svg +1 -1
  53. data/cockpit/themes/dataflow/theme.js +8 -8
  54. data/cockpit/themes/default/rngs/call.rng +9 -0
  55. data/cockpit/themes/default/rngs/callmanipulate.rng +10 -1
  56. data/cockpit/themes/default/rngs/loop.rng +7 -0
  57. data/cockpit/themes/default/rngs/manipulate.rng +8 -0
  58. data/cockpit/themes/default/rngs/start.rng +1 -0
  59. data/cockpit/themes/default/symbols/arrow.svg +1 -1
  60. data/cockpit/themes/default/symbols/callmanipulate.svg +1 -1
  61. data/cockpit/themes/default/symbols/callmanipulate_sensor.svg +2 -1
  62. data/cockpit/themes/default/symbols/callmanipulate_sensor_signal.svg +1 -1
  63. data/cockpit/themes/default/symbols/callmanipulate_signal.svg +1 -1
  64. data/cockpit/themes/default/symbols/critical.svg +3 -2
  65. data/cockpit/themes/default/symbols/delete.svg +2 -2
  66. data/cockpit/themes/default/symbols/end.svg +1 -1
  67. data/cockpit/themes/default/symbols/manipulate.svg +2 -2
  68. data/cockpit/themes/default/symbols/parallel.svg +2 -1
  69. data/cockpit/themes/default/symbols/scripts.svg +1 -1
  70. data/cockpit/themes/extended/rngs/call.rng +9 -0
  71. data/cockpit/themes/extended/rngs/callmanipulate.rng +10 -1
  72. data/cockpit/themes/extended/rngs/loop.rng +7 -0
  73. data/cockpit/themes/extended/rngs/manipulate.rng +8 -0
  74. data/cockpit/themes/extended/rngs/start.rng +1 -0
  75. data/cockpit/themes/extended/symbols/arrow.svg +1 -1
  76. data/cockpit/themes/extended/symbols/callmanipulate.svg +1 -1
  77. data/cockpit/themes/extended/symbols/callmanipulate_sensor.svg +2 -1
  78. data/cockpit/themes/extended/symbols/callmanipulate_sensor_signal.svg +1 -1
  79. data/cockpit/themes/extended/symbols/callmanipulate_signal.svg +1 -1
  80. data/cockpit/themes/extended/symbols/critical.svg +3 -2
  81. data/cockpit/themes/extended/symbols/delete.svg +2 -2
  82. data/cockpit/themes/extended/symbols/end.svg +1 -1
  83. data/cockpit/themes/extended/symbols/manipulate.svg +2 -2
  84. data/cockpit/themes/extended/symbols/parallel.svg +2 -1
  85. data/cockpit/themes/extended/symbols/scripts.svg +1 -1
  86. data/cockpit/themes/felix/symbols/arrow.svg +1 -1
  87. data/cockpit/themes/felix/symbols/callmanipulate.svg +1 -1
  88. data/cockpit/themes/felix/symbols/callmanipulate_sensor.svg +2 -1
  89. data/cockpit/themes/felix/symbols/callmanipulate_sensor_signal.svg +1 -1
  90. data/cockpit/themes/felix/symbols/callmanipulate_signal.svg +1 -1
  91. data/cockpit/themes/felix/symbols/critical.svg +3 -2
  92. data/cockpit/themes/felix/symbols/delete.svg +2 -2
  93. data/cockpit/themes/felix/symbols/end.svg +1 -1
  94. data/cockpit/themes/felix/symbols/manipulate.svg +2 -2
  95. data/cockpit/themes/felix/symbols/parallel.svg +2 -1
  96. data/cockpit/themes/felix/symbols/scripts.svg +1 -1
  97. data/cockpit/themes/model/symbols/arrow.svg +1 -1
  98. data/cockpit/themes/model/symbols/callmanipulate.svg +1 -1
  99. data/cockpit/themes/model/symbols/callmanipulate_sensor.svg +2 -1
  100. data/cockpit/themes/model/symbols/callmanipulate_sensor_signal.svg +1 -1
  101. data/cockpit/themes/model/symbols/callmanipulate_signal.svg +1 -1
  102. data/cockpit/themes/model/symbols/critical.svg +3 -2
  103. data/cockpit/themes/model/symbols/delete.svg +2 -2
  104. data/cockpit/themes/model/symbols/end.svg +1 -1
  105. data/cockpit/themes/model/symbols/manipulate.svg +2 -2
  106. data/cockpit/themes/model/symbols/parallel.svg +2 -1
  107. data/cockpit/themes/model/symbols/scripts.svg +1 -1
  108. data/cockpit/themes/packed/rngs/call.rng +9 -0
  109. data/cockpit/themes/packed/rngs/callmanipulate.rng +10 -1
  110. data/cockpit/themes/packed/rngs/loop.rng +7 -0
  111. data/cockpit/themes/packed/rngs/manipulate.rng +8 -0
  112. data/cockpit/themes/packed/rngs/start.rng +1 -0
  113. data/cockpit/themes/packed/symbols/arrow.svg +1 -1
  114. data/cockpit/themes/packed/symbols/callmanipulate.svg +1 -1
  115. data/cockpit/themes/packed/symbols/callmanipulate_sensor.svg +2 -1
  116. data/cockpit/themes/packed/symbols/callmanipulate_sensor_signal.svg +1 -1
  117. data/cockpit/themes/packed/symbols/callmanipulate_signal.svg +1 -1
  118. data/cockpit/themes/packed/symbols/critical.svg +3 -2
  119. data/cockpit/themes/packed/symbols/delete.svg +2 -2
  120. data/cockpit/themes/packed/symbols/end.svg +1 -1
  121. data/cockpit/themes/packed/symbols/manipulate.svg +2 -2
  122. data/cockpit/themes/packed/symbols/parallel.svg +2 -1
  123. data/cockpit/themes/packed/symbols/scripts.svg +1 -1
  124. data/cockpit/themes/preset/rngs/call.rng +9 -0
  125. data/cockpit/themes/preset/rngs/callmanipulate.rng +10 -1
  126. data/cockpit/themes/preset/rngs/loop.rng +7 -0
  127. data/cockpit/themes/preset/rngs/manipulate.rng +8 -0
  128. data/cockpit/themes/preset/rngs/start.rng +1 -0
  129. data/cockpit/themes/preset/symbols/arrow.svg +1 -1
  130. data/cockpit/themes/preset/symbols/callmanipulate.svg +1 -1
  131. data/cockpit/themes/preset/symbols/callmanipulate_sensor.svg +2 -1
  132. data/cockpit/themes/preset/symbols/callmanipulate_sensor_signal.svg +1 -1
  133. data/cockpit/themes/preset/symbols/callmanipulate_signal.svg +1 -1
  134. data/cockpit/themes/preset/symbols/critical.svg +3 -2
  135. data/cockpit/themes/preset/symbols/delete.svg +2 -2
  136. data/cockpit/themes/preset/symbols/end.svg +1 -1
  137. data/cockpit/themes/preset/symbols/manipulate.svg +2 -2
  138. data/cockpit/themes/preset/symbols/parallel.svg +2 -1
  139. data/cockpit/themes/preset/symbols/scripts.svg +1 -1
  140. data/cockpit/themes/presetaltid/rngs/alternative.rng +25 -0
  141. data/cockpit/themes/presetaltid/rngs/call.rng +251 -0
  142. data/cockpit/themes/presetaltid/rngs/callmanipulate.rng +283 -0
  143. data/cockpit/themes/presetaltid/rngs/choose.rng +17 -0
  144. data/cockpit/themes/presetaltid/rngs/closed_loop.rng +62 -0
  145. data/cockpit/themes/presetaltid/rngs/closed_loop_cancel.rng +5 -0
  146. data/cockpit/themes/presetaltid/rngs/closed_loop_control.rng +31 -0
  147. data/cockpit/themes/presetaltid/rngs/closed_loop_measuring.rng +12 -0
  148. data/cockpit/themes/presetaltid/rngs/critical.rng +5 -0
  149. data/cockpit/themes/presetaltid/rngs/escape.rng +1 -0
  150. data/cockpit/themes/presetaltid/rngs/group.rng +3 -0
  151. data/cockpit/themes/presetaltid/rngs/loop.rng +29 -0
  152. data/cockpit/themes/presetaltid/rngs/manipulate.rng +30 -0
  153. data/cockpit/themes/presetaltid/rngs/otherwise.rng +22 -0
  154. data/cockpit/themes/presetaltid/rngs/parallel.rng +27 -0
  155. data/cockpit/themes/presetaltid/rngs/parallel_branch.rng +2 -0
  156. data/cockpit/themes/presetaltid/rngs/scripts.rng +23 -0
  157. data/cockpit/themes/presetaltid/rngs/start.rng +145 -0
  158. data/cockpit/themes/presetaltid/rngs/stop.rng +5 -0
  159. data/cockpit/themes/presetaltid/rngs/terminate.rng +1 -0
  160. data/cockpit/themes/presetaltid/rngs/wait_for_signal.rng +8 -0
  161. data/cockpit/themes/presetaltid/symbols/alternative.svg +15 -0
  162. data/cockpit/themes/presetaltid/symbols/arrow.svg +3 -0
  163. data/cockpit/themes/presetaltid/symbols/call.svg +19 -0
  164. data/cockpit/themes/presetaltid/symbols/call_sensor.svg +23 -0
  165. data/cockpit/themes/presetaltid/symbols/callmanipulate.svg +23 -0
  166. data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor.svg +26 -0
  167. data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor_signal.svg +32 -0
  168. data/cockpit/themes/presetaltid/symbols/callmanipulate_signal.svg +29 -0
  169. data/cockpit/themes/presetaltid/symbols/choose.svg +15 -0
  170. data/cockpit/themes/presetaltid/symbols/choose_exclusive.svg +15 -0
  171. data/cockpit/themes/presetaltid/symbols/choose_exclusive_finish.svg +5 -0
  172. data/cockpit/themes/presetaltid/symbols/choose_inclusive.svg +13 -0
  173. data/cockpit/themes/presetaltid/symbols/choose_inclusive_finish.svg +4 -0
  174. data/cockpit/themes/presetaltid/symbols/closed_loop.svg +5 -0
  175. data/cockpit/themes/presetaltid/symbols/closed_loop_cancel.svg +5 -0
  176. data/cockpit/themes/presetaltid/symbols/closed_loop_control.svg +5 -0
  177. data/cockpit/themes/presetaltid/symbols/closed_loop_measuring.svg +6 -0
  178. data/cockpit/themes/presetaltid/symbols/complex.svg +8 -0
  179. data/cockpit/themes/presetaltid/symbols/critical.svg +5 -0
  180. data/cockpit/themes/presetaltid/symbols/delete.svg +4 -0
  181. data/cockpit/themes/presetaltid/symbols/end.svg +3 -0
  182. data/cockpit/themes/presetaltid/symbols/escape.svg +5 -0
  183. data/cockpit/themes/presetaltid/symbols/event_end.svg +3 -0
  184. data/cockpit/themes/presetaltid/symbols/loop.svg +15 -0
  185. data/cockpit/themes/presetaltid/symbols/loop_end.svg +15 -0
  186. data/cockpit/themes/presetaltid/symbols/manipulate.svg +19 -0
  187. data/cockpit/themes/presetaltid/symbols/otherwise.svg +5 -0
  188. data/cockpit/themes/presetaltid/symbols/parallel.svg +6 -0
  189. data/cockpit/themes/presetaltid/symbols/parallel_branch.svg +5 -0
  190. data/cockpit/themes/presetaltid/symbols/parallel_branch_event.svg +14 -0
  191. data/cockpit/themes/presetaltid/symbols/parallel_branch_normal.svg +5 -0
  192. data/cockpit/themes/presetaltid/symbols/parallel_eventbased_exclusive.svg +9 -0
  193. data/cockpit/themes/presetaltid/symbols/parallel_eventbased_parallel.svg +8 -0
  194. data/cockpit/themes/presetaltid/symbols/scripts.svg +4 -0
  195. data/cockpit/themes/presetaltid/symbols/start.svg +3 -0
  196. data/cockpit/themes/presetaltid/symbols/start_event.svg +5 -0
  197. data/cockpit/themes/presetaltid/symbols/stop.svg +5 -0
  198. data/cockpit/themes/presetaltid/symbols/terminate.svg +4 -0
  199. data/cockpit/themes/presetaltid/symbols/wait_for_signal.svg +21 -0
  200. data/cockpit/themes/presetaltid/theme.js +16 -0
  201. data/cockpit/themes/presetid/rngs/alternative.rng +25 -0
  202. data/cockpit/themes/presetid/rngs/call.rng +251 -0
  203. data/cockpit/themes/presetid/rngs/callmanipulate.rng +283 -0
  204. data/cockpit/themes/presetid/rngs/choose.rng +17 -0
  205. data/cockpit/themes/presetid/rngs/closed_loop.rng +62 -0
  206. data/cockpit/themes/presetid/rngs/closed_loop_cancel.rng +5 -0
  207. data/cockpit/themes/presetid/rngs/closed_loop_control.rng +31 -0
  208. data/cockpit/themes/presetid/rngs/closed_loop_measuring.rng +12 -0
  209. data/cockpit/themes/presetid/rngs/critical.rng +5 -0
  210. data/cockpit/themes/presetid/rngs/escape.rng +1 -0
  211. data/cockpit/themes/presetid/rngs/group.rng +3 -0
  212. data/cockpit/themes/presetid/rngs/loop.rng +29 -0
  213. data/cockpit/themes/presetid/rngs/manipulate.rng +30 -0
  214. data/cockpit/themes/presetid/rngs/otherwise.rng +22 -0
  215. data/cockpit/themes/presetid/rngs/parallel.rng +27 -0
  216. data/cockpit/themes/presetid/rngs/parallel_branch.rng +2 -0
  217. data/cockpit/themes/presetid/rngs/scripts.rng +23 -0
  218. data/cockpit/themes/presetid/rngs/start.rng +145 -0
  219. data/cockpit/themes/presetid/rngs/stop.rng +5 -0
  220. data/cockpit/themes/presetid/rngs/terminate.rng +1 -0
  221. data/cockpit/themes/presetid/rngs/wait_for_signal.rng +8 -0
  222. data/cockpit/themes/presetid/symbols/alternative.svg +15 -0
  223. data/cockpit/themes/presetid/symbols/arrow.svg +3 -0
  224. data/cockpit/themes/presetid/symbols/call.svg +19 -0
  225. data/cockpit/themes/presetid/symbols/call_sensor.svg +23 -0
  226. data/cockpit/themes/presetid/symbols/callmanipulate.svg +23 -0
  227. data/cockpit/themes/presetid/symbols/callmanipulate_sensor.svg +26 -0
  228. data/cockpit/themes/presetid/symbols/callmanipulate_sensor_signal.svg +32 -0
  229. data/cockpit/themes/presetid/symbols/callmanipulate_signal.svg +29 -0
  230. data/cockpit/themes/presetid/symbols/choose.svg +15 -0
  231. data/cockpit/themes/presetid/symbols/choose_exclusive.svg +15 -0
  232. data/cockpit/themes/presetid/symbols/choose_exclusive_finish.svg +5 -0
  233. data/cockpit/themes/presetid/symbols/choose_inclusive.svg +13 -0
  234. data/cockpit/themes/presetid/symbols/choose_inclusive_finish.svg +4 -0
  235. data/cockpit/themes/presetid/symbols/closed_loop.svg +5 -0
  236. data/cockpit/themes/presetid/symbols/closed_loop_cancel.svg +5 -0
  237. data/cockpit/themes/presetid/symbols/closed_loop_control.svg +5 -0
  238. data/cockpit/themes/presetid/symbols/closed_loop_measuring.svg +6 -0
  239. data/cockpit/themes/presetid/symbols/complex.svg +8 -0
  240. data/cockpit/themes/presetid/symbols/critical.svg +5 -0
  241. data/cockpit/themes/presetid/symbols/delete.svg +4 -0
  242. data/cockpit/themes/presetid/symbols/end.svg +3 -0
  243. data/cockpit/themes/presetid/symbols/escape.svg +5 -0
  244. data/cockpit/themes/presetid/symbols/event_end.svg +3 -0
  245. data/cockpit/themes/presetid/symbols/loop.svg +15 -0
  246. data/cockpit/themes/presetid/symbols/loop_end.svg +15 -0
  247. data/cockpit/themes/presetid/symbols/manipulate.svg +19 -0
  248. data/cockpit/themes/presetid/symbols/otherwise.svg +5 -0
  249. data/cockpit/themes/presetid/symbols/parallel.svg +6 -0
  250. data/cockpit/themes/presetid/symbols/parallel_branch.svg +5 -0
  251. data/cockpit/themes/presetid/symbols/parallel_branch_event.svg +14 -0
  252. data/cockpit/themes/presetid/symbols/parallel_branch_normal.svg +5 -0
  253. data/cockpit/themes/presetid/symbols/parallel_eventbased_exclusive.svg +9 -0
  254. data/cockpit/themes/presetid/symbols/parallel_eventbased_parallel.svg +8 -0
  255. data/cockpit/themes/presetid/symbols/scripts.svg +4 -0
  256. data/cockpit/themes/presetid/symbols/start.svg +3 -0
  257. data/cockpit/themes/presetid/symbols/start_event.svg +5 -0
  258. data/cockpit/themes/presetid/symbols/stop.svg +5 -0
  259. data/cockpit/themes/presetid/symbols/terminate.svg +4 -0
  260. data/cockpit/themes/presetid/symbols/wait_for_signal.svg +21 -0
  261. data/cockpit/themes/presetid/theme.js +16 -0
  262. data/cockpit/themes/reduced/rngs/call.rng +9 -0
  263. data/cockpit/themes/reduced/rngs/callmanipulate.rng +10 -1
  264. data/cockpit/themes/reduced/rngs/loop.rng +7 -0
  265. data/cockpit/themes/reduced/rngs/manipulate.rng +8 -0
  266. data/cockpit/themes/reduced/rngs/start.rng +1 -0
  267. data/cockpit/themes/reduced/symbols/arrow.svg +1 -1
  268. data/cockpit/themes/reduced/symbols/callmanipulate.svg +1 -1
  269. data/cockpit/themes/reduced/symbols/callmanipulate_sensor.svg +2 -1
  270. data/cockpit/themes/reduced/symbols/callmanipulate_sensor_signal.svg +1 -1
  271. data/cockpit/themes/reduced/symbols/callmanipulate_signal.svg +1 -1
  272. data/cockpit/themes/reduced/symbols/critical.svg +3 -2
  273. data/cockpit/themes/reduced/symbols/delete.svg +2 -2
  274. data/cockpit/themes/reduced/symbols/end.svg +1 -1
  275. data/cockpit/themes/reduced/symbols/manipulate.svg +2 -2
  276. data/cockpit/themes/reduced/symbols/parallel.svg +2 -1
  277. data/cockpit/themes/reduced/symbols/scripts.svg +1 -1
  278. data/cockpit/track.html +3 -3
  279. data/cpee.gemspec +1 -1
  280. data/lib/cpee/implementation.rb +25 -38
  281. data/server/executionhandlers/ruby/connection.rb +11 -3
  282. data/server/routing/end.pid +1 -1
  283. data/server/routing/forward-events-00.pid +1 -1
  284. data/server/routing/forward-events-01.pid +1 -0
  285. data/server/routing/forward-events-02.pid +1 -0
  286. data/server/routing/forward-events-03.pid +1 -0
  287. data/server/routing/forward-events-04.pid +1 -0
  288. data/server/routing/forward-events-05.pid +1 -0
  289. data/server/routing/forward-events-06.pid +1 -0
  290. data/server/routing/forward-votes.pid +1 -1
  291. data/server/routing/persist.pid +1 -1
  292. metadata +133 -6
  293. data/cockpit/js/resources.js +0 -64
  294. data/server/executionhandlers/ruby/ShiftingTestSimple.xml +0 -100
  295. data/server/server.pid +0 -1
  296. /data/cockpit/css/{resources-svg.css → extended_columns-svg.css} +0 -0
@@ -0,0 +1,15 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <g class="part-normal">
3
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
4
+ <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
5
+ <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
6
+ </g>
7
+ <g class="part-start">
8
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
9
+ <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
10
+ <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
11
+ </g>
12
+ <g class="part-middle" transform="translate(28,0)">
13
+ <text transform="translate(5,15)" class="label standalone"></text>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,15 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <g class="part-normal">
3
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
4
+ <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
5
+ <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
6
+ </g>
7
+ <g class="part-start">
8
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
9
+ <line x1="10.5" y1="20.5" x2="20.5" y2="10.5" class="stand"/>
10
+ <line x1="10.5" y1="10.5" x2="20.5" y2="20.5" class="stand"/>
11
+ </g>
12
+ <g class="part-middle" transform="translate(30,0)">
13
+ <text transform="translate(5,18)" class="label standalone"></text>
14
+ </g>
15
+ </svg>
@@ -0,0 +1,19 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <g class="part-normal">
3
+ <rect x="1" y="1" width="28" height="28" rx="4" class="hoverstyle execstyle markstyle colorstyle stand"/>
4
+ <path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
5
+ </g>
6
+ <g class="part-start" clip-path="url(#startclip)">
7
+ <rect x="1" y="1" width="38" height="28" rx="4" class="hoverstyle execstyle markstyle colorstyle stand"/>
8
+ <path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
9
+ </g>
10
+ <g class="part-end" clip-path="url(#endclip)">
11
+ <rect x="1" y="1" width="28" height="28" rx="4" class="hoverstyle execstyle markstyle colorstyle stand"/>
12
+ </g>
13
+ <g class="part-middle" transform="translate(27,0)">
14
+ <rect x="0" y="1" width="220" height="28" class="standwithout colorstyle"/>
15
+ <line x1="0" y1="1" x2="220" y2="1" class="standline markstyle hoverstyle execstyle" />
16
+ <line x1="0" y1="29" x2="220" y2="29" class="standline markstyle hoverstyle execstyle" />
17
+ <text transform="translate(0,20)" class="label"></text>
18
+ </g>
19
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15" cy="15" r="11" class="standtrans"/>
3
+ <line x1="9" y1="21" x2="21" y2="9" class="stand markstyle hoverstyle"/>
4
+ <line x1="15.6" y1="4" x2="15.6" y2="27" class="edge"/>
5
+ </svg>
@@ -0,0 +1,6 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
3
+ <line x1="15.5" y1="9.5" x2="15.5" y2="21.5" class="stand"/>
4
+ <line x1="9.5" y1="15.5" x2="21.5" y2="15.5" class="stand"/>
5
+ </svg>
6
+
@@ -0,0 +1,5 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="11" y="6" width="9" height="18" rx="0" class="white"/>
3
+ <path class="markstyle hoverstyle stand" d="M 11,5 C 2,9 2,21 11,25 M 20,5 C 29,9 29,21 20,25" style="stroke-dasharray:1,4;"/>
4
+ <line x1="15.6" y1="4" x2="15.6" y2="27" class="edge"/>
5
+ </svg>
@@ -0,0 +1,14 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="1" y="3" width="24" height="24" rx="4" class="colorstyle hoverstyle execstyle markstyle stand"/>
3
+
4
+ <circle cx="24" cy="15" r="9" class="markstyle execstyle standthin" style="stroke-dasharray: 1,2"/>
5
+ <circle cx="24" cy="15" r="7" class="markstyle execstyle standthin" style="stroke-dasharray: 1,2"/>
6
+ <line x1="24" y1="11" x2="20" y2="18" class="stand"/>
7
+ <line x1="20" y1="18" x2="28" y2="18" class="stand"/>
8
+ <line x1="28" y1="18" x2="24" y2="11" class="stand"/>
9
+
10
+ <circle cx="55.5" cy="15" r="14" class="colorstyle markstyle hoverstyle execstyle stand"/>
11
+ <line x1="55.5" y1="11" x2="51.5" y2="18" class="stand"/>
12
+ <line x1="51.5" y1="18" x2="59.5" y2="18" class="stand"/>
13
+ <line x1="59.5" y1="18" x2="55.5" y2="11" class="stand"/>
14
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="11" y="6" width="9" height="18" rx="0" class="white"/>
3
+ <path class="markstyle hoverstyle stand" d="M 11,5 C 2,9 2,21 11,25 M 20,5 C 29,9 29,21 20,25" style="stroke-dasharray:1,4;"/>
4
+ <line x1="15.6" y1="4" x2="15.6" y2="27" class="edge"/>
5
+ </svg>
@@ -0,0 +1,9 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
3
+ <circle cx="15.5" cy="15.5" r="8" class="standthin colorstyle"/>
4
+ <circle cx="15.5" cy="15.5" r="6" class="standthin colorstyle"/>
5
+ <path
6
+ d="m 15.500001,11.435193 3.825246,2.779205 -1.461114,4.496849 h -4.728265 l -1.461115,-4.496849 z"
7
+ class="stand colorstyle"/>
8
+ </svg>
9
+
@@ -0,0 +1,8 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
3
+ <circle cx="15.5" cy="15.5" r="8" class="standthin colorstyle"/>
4
+ <circle cx="15.5" cy="15.5" r="6" class="standthin colorstyle"/>
5
+ <line x1="12.5" y1="15.5" x2="18.5" y2="15.5" class="stand"/>
6
+ <line x1="15.5" y1="12.5" x2="15.5" y2="18.5" class="stand"/>
7
+ </svg>
8
+
@@ -0,0 +1,4 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="1" y="1" width="28" height="28" rx="4" class="hoverstyle execstyle markstyle stand"/>
3
+ <path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
4
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15" cy="15" r="14" class="colorstyle markstyle hoverstyle execstyle stand"/>
3
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15" cy="15" r="14" class="colorstyle hoverstyle execstyle markstyle stand"/>
3
+ <rect x="7" y="10" width="16" height="11" class="black" style="fill: none"/>
4
+ <path d="m 7,10 8,6 8,-6" class="black" style="fill: none"/>
5
+ </svg>
@@ -0,0 +1,5 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15.5" cy="15.5" r="14" class="colorstyle hoverstyle execstyle markstyle stand"/>
3
+ <line x1="12.5" y1="22.5" x2="12.5" y2="8.5" class="stand"/>
4
+ <line x1="17.5" y1="22.5" x2="17.5" y2="8.5" class="stand"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="15" cy="15" r="14" class="standfat"/>
3
+ <circle cx="15" cy="15" r="9" class="black"/>
4
+ </svg>
@@ -0,0 +1,21 @@
1
+ <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
+ <g class="part-normal">
3
+ <circle cx="15.5" cy="15" r="14" class="markstyle hoverstyle stand"/>
4
+ <circle cx="15.5" cy="15" r="11" class="colorstyle markstyle execstyle stand"/>
5
+ <line x1="15.5" y1="08" x2="09.5" y2="19" class="stand"/>
6
+ <line x1="09.5" y1="19" x2="21.5" y2="19" class="stand"/>
7
+ <line x1="21.5" y1="19" x2="15.5" y2="08" class="stand"/>
8
+ </g>
9
+ <g class="part-start">
10
+ <circle cx="15.5" cy="15" r="14" class="markstyle hoverstyle stand"/>
11
+ <circle cx="15.5" cy="15" r="11" class="colorstyle markstyle execstyle stand"/>
12
+ <line x1="15.5" y1="08" x2="09.5" y2="19" class="stand"/>
13
+ <line x1="09.5" y1="19" x2="21.5" y2="19" class="stand"/>
14
+ <line x1="21.5" y1="19" x2="15.5" y2="08" class="stand"/>
15
+ </g>
16
+ <g class="part-middle" transform="translate(32,0)">
17
+ <text transform="translate(0,20)" class="label"></text>
18
+ </g>
19
+ <g class="part-extra" transform="">
20
+ </g>
21
+ </svg>
@@ -0,0 +1,16 @@
1
+ WFAdaptorManifestation = class extends WFAdaptorManifestationBase {
2
+ constructor(adaptor) {
3
+ super(adaptor);
4
+ this.compact = true;
5
+ this.rotated_labels = false;
6
+ this.elements.call.illustrator.label = function(node) { //{{{
7
+ return [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') + ' (' + $(node).attr('id') + ')' } ];
8
+ }; //}}}
9
+ this.elements.stop.illustrator.label = function(node) { //{{{
10
+ return [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') + ' (' + $(node).attr('id') + ')' } ];
11
+ }; //}}}
12
+ this.elements.wait_for_signal.illustrator.label = function(node) { //{{{
13
+ return [ { column: 'Label', value: $('> label',$(node).children('parameters')).text().replace(/^['"]/,'').replace(/['"]$/,'') + ' (' + $(node).attr('id') + ')' } ];
14
+ }; //}}}
15
+ }
16
+ }
@@ -22,6 +22,7 @@
22
22
  <value>#e4c3e4</value>
23
23
  <value>#ded0c5</value>
24
24
  <value>#bcbbbd</value>
25
+ <value>#f57aa9</value>
25
26
  </choice>
26
27
  </element>
27
28
  <element name="method" rngui:label="Method">
@@ -51,6 +52,14 @@
51
52
  </element>
52
53
  </zeroOrMore>
53
54
  </element>
55
+ <element name="_logging_behavior" rngui:header="Logging Behavior" rngui:fold="closed">
56
+ <element name="_exclude" rngui:label="Exclude from log">
57
+ <data type="boolean" rngui:label="Exclude from log"/>
58
+ </element>
59
+ <element name="_include" rngui:label="Include nested events">
60
+ <data type="boolean" rngui:label="Include nested events"/>
61
+ </element>
62
+ </element>
54
63
  <element name="_timing" rngui:header="Timing" rngui:fold="closed">
55
64
  <element name="_timing_weight" rngui:label="&#x3C9; - Weight">
56
65
  <data type="float" rngui:label="[0,1]"/>
@@ -22,6 +22,7 @@
22
22
  <value>#e4c3e4</value>
23
23
  <value>#ded0c5</value>
24
24
  <value>#bcbbbd</value>
25
+ <value>#f57aa9</value>
25
26
  </choice>
26
27
  </element>
27
28
  <element name="method" rngui:label="Method">
@@ -43,7 +44,7 @@
43
44
  </element>
44
45
  </element>
45
46
  <element name="code" rngui:header="Data Handling">
46
- <element name="signal" rngui:label="Signal after data manipulation (finalize/update)">
47
+ <element name="signal" rngui:label="Signal after finalize/update">
47
48
  <data type="boolean" rngui:label="A signal is sent every time the activity changes a data object"/>
48
49
  </element>
49
50
  <element name="prepare" rngui:header="Prepare" rngui:label="Code" rngui:fold="closed_conditional">
@@ -77,6 +78,14 @@
77
78
  </element>
78
79
  </zeroOrMore>
79
80
  </element>
81
+ <element name="_logging_behavior" rngui:header="Logging Behavior" rngui:fold="closed">
82
+ <element name="_exclude" rngui:label="Exclude from log">
83
+ <data type="boolean" rngui:label="Exclude from log"/>
84
+ </element>
85
+ <element name="_include" rngui:label="Include nested events">
86
+ <data type="boolean" rngui:label="Include nested events"/>
87
+ </element>
88
+ </element>
80
89
  <element name="_timing" rngui:header="Timing" rngui:fold="closed">
81
90
  <element name="_timing_weight" rngui:label="&#x3C9; - Weight">
82
91
  <data type="float" rngui:label="[0,1]"/>
@@ -19,4 +19,11 @@
19
19
  <data type="nonNegativeInteger" rngui:label="Times"/>
20
20
  </element>
21
21
  </element>
22
+ <element name="_annotations" rngui:header="Annotations">
23
+ <element name="_logging_behavior" rngui:header="Logging Behavior" rngui:fold="closed">
24
+ <element name="_iteration" rngui:label="Log per iteration">
25
+ <data type="boolean" rngui:label="Log per iteration"/>
26
+ </element>
27
+ </element>
28
+ </element>
22
29
  </element>
@@ -16,7 +16,15 @@
16
16
  <value>#e4c3e4</value>
17
17
  <value>#ded0c5</value>
18
18
  <value>#bcbbbd</value>
19
+ <value>#f57aa9</value>
19
20
  </choice>
20
21
  </attribute>
21
22
  <text rngui:label="Script that is executed"/>
23
+ <element name="_annotations" rngui:header="Annotations">
24
+ <element name="_logging_behavior" rngui:header="Logging Behavior" rngui:fold="closed">
25
+ <element name="_exclude" rngui:label="Exclude from log">
26
+ <data type="boolean" rngui:label="Exclude from log"/>
27
+ </element>
28
+ </element>
29
+ </element>
22
30
  </element>
@@ -10,6 +10,7 @@
10
10
  <value>#e4c3e4</value>
11
11
  <value>#ded0c5</value>
12
12
  <value>#bcbbbd</value>
13
+ <value>#f57aa9</value>
13
14
  </choice>
14
15
  </attribute>
15
16
  <element name="_generic" rngui:header="Process Level Generic Annotations">
@@ -1,3 +1,3 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <path class="execstyle stand" d="m 5 10 l 10 0 l 0 -5 l 10 10 l -10 10 l 0 -5 l -10 0 z"/>
2
+ <path class="colorstyle stand" d="m 5 10 l 10 0 l 0 -5 l 10 10 l -10 10 l 0 -5 l -10 0 z"/>
3
3
  </svg>
@@ -18,6 +18,6 @@
18
18
  </g>
19
19
  <g class="part-extra" transform="">
20
20
  <rect x="23" y="21" width="12" height="12" rx="2" class="markstyle execstylethin hoverstylethin stand colorstyle"/>
21
- <text transform="translate(29,30.75)" class="small">s</text>
21
+ <path transform="translate(25.5,23.3)" class="normal" style="fill:#000000;" d="M 0,5.352539 1.9277344,5.0585937 q 0.1230468,0.5605469 0.4990234,0.8544922 0.3759766,0.2871092 1.0527344,0.2871092 0.7451172,0 1.1210937,-0.2734373 0.2529297,-0.1914063 0.2529297,-0.5126953 0,-0.21875 -0.1367187,-0.3623047 Q 4.5732422,4.915039 4.0742187,4.7988281 1.75,4.2861328 1.1279297,3.8623047 0.2666016,3.274414 0.2666016,2.2285156 q 0,-0.9433594 0.7451171,-1.5859375 Q 1.7568359,0 3.3222656,0 4.8125,0 5.5371094,0.4853515 6.2617184,0.9707031 6.5351564,1.9208984 L 4.7236328,2.2558594 Q 4.6074219,1.8320312 4.2792969,1.6064453 3.9580078,1.3808594 3.3564453,1.3808594 q -0.7587891,0 -1.0869141,0.211914 -0.21875,0.1503906 -0.21875,0.3896485 0,0.2050781 0.1914063,0.3486328 0.2597656,0.1914062 1.7910156,0.540039 1.5380863,0.3486328 2.1464843,0.8544922 0.601563,0.5126953 0.601563,1.4287109 0,0.9980473 -0.833985,1.7158203 -0.833984,0.717774 -2.4677732,0.717774 -1.4833985,0 -2.3515625,-0.601563 Q 0.2666016,6.3847661 0,5.352539 Z"/>
22
22
  </g>
23
23
  </svg>
@@ -18,7 +18,8 @@
18
18
  </g>
19
19
  <g class="part-extra" transform="">
20
20
  <rect x="23" y="21" width="12" height="12" rx="2" class="markstyle execstylethin hoverstylethin stand colorstyle"/>
21
- <text transform="translate(29,30.75)" class="small">s</text>
21
+ <path transform="translate(25.5,23.3)" class="normal" style="fill:#000000;" d="M 0,5.352539 1.9277344,5.0585937 q 0.1230468,0.5605469 0.4990234,0.8544922 0.3759766,0.2871092 1.0527344,0.2871092 0.7451172,0 1.1210937,-0.2734373 0.2529297,-0.1914063 0.2529297,-0.5126953 0,-0.21875 -0.1367187,-0.3623047 Q 4.5732422,4.915039 4.0742187,4.7988281 1.75,4.2861328 1.1279297,3.8623047 0.2666016,3.274414 0.2666016,2.2285156 q 0,-0.9433594 0.7451171,-1.5859375 Q 1.7568359,0 3.3222656,0 4.8125,0 5.5371094,0.4853515 6.2617184,0.9707031 6.5351564,1.9208984 L 4.7236328,2.2558594 Q 4.6074219,1.8320312 4.2792969,1.6064453 3.9580078,1.3808594 3.3564453,1.3808594 q -0.7587891,0 -1.0869141,0.211914 -0.21875,0.1503906 -0.21875,0.3896485 0,0.2050781 0.1914063,0.3486328 0.2597656,0.1914062 1.7910156,0.540039 1.5380863,0.3486328 2.1464843,0.8544922 0.601563,0.5126953 0.601563,1.4287109 0,0.9980473 -0.833985,1.7158203 -0.833984,0.717774 -2.4677732,0.717774 -1.4833985,0 -2.3515625,-0.601563 Q 0.2666016,6.3847661 0,5.352539 Z"/>
22
+
22
23
  <path class="markstyle stand" d="M 34.003906,5 V 4.1269531 c 0,-4.45934904 -3.585332,-8.0488281 -8.039062,-8.0488281 H 25"/>
23
24
  <path class="markstyle stand" d="M 31.5,5 V 4.9667969 C 31.5,1.3836953 28.618741,-1.5 25.039062,-1.5 H 25"/>
24
25
  </g>
@@ -18,7 +18,7 @@
18
18
  </g>
19
19
  <g class="part-extra" transform="">
20
20
  <rect x="23" y="21" width="12" height="12" rx="2" class="markstyle execstylethin hoverstylethin stand colorstyle"/>
21
- <text transform="translate(29,30.75)" class="small">s</text>
21
+ <path transform="translate(25.5,23.3)" class="normal" style="fill:#000000;" d="M 0,5.352539 1.9277344,5.0585937 q 0.1230468,0.5605469 0.4990234,0.8544922 0.3759766,0.2871092 1.0527344,0.2871092 0.7451172,0 1.1210937,-0.2734373 0.2529297,-0.1914063 0.2529297,-0.5126953 0,-0.21875 -0.1367187,-0.3623047 Q 4.5732422,4.915039 4.0742187,4.7988281 1.75,4.2861328 1.1279297,3.8623047 0.2666016,3.274414 0.2666016,2.2285156 q 0,-0.9433594 0.7451171,-1.5859375 Q 1.7568359,0 3.3222656,0 4.8125,0 5.5371094,0.4853515 6.2617184,0.9707031 6.5351564,1.9208984 L 4.7236328,2.2558594 Q 4.6074219,1.8320312 4.2792969,1.6064453 3.9580078,1.3808594 3.3564453,1.3808594 q -0.7587891,0 -1.0869141,0.211914 -0.21875,0.1503906 -0.21875,0.3896485 0,0.2050781 0.1914063,0.3486328 0.2597656,0.1914062 1.7910156,0.540039 1.5380863,0.3486328 2.1464843,0.8544922 0.601563,0.5126953 0.601563,1.4287109 0,0.9980473 -0.833985,1.7158203 -0.833984,0.717774 -2.4677732,0.717774 -1.4833985,0 -2.3515625,-0.601563 Q 0.2666016,6.3847661 0,5.352539 Z"/>
22
22
 
23
23
  <path class="markstyle stand" d="M 34.003906,5 V 4.1269531 c 0,-4.45934904 -3.585332,-8.0488281 -8.039062,-8.0488281 H 25"/>
24
24
  <path class="markstyle stand" d="M 31.5,5 V 4.9667969 C 31.5,1.3836953 28.618741,-1.5 25.039062,-1.5 H 25"/>
@@ -18,7 +18,7 @@
18
18
  </g>
19
19
  <g class="part-extra">
20
20
  <rect x="23" y="21" width="12" height="12" rx="2" class="markstyle hoverstylethin execstylethin colorstyle stand"/>
21
- <text transform="translate(29,30.75)" class="small">s</text>
21
+ <path transform="translate(25.5,23.3)" class="normal" style="fill:#000000;" d="M 0,5.352539 1.9277344,5.0585937 q 0.1230468,0.5605469 0.4990234,0.8544922 0.3759766,0.2871092 1.0527344,0.2871092 0.7451172,0 1.1210937,-0.2734373 0.2529297,-0.1914063 0.2529297,-0.5126953 0,-0.21875 -0.1367187,-0.3623047 Q 4.5732422,4.915039 4.0742187,4.7988281 1.75,4.2861328 1.1279297,3.8623047 0.2666016,3.274414 0.2666016,2.2285156 q 0,-0.9433594 0.7451171,-1.5859375 Q 1.7568359,0 3.3222656,0 4.8125,0 5.5371094,0.4853515 6.2617184,0.9707031 6.5351564,1.9208984 L 4.7236328,2.2558594 Q 4.6074219,1.8320312 4.2792969,1.6064453 3.9580078,1.3808594 3.3564453,1.3808594 q -0.7587891,0 -1.0869141,0.211914 -0.21875,0.1503906 -0.21875,0.3896485 0,0.2050781 0.1914063,0.3486328 0.2597656,0.1914062 1.7910156,0.540039 1.5380863,0.3486328 2.1464843,0.8544922 0.601563,0.5126953 0.601563,1.4287109 0,0.9980473 -0.833985,1.7158203 -0.833984,0.717774 -2.4677732,0.717774 -1.4833985,0 -2.3515625,-0.601563 Q 0.2666016,6.3847661 0,5.352539 Z"/>
22
22
 
23
23
  <circle cx="29" cy="10" r="7" class="markstyle execstylethin hoverstylethin standthin colorstyle" style="stroke-dasharray: 1,2"/>
24
24
  <circle cx="29" cy="10" r="5" class="markstyle execstylethin hoverstylethin standthin colorstyle" style="stroke-dasharray: 1,2"/>
@@ -1,4 +1,5 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <path class="markstyle colorstyle hoverstyle execstyle stand" d="m 3 27 l 12 -24 l 12 24 z"/>
3
- <text transform="translate(15,23)" class="small">!</text>
2
+ <path class="markstyle colorstyle hoverstyle execstyle stand" d="m 3.5 27 l 12 -24 l 12 24 z"/>
3
+ <path class="normal" style="fill:#000000;" d="m 16.5 11 l 0 8 l -2 0 l 0 -8 z"/>
4
+ <path class="normal" style="fill:#000000;" d="m 16.5 21 l 0 2 l -2 0 l 0 -2 z"/>
4
5
  </svg>
@@ -1,4 +1,4 @@
1
1
  <svg xmlns="http://www.w3.org/2000/svg">
2
- <line x1="8.5" y1="22.5" x2="22.5" y2="8.5" class="standfat"/>
3
- <line x1="8.5" y1="8.5" x2="22.5" y2="22.5" class="standfat"/>
2
+ <line x1="8.5" y1="22.5" x2="22.5" y2="8.5" class="colorstyle standfat"/>
3
+ <line x1="8.5" y1="8.5" x2="22.5" y2="22.5" class="colorstyle standfat"/>
4
4
  </svg>
@@ -1,3 +1,3 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
- <circle cx="15" cy="15" r="14" class="colorstyle standfat"/>
2
+ <circle cx="15" cy="15" r="13" class="colorstyle standfat" style="stroke-width: 5;"/>
3
3
  </svg>
@@ -1,11 +1,11 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
2
  <g class="part-normal">
3
3
  <rect x="1" y="1" width="28" height="28" rx="4" class="hoverstyle execstyle markstyle colorstyle stand"/>
4
- <text transform="translate(15,21)" class="normal">s</text>
4
+ <path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
5
5
  </g>
6
6
  <g class="part-start" clip-path="url(#startclip)">
7
7
  <rect x="1" y="1" width="38" height="28" rx="4" class="hoverstyle execstyle markstyle colorstyle stand"/>
8
- <text transform="translate(15,20.5)" class="normal">s</text>
8
+ <path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
9
9
  </g>
10
10
  <g class="part-end" clip-path="url(#endclip)">
11
11
  <rect x="1" y="1" width="28" height="28" rx="4" class="hoverstyle execstyle markstyle colorstyle stand"/>
@@ -1,5 +1,6 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
2
  <rect transform="rotate(45,14,12)" x="7" y="3" width="21" height="21" class="colorstyle markstyle hoverstyle stand"/>
3
- <text transform="translate(15.5,23)" class="normallarge">+</text>
3
+ <line x1="15.5" y1="9.5" x2="15.5" y2="21.5" class="stand"/>
4
+ <line x1="9.5" y1="15.5" x2="21.5" y2="15.5" class="stand"/>
4
5
  </svg>
5
6
 
@@ -1,4 +1,4 @@
1
1
  <svg class="clickable" xmlns="http://www.w3.org/2000/svg">
2
2
  <rect x="1" y="1" width="28" height="28" rx="4" class="hoverstyle execstyle markstyle stand"/>
3
- <text transform="translate(15,21)" class="normal">s</text>
3
+ <path transform="translate(10,10)" class="normal" style="fill:#000000;" d="M 0.09999755,7.74648 2.8538976,7.32656 q 0.17579,0.80078 0.7129,1.2207 0.5371,0.41016 1.5039,0.41016 1.06445,0 1.60156,-0.39063 0.36133,-0.27343 0.36133,-0.73242 0,-0.3125 -0.19531,-0.51758 -0.20508,-0.19531 -0.91797,-0.36132 -3.32031,-0.73243 -4.20898,-1.33789 -1.23047005,-0.83985 -1.23047005,-2.33399 0,-1.34766 1.06445005,-2.26562 Q 2.6097576,0.1 4.8460876,0.1 q 2.12891,0 3.16406,0.69336 1.03516,0.69336 1.425786,2.05078 l -2.587886,0.47851 q -0.16602,-0.60547 -0.63477,-0.92773 -0.45898,-0.32227 -1.31836,-0.32227 -1.08398,0 -1.55273,0.30274 -0.3125,0.21484 -0.3125,0.55664 0,0.29297 0.27343,0.49805 0.3711,0.27343 2.5586,0.77148 2.19726,0.49805 3.0664,1.2207 0.859379,0.73242 0.859379,2.04102 0,1.42578 -1.191409,2.45117 -1.1914,1.02539 -3.52539,1.02539 -2.11914,0 -3.35937,-0.85937 Q 0.48085755,9.22109 0.09999755,7.74648 Z"/>
4
4
  </svg>
data/cockpit/track.html CHANGED
@@ -56,11 +56,11 @@
56
56
  <script type="text/javascript" src="js/parameters.js"></script>
57
57
  <script type="text/javascript" src="js/track.js"></script>
58
58
  <script type="text/javascript" src="js/modifiers.js"></script>
59
- <script type="text/javascript" src="js/resources.js"></script>
59
+ <script type="text/javascript" src="js/extended_columns.js"></script>
60
60
  <script type="text/javascript" src="themes/base.js"></script>
61
61
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
62
- <link rel="stylesheet" href="css/resources-label.css" type="text/css"/>
63
- <link rel="stylesheet" href="css/resources-svg.css" type="text/css" data-include-export="true"/>
62
+ <link rel="stylesheet" href="css/extended_columns-label.css" type="text/css"/>
63
+ <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
64
64
  <link rel="stylesheet" href="css/track.css" type="text/css"/>
65
65
  </head>
66
66
  <body data-base-port="8298" data-res-port="9303" data-theme-base="themes" is="x-ui-">
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.92"
3
+ s.version = "2.1.95"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "The cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -117,7 +117,7 @@ module CPEE
117
117
  Dir[File.join(opts[:global_executionhandlers],'*','execution.rb')].each do |h|
118
118
  require h
119
119
  end unless opts[:global_executionhandlers].nil? || opts[:global_executionhandlers].strip == ''
120
- Dir[File.join(opts[:executionhandlers],'*','execution.rb')].each do |h|
120
+ Dir[File.join(opts[:executionhandlers],'**','execution.rb')].each do |h|
121
121
  require h
122
122
  end unless opts[:executionhandlers].nil? || opts[:executionhandlers].strip == ''
123
123
  CPEE::Message::set_workers(opts[:workers])
@@ -316,34 +316,12 @@ module CPEE
316
316
 
317
317
  doc = XML::Smart::string(@p[0].value.read)
318
318
  doc.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
319
- doc.register_namespace 'sub', 'http://riddl.org/ns/common-patterns/notifications-producer/2.0'
319
+ doc.register_namespace 'np', 'http://riddl.org/ns/common-patterns/notifications-producer/2.0'
320
320
 
321
321
  name = doc.find('string(/*/p:attributes/p:info)')
322
322
 
323
- id, uuid = NewInstance::create(opts,redis,name,doc)
324
-
325
- subscriptions = []
326
- (doc.find('/*/sub:subscriptions/sub:subscription') rescue []).each do |s|
327
- sub = []
328
- unless sub[0] = s.attributes['id']
329
- sub[0] = Digest::MD5.hexdigest(Kernel::rand().to_s)
330
- end
331
-
332
- unless sub[1] = s.attributes['url']
333
- raise "no url"
334
- end
335
-
336
- sub[2] = []
337
- s.find('sub:topic').each do |t|
338
- %w(event vote).each do |type|
339
- t.find('sub:' + type).each do |e|
340
- sub[2] << File.join(t.attributes['id'],type,e.text)
341
- end
342
- end
343
- end
344
-
345
- CPEE::Persistence::set_handler(id,opts,*sub)
346
- end
323
+ subs = (doc.find('/*/np:subscriptions/np:subscription') rescue []).to_a
324
+ id, uuid = NewInstance::create(opts,redis,name,subs,doc)
347
325
 
348
326
  content = {
349
327
  :state => 'ready',
@@ -372,7 +350,19 @@ module CPEE
372
350
  File.join(*ret.reverse)
373
351
  end
374
352
 
375
- def self::create(opts,redis,name,doc=nil)
353
+ def self::sub(multi,id,doc,key)
354
+ doc.register_namespace 'np', 'http://riddl.org/ns/common-patterns/notifications-producer/2.0'
355
+ url = doc.find('string(/np:subscription/@url)')
356
+ multi.sadd(CPEE::Persistence::obj + ":#{id}/handlers",key)
357
+ multi.set(CPEE::Persistence::obj + ":#{id}/handlers/#{key}/url",url)
358
+ doc.find('/np:subscription/np:topic/*').each do |e|
359
+ c = File.join(e.parent.attributes['id'],e.qname.name,e.text)
360
+ multi.sadd(CPEE::Persistence::obj + ":#{id}/handlers/#{key}",c)
361
+ multi.sadd(CPEE::Persistence::obj + ":#{id}/handlers/#{c}",key)
362
+ end
363
+ end
364
+
365
+ def self::create(opts,redis,name,subs,doc=nil)
376
366
  doc = XML::Smart::open_unprotected(opts[:properties_init]) if doc.nil?
377
367
  doc.register_namespace 'p', 'http://cpee.org/ns/properties/2.0'
378
368
  id = CPEE::Persistence::new_object(opts)
@@ -399,18 +389,15 @@ module CPEE
399
389
  end
400
390
  Dir[File.join(opts[:notifications_init],'*','subscription.xml')].each do |f|
401
391
  XML::Smart::open_unprotected(f) do |doc|
402
- doc.register_namespace 'np', 'http://riddl.org/ns/common-patterns/notifications-producer/2.0'
403
- key = File.basename(File.dirname(f))
404
- url = doc.find('string(/np:subscription/@url)')
405
- multi.sadd(CPEE::Persistence::obj + ":#{id}/handlers",key)
406
- multi.set(CPEE::Persistence::obj + ":#{id}/handlers/#{key}/url",url)
407
- doc.find('/np:subscription/np:topic/*').each do |e|
408
- c = File.join(e.parent.attributes['id'],e.qname.name,e.text)
409
- multi.sadd(CPEE::Persistence::obj + ":#{id}/handlers/#{key}",c)
410
- multi.sadd(CPEE::Persistence::obj + ":#{id}/handlers/#{c}",key)
411
- end
392
+ NewInstance::sub(multi,id,doc,File.basename(File.dirname(f)))
412
393
  end rescue nil # all the ones that are not ok, are ignored
413
394
  end
395
+ subs.each do |s|
396
+ begin
397
+ NewInstance::sub(multi,id,s.to_doc,s.attributes['id'] || Digest::MD5.hexdigest(Kernel::rand().to_s))
398
+ end
399
+ end
400
+
414
401
  multi.set(File.join(instance, 'attributes', 'uuid'), uuid)
415
402
  multi.zadd(File.join(instance, 'attributes'), -2, 'uuid')
416
403
  multi.set(File.join(instance, 'attributes', 'info'), name)
@@ -426,7 +413,7 @@ module CPEE
426
413
  redis = opts[:redis]
427
414
  name = @p[0].value
428
415
 
429
- id, uuid = NewInstance::create(opts,redis,name)
416
+ id, uuid = NewInstance::create(opts,redis,name,[])
430
417
  content = {
431
418
  :state => 'ready',
432
419
  :attributes => CPEE::Persistence::extract_list(id,opts,'attributes').to_h
@@ -46,7 +46,11 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
46
46
  def self::inform_connectionwrapper_error(arguments,err) # {{{
47
47
  controller = arguments[0]
48
48
  begin
49
- controller.notify("executionhandler/error", :message => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):\s(.*)/)[4] + err.message, :line => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[3], :where => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[1])
49
+ if err.backtrace[0] !~ /, Line/
50
+ controller.notify("executionhandler/error", :message => err.backtrace[0].gsub(/(Activity a\d+)/,'\1:'), :line => -1, :where => err.backtrace[0].match(/Activity a\d+/)[0])
51
+ else
52
+ controller.notify("executionhandler/error", :message => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):\s(.*)/)[4] + err.message, :line => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[3], :where => err.backtrace[0].match(/(.*?)(, Line |:)(\d+):/)[1])
53
+ end
50
54
  rescue => e
51
55
  controller.notify("executionhandler/error", :message => err.message)
52
56
  end
@@ -217,7 +221,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
217
221
  @label = parameters[:label]
218
222
  @anno = parameters.delete(:annotations) rescue nil
219
223
  @controller.notify("status/resource_utilization", :mib => GetProcessMem.new.mb, **Process.times.to_h)
220
- @controller.notify("activity/calling", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :passthrough => passthrough, :endpoint => @handler_endpoint, :parameters => parameters, :annotations => @anno)
224
+ @controller.notify("activity/calling", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :passthrough => passthrough, :endpoint => @handler_endpoint, :parameters => parameters)
225
+ @controller.notify("activity/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
221
226
  if passthrough.to_s.empty?
222
227
  proto_curl parameters
223
228
  else
@@ -227,6 +232,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
227
232
  end # }}}
228
233
  def activity_manipulate_handle(parameters) #{{{
229
234
  @label = parameters[:label]
235
+ @anno = parameters.delete(:annotations) rescue nil
236
+ @controller.notify("activity/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => @anno)
230
237
  end #}}}
231
238
 
232
239
  def activity_result_value # {{{
@@ -291,7 +298,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
291
298
  nil
292
299
  end
293
300
 
294
- @controller.notify("activity/receiving", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv, :annotations => @anno)
301
+ @controller.notify("activity/receiving", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv)
295
302
 
296
303
  @guard_files += result
297
304
  @guard_files += ret
@@ -426,6 +433,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
426
433
  recv = 'false' unless recv
427
434
  recv = (recv == 'false' || recv == 'null' || recv == 'nil' || recv == false ? false : true)
428
435
  @controller.notify("gateway/decide", :ecid => Thread.current.__id__, :instance_uuid => @controller.uuid, :code => code, :condition => recv)
436
+ @controller.notify("gateway/annotation", :ecid => Thread.current.__id__, :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :annotations => {})
429
437
  recv
430
438
  end #}}}
431
439
  def manipulate(readonly,lock,dataelements,endpoints,status,local,additional,code,where,result=nil,options=nil) #{{{
@@ -1 +1 @@
1
- 91247
1
+ 2372948
@@ -1 +1 @@
1
- 91265
1
+ 2372966
@@ -0,0 +1 @@
1
+ 2372972
@@ -0,0 +1 @@
1
+ 2372978