cpee 2.1.135 → 2.1.136

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 (205) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/cockpit/compliance-view.html +12 -13
  4. data/cockpit/compliance.html +12 -13
  5. data/cockpit/css/llm.css +3 -3
  6. data/cockpit/css/llmmodel.css +140 -0
  7. data/cockpit/css/model.css +0 -1
  8. data/cockpit/css/ui.css +13 -7
  9. data/cockpit/css/wfadaptor.css +15 -10
  10. data/cockpit/edit.html +12 -13
  11. data/cockpit/graph.html +8 -8
  12. data/cockpit/index.html +12 -13
  13. data/cockpit/js/build-bpmn2.js +302 -0
  14. data/cockpit/js/details.js +27 -10
  15. data/cockpit/js/instance.js +193 -203
  16. data/cockpit/js/llm-ui-bubble.js +36 -0
  17. data/cockpit/js/llm-ui-status.js +34 -0
  18. data/cockpit/js/llm-ui.js +87 -0
  19. data/cockpit/js/llm.js +463 -118
  20. data/cockpit/js/parameters.js +45 -14
  21. data/cockpit/js/wfadaptor.js +394 -75
  22. data/cockpit/llm.html +17 -15
  23. data/cockpit/llmmodel.html +18 -17
  24. data/cockpit/model.html +9 -9
  25. data/cockpit/only_llm.html +15 -13
  26. data/cockpit/themes/base.js +1 -1
  27. data/cockpit/themes/packed/theme.js +3 -0
  28. data/cockpit/themes/presetlr/rngs/alternative.rng +28 -0
  29. data/cockpit/themes/presetlr/rngs/call.rng +249 -0
  30. data/cockpit/themes/presetlr/rngs/callmanipulate.rng +281 -0
  31. data/cockpit/themes/presetlr/rngs/choose.rng +27 -0
  32. data/cockpit/themes/presetlr/rngs/closed_loop.rng +62 -0
  33. data/cockpit/themes/presetlr/rngs/closed_loop_cancel.rng +5 -0
  34. data/cockpit/themes/presetlr/rngs/closed_loop_control.rng +31 -0
  35. data/cockpit/themes/presetlr/rngs/closed_loop_measuring.rng +12 -0
  36. data/cockpit/themes/presetlr/rngs/critical.rng +8 -0
  37. data/cockpit/themes/presetlr/rngs/escape.rng +5 -0
  38. data/cockpit/themes/presetlr/rngs/group.rng +3 -0
  39. data/cockpit/themes/presetlr/rngs/loop.rng +40 -0
  40. data/cockpit/themes/presetlr/rngs/manipulate.rng +76 -0
  41. data/cockpit/themes/presetlr/rngs/otherwise.rng +25 -0
  42. data/cockpit/themes/presetlr/rngs/parallel.rng +24 -0
  43. data/cockpit/themes/presetlr/rngs/parallel_branch.rng +5 -0
  44. data/cockpit/themes/presetlr/rngs/scripts.rng +23 -0
  45. data/cockpit/themes/presetlr/rngs/start.rng +143 -0
  46. data/cockpit/themes/presetlr/rngs/stop.rng +5 -0
  47. data/cockpit/themes/presetlr/rngs/terminate.rng +8 -0
  48. data/cockpit/themes/presetlr/rngs/wait_for_signal.rng +8 -0
  49. data/cockpit/themes/presetlr/symbols/alternative.svg +19 -0
  50. data/cockpit/themes/presetlr/symbols/arrow.svg +1 -0
  51. data/cockpit/themes/presetlr/symbols/call.svg +1 -0
  52. data/cockpit/themes/presetlr/symbols/call_sensor.svg +1 -0
  53. data/cockpit/themes/presetlr/symbols/callmanipulate.svg +1 -0
  54. data/cockpit/themes/presetlr/symbols/callmanipulate_sensor.svg +1 -0
  55. data/cockpit/themes/presetlr/symbols/callmanipulate_sensor_signal.svg +1 -0
  56. data/cockpit/themes/presetlr/symbols/callmanipulate_signal.svg +1 -0
  57. data/cockpit/themes/presetlr/symbols/choose.svg +15 -0
  58. data/cockpit/themes/presetlr/symbols/choose_exclusive.svg +15 -0
  59. data/cockpit/themes/presetlr/symbols/choose_exclusive_finish.svg +1 -0
  60. data/cockpit/themes/presetlr/symbols/choose_inclusive.svg +13 -0
  61. data/cockpit/themes/presetlr/symbols/choose_inclusive_finish.svg +1 -0
  62. data/cockpit/themes/presetlr/symbols/closed_loop.svg +1 -0
  63. data/cockpit/themes/presetlr/symbols/closed_loop_cancel.svg +1 -0
  64. data/cockpit/themes/presetlr/symbols/closed_loop_control.svg +1 -0
  65. data/cockpit/themes/presetlr/symbols/closed_loop_measuring.svg +1 -0
  66. data/cockpit/themes/presetlr/symbols/complex.svg +1 -0
  67. data/cockpit/themes/presetlr/symbols/critical.svg +1 -0
  68. data/cockpit/themes/presetlr/symbols/delete.svg +1 -0
  69. data/cockpit/themes/presetlr/symbols/end.svg +1 -0
  70. data/cockpit/themes/presetlr/symbols/escape.svg +1 -0
  71. data/cockpit/themes/presetlr/symbols/event_end.svg +1 -0
  72. data/cockpit/themes/presetlr/symbols/event_start.svg +1 -0
  73. data/cockpit/themes/presetlr/symbols/loop.svg +15 -0
  74. data/cockpit/themes/presetlr/symbols/loop_end.svg +15 -0
  75. data/cockpit/themes/presetlr/symbols/loop_end_pre.svg +15 -0
  76. data/cockpit/themes/presetlr/symbols/manipulate.svg +1 -0
  77. data/cockpit/themes/presetlr/symbols/mark.svg +1 -0
  78. data/cockpit/themes/presetlr/symbols/otherwise.svg +7 -0
  79. data/cockpit/themes/presetlr/symbols/parallel.svg +1 -0
  80. data/cockpit/themes/presetlr/symbols/parallel_branch.svg +7 -0
  81. data/cockpit/themes/presetlr/symbols/parallel_branch_event.svg +14 -0
  82. data/cockpit/themes/presetlr/symbols/parallel_branch_event_rev.svg +11 -0
  83. data/cockpit/themes/presetlr/symbols/parallel_branch_normal.svg +7 -0
  84. data/cockpit/themes/presetlr/symbols/parallel_eventbased_exclusive.svg +1 -0
  85. data/cockpit/themes/presetlr/symbols/parallel_eventbased_parallel.svg +1 -0
  86. data/cockpit/themes/presetlr/symbols/scripts.svg +1 -0
  87. data/cockpit/themes/presetlr/symbols/start.svg +1 -0
  88. data/cockpit/themes/presetlr/symbols/start_event.svg +1 -0
  89. data/cockpit/themes/presetlr/symbols/stop.svg +1 -0
  90. data/cockpit/themes/presetlr/symbols/terminate.svg +1 -0
  91. data/cockpit/themes/presetlr/symbols/wait_for_signal.svg +1 -0
  92. data/cockpit/themes/presetlr/theme.js +54 -0
  93. data/cockpit/themes/wellformed/rngs/alternative.rng +28 -0
  94. data/cockpit/themes/wellformed/rngs/call.rng +249 -0
  95. data/cockpit/themes/wellformed/rngs/callmanipulate.rng +281 -0
  96. data/cockpit/themes/wellformed/rngs/choose.rng +27 -0
  97. data/cockpit/themes/wellformed/rngs/closed_loop.rng +62 -0
  98. data/cockpit/themes/wellformed/rngs/closed_loop_cancel.rng +5 -0
  99. data/cockpit/themes/wellformed/rngs/closed_loop_control.rng +31 -0
  100. data/cockpit/themes/wellformed/rngs/closed_loop_measuring.rng +12 -0
  101. data/cockpit/themes/wellformed/rngs/critical.rng +8 -0
  102. data/cockpit/themes/wellformed/rngs/escape.rng +5 -0
  103. data/cockpit/themes/wellformed/rngs/group.rng +3 -0
  104. data/cockpit/themes/wellformed/rngs/loop.rng +40 -0
  105. data/cockpit/themes/wellformed/rngs/manipulate.rng +76 -0
  106. data/cockpit/themes/wellformed/rngs/otherwise.rng +25 -0
  107. data/cockpit/themes/wellformed/rngs/parallel.rng +24 -0
  108. data/cockpit/themes/wellformed/rngs/parallel_branch.rng +5 -0
  109. data/cockpit/themes/wellformed/rngs/scripts.rng +23 -0
  110. data/cockpit/themes/wellformed/rngs/start.rng +143 -0
  111. data/cockpit/themes/wellformed/rngs/stop.rng +5 -0
  112. data/cockpit/themes/wellformed/rngs/terminate.rng +8 -0
  113. data/cockpit/themes/wellformed/rngs/wait_for_signal.rng +8 -0
  114. data/cockpit/themes/wellformed/symbols/alternative.svg +1 -0
  115. data/cockpit/themes/wellformed/symbols/arrow.svg +1 -0
  116. data/cockpit/themes/wellformed/symbols/call.svg +1 -0
  117. data/cockpit/themes/wellformed/symbols/call_sensor.svg +1 -0
  118. data/cockpit/themes/wellformed/symbols/callmanipulate.svg +1 -0
  119. data/cockpit/themes/wellformed/symbols/callmanipulate_sensor.svg +1 -0
  120. data/cockpit/themes/wellformed/symbols/callmanipulate_sensor_signal.svg +1 -0
  121. data/cockpit/themes/wellformed/symbols/callmanipulate_signal.svg +1 -0
  122. data/cockpit/themes/wellformed/symbols/choose.svg +1 -0
  123. data/cockpit/themes/wellformed/symbols/choose_exclusive.svg +1 -0
  124. data/cockpit/themes/wellformed/symbols/choose_exclusive_finish.svg +1 -0
  125. data/cockpit/themes/wellformed/symbols/choose_inclusive.svg +1 -0
  126. data/cockpit/themes/wellformed/symbols/choose_inclusive_finish.svg +1 -0
  127. data/cockpit/themes/wellformed/symbols/closed_loop.svg +1 -0
  128. data/cockpit/themes/wellformed/symbols/closed_loop_cancel.svg +1 -0
  129. data/cockpit/themes/wellformed/symbols/closed_loop_control.svg +1 -0
  130. data/cockpit/themes/wellformed/symbols/closed_loop_measuring.svg +1 -0
  131. data/cockpit/themes/wellformed/symbols/complex.svg +1 -0
  132. data/cockpit/themes/wellformed/symbols/critical.svg +1 -0
  133. data/cockpit/themes/wellformed/symbols/delete.svg +1 -0
  134. data/cockpit/themes/wellformed/symbols/end.svg +1 -0
  135. data/cockpit/themes/wellformed/symbols/escape.svg +1 -0
  136. data/cockpit/themes/wellformed/symbols/event_end.svg +1 -0
  137. data/cockpit/themes/wellformed/symbols/event_start.svg +6 -0
  138. data/cockpit/themes/wellformed/symbols/loop.svg +1 -0
  139. data/cockpit/themes/wellformed/symbols/loop_end.svg +1 -0
  140. data/cockpit/themes/wellformed/symbols/manipulate.svg +1 -0
  141. data/cockpit/themes/wellformed/symbols/mark.svg +1 -0
  142. data/cockpit/themes/wellformed/symbols/otherwise.svg +1 -0
  143. data/cockpit/themes/wellformed/symbols/parallel.svg +1 -0
  144. data/cockpit/themes/wellformed/symbols/parallel_branch.svg +1 -0
  145. data/cockpit/themes/wellformed/symbols/parallel_branch_event.svg +1 -0
  146. data/cockpit/themes/wellformed/symbols/parallel_branch_event_rev.svg +11 -0
  147. data/cockpit/themes/wellformed/symbols/parallel_branch_normal.svg +1 -0
  148. data/cockpit/themes/wellformed/symbols/parallel_eventbased_exclusive.svg +1 -0
  149. data/cockpit/themes/wellformed/symbols/parallel_eventbased_parallel.svg +1 -0
  150. data/cockpit/themes/wellformed/symbols/scripts.svg +1 -0
  151. data/cockpit/themes/wellformed/symbols/start.svg +1 -0
  152. data/cockpit/themes/wellformed/symbols/start_event.svg +1 -0
  153. data/cockpit/themes/wellformed/symbols/stop.svg +1 -0
  154. data/cockpit/themes/wellformed/symbols/terminate.svg +1 -0
  155. data/cockpit/themes/wellformed/symbols/wait_for_signal.svg +1 -0
  156. data/cockpit/themes/wellformed/theme.js +32 -0
  157. data/cockpit/track.html +8 -8
  158. data/cpee.gemspec +2 -2
  159. data/lib/callbacks/callbacks.rng +4 -4
  160. data/lib/callbacks.xml +4 -4
  161. data/lib/cpee/constants.rb +4 -4
  162. data/lib/cpee/fail.rb +4 -4
  163. data/lib/cpee/implementation.rb +5 -4
  164. data/lib/cpee/implementation_callbacks.rb +4 -4
  165. data/lib/cpee/implementation_notifications.rb +4 -4
  166. data/lib/cpee/implementation_properties.rb +108 -12
  167. data/lib/cpee/message.rb +4 -4
  168. data/lib/cpee/persistence.rb +6 -4
  169. data/lib/cpee/redis.rb +4 -4
  170. data/lib/cpee/statemachine.rb +4 -4
  171. data/lib/cpee/value_helper.rb +4 -4
  172. data/lib/cpee.xml +4 -4
  173. data/lib/engine/executionhandler-list.rng +4 -4
  174. data/lib/engine/instance-info.rng +4 -4
  175. data/lib/engine/instances.rng +4 -4
  176. data/lib/engine.xml +4 -4
  177. data/lib/properties/t_dslx.rng +346 -0
  178. data/lib/properties/transformation.rng +14 -0
  179. data/lib/properties.xml +5 -4
  180. data/server/executionhandlers/eval/backend/opts.yaml +1 -1
  181. data/server/executionhandlers/eval/connection.rb +4 -4
  182. data/server/executionhandlers/eval/execution.rb +4 -4
  183. data/server/executionhandlers/ruby/backend/opts.yaml +1 -1
  184. data/server/executionhandlers/ruby/connection.rb +5 -6
  185. data/server/executionhandlers/ruby/controller.rb +4 -4
  186. data/server/executionhandlers/ruby/dsl_to_dslx.xsl +6 -2
  187. data/server/executionhandlers/ruby/execution.rb +4 -4
  188. data/server/resources/properties.empty +5 -4
  189. data/server/resources/properties.init +5 -4
  190. data/server/resources/topics.xml +4 -4
  191. data/server/routing/end.pid +1 -1
  192. data/server/routing/end.rb +4 -4
  193. data/server/routing/forward-events-00.pid +1 -1
  194. data/server/routing/forward-events.rb +4 -4
  195. data/server/routing/forward-votes.pid +1 -1
  196. data/server/routing/forward-votes.rb +4 -4
  197. data/server/routing/persist.pid +1 -1
  198. data/server/routing/persist.rb +6 -4
  199. data/tools/server/cpee +1 -1
  200. data/tools/server/resources/properties.init +4 -4
  201. metadata +136 -5
  202. data/cockpit/CPEE.xml +0 -8
  203. data/cockpit/Signavio.xml +0 -8
  204. data/cockpit/transformations.xml +0 -4
  205. /data/{COPYING → LICENSE} +0 -0
data/cockpit/llm.html CHANGED
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
@@ -28,7 +28,7 @@
28
28
  <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
29
29
  <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
30
30
  <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
31
- <script type="text/javascript" src="/js_libs/util.js"></script>
31
+ <script type="text/javascript" src="/js_libs/uidash_util.js"></script>
32
32
  <script type="text/javascript" src="/js_libs/printf.js"></script>
33
33
  <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
34
34
  <script type="text/javascript" src="/js_libs/parsequery.js"></script>
@@ -39,11 +39,11 @@
39
39
  <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
40
40
 
41
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
+ <script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
43
43
 
44
- <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
44
+ <script type="text/javascript" src="js/build-bpmn2.js"></script>
45
45
 
46
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
46
+ <link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
47
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
48
48
 
49
49
  <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
@@ -61,7 +61,10 @@
61
61
  <script type="text/javascript" src="js/modifiers.js"></script>
62
62
  <script type="text/javascript" src="themes/base.js"></script>
63
63
 
64
+ <script type="text/javascript" src="js/llm-ui.js"></script>
65
+ <script type="text/javascript" src="js/llm-ui-status.js"></script>
64
66
  <script type="text/javascript" src="js/llm.js"></script>
67
+
65
68
  <link rel="stylesheet" href="css/llm.css" type="text/css"/>
66
69
 
67
70
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
@@ -70,7 +73,7 @@
70
73
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
71
74
  <style></style>
72
75
  </head>
73
- <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
76
+ <body data-base-port="9298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
74
77
  <div id='disclaimer' class='hidden'> <!--{{{-->
75
78
  <h1>Disclaimer</h1>
76
79
 
@@ -123,7 +126,6 @@
123
126
  <div class='hidden' id='relaxngworker'></div>
124
127
 
125
128
  <div class='menu' id='templates'></div>
126
- <div class='menu' id='modeltypes'></div>
127
129
 
128
130
  <template id="label">
129
131
  <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
@@ -172,7 +174,7 @@
172
174
  <form id='fuckchrome'>
173
175
  <input type='file' name='testsetfile' id='testsetfile'/>
174
176
  </form>
175
- <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
177
+ <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load<br>template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load<br>testset</button>
176
178
  </div>
177
179
  <div>
178
180
  <input type='file' name='modelfile' id='modelfile'/>
@@ -186,8 +188,8 @@
186
188
  <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
187
189
  </div>
188
190
  <div>
189
- <a id="savebpmnfile" href="" download=""></a>
190
- <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
191
+ <a id="savemodelfile" href="" download=""></a>
192
+ <button title='the model in the format of the current model type (e.g. CPEE, BPMN, Mermaid)' name="savemodelfile">save model</button>
191
193
  </div>
192
194
  </div><div class='section' id='modifiers'>
193
195
  <template id="item">
@@ -294,8 +296,8 @@
294
296
  <button id='prompt_prop_button' title="Properties" class="llm_button small"><i class="uidash-icon uidash-icon-properties"></i></button>
295
297
  <select name="llms" id="llms" class='active hidden'>
296
298
  <option value="gemini-3.1-flash-lite" selected="selected">gemini 3.1 Flash Lite</option>
297
- <option value="gemini-3.1-flash">gemini 3.1 Flash</option>
298
- <option value="gemini-3.1-pro">gemini 3.1 Pro</option>
299
+ <option value="gemini-3.6-flash">gemini 3.6 Flash</option>
300
+ <option value="gemini-3.1-pro-preview">gemini 3.1 Pro</option>
299
301
  <option value="gpt-4o">gpt 4o</option>
300
302
  <option value="gpt-4o-mini">gpt 4o mini</option>
301
303
  <option value="gpt-5.4-nano-2026-03-17">gpt 5.4 nano</option>
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
@@ -28,7 +28,7 @@
28
28
  <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
29
29
  <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
30
30
  <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
31
- <script type="text/javascript" src="/js_libs/util.js"></script>
31
+ <script type="text/javascript" src="/js_libs/uidash_util.js"></script>
32
32
  <script type="text/javascript" src="/js_libs/printf.js"></script>
33
33
  <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
34
34
  <script type="text/javascript" src="/js_libs/parsequery.js"></script>
@@ -39,11 +39,11 @@
39
39
  <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
40
40
 
41
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
+ <script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
43
43
 
44
- <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
44
+ <script type="text/javascript" src="js/build-bpmn2.js"></script>
45
45
 
46
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
46
+ <link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
47
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
48
48
 
49
49
  <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
@@ -67,17 +67,18 @@
67
67
  <link rel="stylesheet" href="css/extended_columns-svg.css" type="text/css" data-include-export="true"/>
68
68
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
69
69
 
70
+ <script type="text/javascript" src="js/llm-ui.js"></script>
71
+ <script type="text/javascript" src="js/llm-ui-bubble.js"></script>
70
72
  <script type="text/javascript" src="js/llm.js"></script>
71
- <link rel="stylesheet" href="css/llm.css" type="text/css"/>
73
+
72
74
  <link rel="stylesheet" href="css/llmmodel.css" type="text/css"/>
73
75
 
74
76
  <style></style>
75
77
  </head>
76
- <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
78
+ <body data-base-port="9298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
77
79
  <div class='hidden' id='relaxngworker'></div>
78
80
 
79
81
  <div class='menu' id='templates'></div>
80
- <div class='menu' id='modeltypes'></div>
81
82
 
82
83
  <template id="label">
83
84
  <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
@@ -124,7 +125,7 @@
124
125
  <input type='file' name='testsetfile' id='testsetfile'/>
125
126
  </form>
126
127
  <button title='save a testset includes various settings, subscriptions and a model' name="save" disabled=""><div>save</div><div class="hidden" id='lastsavedline'>(last: <span id="lastsaved"></span>)</div></button>
127
- <button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
128
+ <button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load<br>testset</button>
128
129
  </div>
129
130
  <div>
130
131
  <input type='file' name='modelfile' id='modelfile'/>
@@ -138,8 +139,8 @@
138
139
  <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
139
140
  </div>
140
141
  <div>
141
- <a id="savebpmnfile" href="" download=""></a>
142
- <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
142
+ <a id="savemodelfile" href="" download=""></a>
143
+ <button title='the model in the format of the current model type (e.g. CPEE, BPMN, Mermaid)' name="savemodelfile">save model</button>
143
144
  </div>
144
145
  </div><div class='section' id='modifiers'>
145
146
  <template id="item">
@@ -181,7 +182,7 @@
181
182
  <ui-part id='details'>
182
183
  <div id="dat_details" class='x-ui-layout'></div>
183
184
  </ui-part>
184
- <ui-resizehandle class='hidden'>drag to resize</ui-resizehandle>
185
+ <ui-resizehandle class='overlay hidden'><span>drag to resize</span></ui-resizehandle>
185
186
  <ui-part id='input'>
186
187
  <div id='status'></div>
187
188
  <div id='prompt_container'>
@@ -201,8 +202,8 @@
201
202
  <button id='prompt_prop_button' title="Properties" class="llm_button small"><i class="uidash-icon uidash-icon-properties"></i></button>
202
203
  <select name="llms" id="llms" class='active hidden'>
203
204
  <option value="gemini-3.1-flash-lite" selected="selected">gemini 3.1 Flash Lite</option>
204
- <option value="gemini-3.1-flash">gemini 3.1 Flash</option>
205
- <option value="gemini-3.1-pro">gemini 3.1 Pro</option>
205
+ <option value="gemini-3.5-flash">gemini 3.5 Flash</option>
206
+ <option value="gemini-3.1-pro-preview">gemini 3.1 Pro</option>
206
207
  </select>
207
208
  </div>
208
209
  </div>
data/cockpit/model.html CHANGED
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
@@ -28,7 +28,7 @@
28
28
  <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
29
29
  <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
30
30
  <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
31
- <script type="text/javascript" src="/js_libs/util.js"></script>
31
+ <script type="text/javascript" src="/js_libs/uidash_util.js"></script>
32
32
  <script type="text/javascript" src="/js_libs/printf.js"></script>
33
33
  <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
34
34
  <script type="text/javascript" src="/js_libs/parsequery.js"></script>
@@ -39,11 +39,11 @@
39
39
  <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
40
40
 
41
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
+ <script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
43
43
 
44
- <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
44
+ <script type="text/javascript" src="js/build-bpmn2.js"></script>
45
45
 
46
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
46
+ <link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
47
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
48
48
 
49
49
  <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
@@ -69,7 +69,7 @@
69
69
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
70
70
  <style></style>
71
71
  </head>
72
- <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
72
+ <body data-base-port="9298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
73
73
  <div id='disclaimer' class='hidden'> <!--{{{-->
74
74
  <h1>Disclaimer</h1>
75
75
 
@@ -2,15 +2,15 @@
2
2
  This file is part of CPEE.
3
3
 
4
4
  CPEE is free software: you can redistribute it and/or modify it under the terms
5
- of the GNU General Public License as published by the Free Software Foundation,
5
+ of the GNU Lesser General Public License as published by the Free Software Foundation,
6
6
  either version 3 of the License, or (at your option) any later version.
7
7
 
8
8
  CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
9
9
  WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
10
- PARTICULAR PURPOSE. See the GNU General Public License for more details.
10
+ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
11
11
 
12
- You should have received a copy of the GNU General Public License along with
13
- CPEE (file COPYING in the main directory). If not, see
12
+ You should have received a copy of the GNU Lesser General Public License along with
13
+ CPEE (file LICENSE in the main directory). If not, see
14
14
  <http://www.gnu.org/licenses/>.
15
15
  -->
16
16
 
@@ -28,7 +28,7 @@
28
28
  <script type="text/javascript" src="/js_libs/jquery.svg.min.js"></script>
29
29
  <script type="text/javascript" src="/js_libs/jquery.svgdom.min.js"></script>
30
30
  <script type="text/javascript" src="/js_libs/vkbeautify.js"></script>
31
- <script type="text/javascript" src="/js_libs/util.js"></script>
31
+ <script type="text/javascript" src="/js_libs/uidash_util.js"></script>
32
32
  <script type="text/javascript" src="/js_libs/printf.js"></script>
33
33
  <script type="text/javascript" src="/js_libs/strftime.min.js"></script>
34
34
  <script type="text/javascript" src="/js_libs/parsequery.js"></script>
@@ -39,11 +39,11 @@
39
39
  <script type="text/javascript" src="/js_libs/relaxngui.js"></script>
40
40
 
41
41
  <script type="text/javascript" src="/js_libs/uidash.js"></script>
42
- <script type="text/javascript" src="/js_libs/custommenu.js"></script>
42
+ <script type="text/javascript" src="/js_libs/uidash_custommenu.js"></script>
43
43
 
44
- <script type="text/javascript" src="/js_libs/build-bpmn.js"></script>
44
+ <script type="text/javascript" src="js/build-bpmn2.js"></script>
45
45
 
46
- <link rel="stylesheet" href="/js_libs/custommenu.css" type="text/css"/>
46
+ <link rel="stylesheet" href="/js_libs/uidash_custommenu.css" type="text/css"/>
47
47
  <link rel="stylesheet" href="/js_libs/uidash.css" type="text/css"/>
48
48
 
49
49
  <link rel="stylesheet" href="/js_libs/relaxngui.css" type="text/css"/>
@@ -61,7 +61,10 @@
61
61
  <script type="text/javascript" src="js/modifiers.js"></script>
62
62
  <script type="text/javascript" src="themes/base.js"></script>
63
63
 
64
+ <script type="text/javascript" src="js/llm-ui.js"></script>
65
+ <script type="text/javascript" src="js/llm-ui-status.js"></script>
64
66
  <script type="text/javascript" src="js/llm.js"></script>
67
+
65
68
  <link rel="stylesheet" href="css/llm.css" type="text/css"/>
66
69
 
67
70
  <link rel="stylesheet" href="css/ui.css" type="text/css"/>
@@ -70,7 +73,7 @@
70
73
  <link rel="stylesheet" href="/global_ui/uicpee.css" type="text/css"/>
71
74
  <style></style>
72
75
  </head>
73
- <body data-base-port="8298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
76
+ <body data-base-port="9298" data-base-engine="engine/" data-base-themes="themes" is="x-ui-">
74
77
  <div id='disclaimer' class='hidden'> <!--{{{-->
75
78
  <h1>Disclaimer</h1>
76
79
 
@@ -123,7 +126,6 @@
123
126
  <div class='hidden' id='relaxngworker'></div>
124
127
 
125
128
  <div class='menu' id='templates'></div>
126
- <div class='menu' id='modeltypes'></div>
127
129
 
128
130
  <template id="label">
129
131
  <svg width="20" height="20" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: 0; left: 0;" class="displaylabel">
@@ -171,7 +173,7 @@
171
173
  <form id='fuckchrome'>
172
174
  <input type='file' name='testsetfile' id='testsetfile'/>
173
175
  </form>
174
- <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load testset</button>
176
+ <button title='a template includes various settings, subscriptions or a (partial) model' name="loadtestset">load<br>template</button><button title='a testset includes various settings, subscriptions or a model' name="loadtestsetfile">load<br>testset</button>
175
177
  </div>
176
178
  <div>
177
179
  <input type='file' name='modelfile' id='modelfile'/>
@@ -185,8 +187,8 @@
185
187
  <button title='the SVG contains the graphical repesentation of the CPEE tree as you see it on the screen' name="savesvgfile">save svg<br>graph</button>
186
188
  </div>
187
189
  <div>
188
- <a id="savebpmnfile" href="" download=""></a>
189
- <button title='the BPMN includes a graphical representation that can be loaded in Signavio and Camundal' name="savebpmnfile">save BPMN</button>
190
+ <a id="savemodelfile" href="" download=""></a>
191
+ <button title='the model in the format of the current model type (e.g. CPEE, BPMN, Mermaid)' name="savemodelfile">save model</button>
190
192
  </div>
191
193
  </div><div class='section' id='modifiers'>
192
194
  <template id="item">
@@ -15,7 +15,6 @@ function WFAdaptorManifestationBase(adaptor) {
15
15
  this.source = function(base,opts) {
16
16
  if (base[0].namespaceURI == "http://relaxng.org/ns/structure/1.0") {
17
17
  $('#relaxngworker').empty();
18
- self.adaptor.description.reset_used_id_list();
19
18
  var rngw = new RelaxNGui(base,$('#relaxngworker'),self.adaptor.description.context_eval);
20
19
  var nnew = $(rngw.save().documentElement);
21
20
  return(nnew);
@@ -1669,6 +1668,7 @@ function WFAdaptorManifestationBase(adaptor) {
1669
1668
  'border': 'visual',
1670
1669
  'wide': true,
1671
1670
  'closing_symbol': 'event_end',
1671
+ 'implied': { 'type': 'event_start', 'x': 1 }, // the icon also draws the start circle, one cell to the right
1672
1672
  'svg': self.adaptor.theme_dir + 'symbols/parallel_branch_event.svg'
1673
1673
  }//}}}
1674
1674
  }; /*}}}*/
@@ -6,6 +6,9 @@ WFAdaptorManifestation = class extends WFAdaptorManifestationBase {
6
6
  delete(this.elements.choose.illustrator.closing_symbol);
7
7
  this.elements.alternative.illustrator.noindent = true;
8
8
  this.elements.parallel_branch.illustrator.noindent = true;
9
+ this.elements.parallel.illustrator.col_shift = function(node) {
10
+ return $(node).children(':not(parallel_branch)').length == 0; // vertical (event based) parallels do not indent
11
+ };
9
12
  this.elements.loop_head.illustrator.rotatelabels = false;
10
13
  this.elements.loop_tail.illustrator.rotatelabels = false;
11
14
  this.elements.loop_finish.illustrator.rotatelabels = false;
@@ -0,0 +1,28 @@
1
+ <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="alternative" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
+ <attribute name="eid" rngui:label="ID" rngui:default="javascript:get_free_id('e','eid')">
3
+ <data type="string" rngui:readonly="true"/>
4
+ </attribute>
5
+ <attribute name="condition" rngui:label="Condition">
6
+ <data type="string" rngui:label="Condition"/>
7
+ </attribute>
8
+ <element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
9
+ <element name="_probability_min" rngui:label="Min in %">
10
+ <data type="integer" rngui:label="Percent 0-100">
11
+ <param name="minInclusive">1</param>
12
+ <param name="maxInclusive">100</param>
13
+ </data>
14
+ </element>
15
+ <element name="_probability_max" rngui:label="Max in %">
16
+ <data type="integer" rngui:label="Percent 0-100">
17
+ <param name="minInclusive">1</param>
18
+ <param name="maxInclusive">100</param>
19
+ </data>
20
+ </element>
21
+ <element name="_probability_avg" rngui:label="Avg in %">
22
+ <data type="integer" rngui:label="Percent 0-100">
23
+ <param name="minInclusive">1</param>
24
+ <param name="maxInclusive">100</param>
25
+ </data>
26
+ </element>
27
+ </element>
28
+ </element>