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.
- checksums.yaml +4 -4
- data/cockpit/css/{resources-label.css → extended_columns-label.css} +4 -0
- data/cockpit/css/ui.css +6 -5
- data/cockpit/css/wfadaptor.css +27 -105
- data/cockpit/david.html +292 -0
- data/cockpit/edit.html +16 -7
- data/cockpit/graph.html +3 -3
- data/cockpit/index.html +15 -7
- data/cockpit/js/details.js +7 -0
- data/cockpit/js/extended_columns.js +233 -0
- data/cockpit/js/instance.js +45 -167
- data/cockpit/js/wfadaptor.js +138 -94
- data/cockpit/llm.html +3 -3
- data/cockpit/llm_alternative.html +3 -3
- data/cockpit/model.html +2 -2
- data/cockpit/only_llm.html +19 -12
- data/cockpit/templates/Coopis 2010.xml +11 -4
- data/cockpit/templates/Frames.xml +210 -55
- data/cockpit/templates/Track Test.xml +1 -1
- data/cockpit/themes/base.js +16 -13
- data/cockpit/themes/control/rngs/call.rng +9 -0
- data/cockpit/themes/control/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/control/rngs/loop.rng +7 -0
- data/cockpit/themes/control/rngs/manipulate.rng +8 -0
- data/cockpit/themes/control/rngs/start.rng +1 -0
- data/cockpit/themes/control/symbols/arrow.svg +1 -1
- data/cockpit/themes/control/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/control/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/control/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/control/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/control/symbols/critical.svg +3 -2
- data/cockpit/themes/control/symbols/delete.svg +2 -2
- data/cockpit/themes/control/symbols/end.svg +1 -1
- data/cockpit/themes/control/symbols/manipulate.svg +2 -2
- data/cockpit/themes/control/symbols/parallel.svg +2 -1
- data/cockpit/themes/control/symbols/scripts.svg +1 -1
- data/cockpit/themes/dataflow/rngs/call.rng +9 -0
- data/cockpit/themes/dataflow/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/dataflow/rngs/loop.rng +7 -0
- data/cockpit/themes/dataflow/rngs/manipulate.rng +8 -0
- data/cockpit/themes/dataflow/rngs/start.rng +1 -0
- data/cockpit/themes/dataflow/symbols/arrow.svg +1 -1
- data/cockpit/themes/dataflow/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/dataflow/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/dataflow/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/dataflow/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/dataflow/symbols/critical.svg +3 -2
- data/cockpit/themes/dataflow/symbols/delete.svg +2 -2
- data/cockpit/themes/dataflow/symbols/end.svg +1 -1
- data/cockpit/themes/dataflow/symbols/manipulate.svg +2 -2
- data/cockpit/themes/dataflow/symbols/parallel.svg +2 -1
- data/cockpit/themes/dataflow/symbols/scripts.svg +1 -1
- data/cockpit/themes/dataflow/theme.js +8 -8
- data/cockpit/themes/default/rngs/call.rng +9 -0
- data/cockpit/themes/default/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/default/rngs/loop.rng +7 -0
- data/cockpit/themes/default/rngs/manipulate.rng +8 -0
- data/cockpit/themes/default/rngs/start.rng +1 -0
- data/cockpit/themes/default/symbols/arrow.svg +1 -1
- data/cockpit/themes/default/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/default/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/default/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/default/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/default/symbols/critical.svg +3 -2
- data/cockpit/themes/default/symbols/delete.svg +2 -2
- data/cockpit/themes/default/symbols/end.svg +1 -1
- data/cockpit/themes/default/symbols/manipulate.svg +2 -2
- data/cockpit/themes/default/symbols/parallel.svg +2 -1
- data/cockpit/themes/default/symbols/scripts.svg +1 -1
- data/cockpit/themes/extended/rngs/call.rng +9 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/extended/rngs/loop.rng +7 -0
- data/cockpit/themes/extended/rngs/manipulate.rng +8 -0
- data/cockpit/themes/extended/rngs/start.rng +1 -0
- data/cockpit/themes/extended/symbols/arrow.svg +1 -1
- data/cockpit/themes/extended/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/extended/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/extended/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/extended/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/extended/symbols/critical.svg +3 -2
- data/cockpit/themes/extended/symbols/delete.svg +2 -2
- data/cockpit/themes/extended/symbols/end.svg +1 -1
- data/cockpit/themes/extended/symbols/manipulate.svg +2 -2
- data/cockpit/themes/extended/symbols/parallel.svg +2 -1
- data/cockpit/themes/extended/symbols/scripts.svg +1 -1
- data/cockpit/themes/felix/symbols/arrow.svg +1 -1
- data/cockpit/themes/felix/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/felix/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/felix/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/felix/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/felix/symbols/critical.svg +3 -2
- data/cockpit/themes/felix/symbols/delete.svg +2 -2
- data/cockpit/themes/felix/symbols/end.svg +1 -1
- data/cockpit/themes/felix/symbols/manipulate.svg +2 -2
- data/cockpit/themes/felix/symbols/parallel.svg +2 -1
- data/cockpit/themes/felix/symbols/scripts.svg +1 -1
- data/cockpit/themes/model/symbols/arrow.svg +1 -1
- data/cockpit/themes/model/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/model/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/model/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/model/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/model/symbols/critical.svg +3 -2
- data/cockpit/themes/model/symbols/delete.svg +2 -2
- data/cockpit/themes/model/symbols/end.svg +1 -1
- data/cockpit/themes/model/symbols/manipulate.svg +2 -2
- data/cockpit/themes/model/symbols/parallel.svg +2 -1
- data/cockpit/themes/model/symbols/scripts.svg +1 -1
- data/cockpit/themes/packed/rngs/call.rng +9 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/packed/rngs/loop.rng +7 -0
- data/cockpit/themes/packed/rngs/manipulate.rng +8 -0
- data/cockpit/themes/packed/rngs/start.rng +1 -0
- data/cockpit/themes/packed/symbols/arrow.svg +1 -1
- data/cockpit/themes/packed/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/packed/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/packed/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/packed/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/packed/symbols/critical.svg +3 -2
- data/cockpit/themes/packed/symbols/delete.svg +2 -2
- data/cockpit/themes/packed/symbols/end.svg +1 -1
- data/cockpit/themes/packed/symbols/manipulate.svg +2 -2
- data/cockpit/themes/packed/symbols/parallel.svg +2 -1
- data/cockpit/themes/packed/symbols/scripts.svg +1 -1
- data/cockpit/themes/preset/rngs/call.rng +9 -0
- data/cockpit/themes/preset/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/preset/rngs/loop.rng +7 -0
- data/cockpit/themes/preset/rngs/manipulate.rng +8 -0
- data/cockpit/themes/preset/rngs/start.rng +1 -0
- data/cockpit/themes/preset/symbols/arrow.svg +1 -1
- data/cockpit/themes/preset/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/preset/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/preset/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/preset/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/preset/symbols/critical.svg +3 -2
- data/cockpit/themes/preset/symbols/delete.svg +2 -2
- data/cockpit/themes/preset/symbols/end.svg +1 -1
- data/cockpit/themes/preset/symbols/manipulate.svg +2 -2
- data/cockpit/themes/preset/symbols/parallel.svg +2 -1
- data/cockpit/themes/preset/symbols/scripts.svg +1 -1
- data/cockpit/themes/presetaltid/rngs/alternative.rng +25 -0
- data/cockpit/themes/presetaltid/rngs/call.rng +251 -0
- data/cockpit/themes/presetaltid/rngs/callmanipulate.rng +283 -0
- data/cockpit/themes/presetaltid/rngs/choose.rng +17 -0
- data/cockpit/themes/presetaltid/rngs/closed_loop.rng +62 -0
- data/cockpit/themes/presetaltid/rngs/closed_loop_cancel.rng +5 -0
- data/cockpit/themes/presetaltid/rngs/closed_loop_control.rng +31 -0
- data/cockpit/themes/presetaltid/rngs/closed_loop_measuring.rng +12 -0
- data/cockpit/themes/presetaltid/rngs/critical.rng +5 -0
- data/cockpit/themes/presetaltid/rngs/escape.rng +1 -0
- data/cockpit/themes/presetaltid/rngs/group.rng +3 -0
- data/cockpit/themes/presetaltid/rngs/loop.rng +29 -0
- data/cockpit/themes/presetaltid/rngs/manipulate.rng +30 -0
- data/cockpit/themes/presetaltid/rngs/otherwise.rng +22 -0
- data/cockpit/themes/presetaltid/rngs/parallel.rng +27 -0
- data/cockpit/themes/presetaltid/rngs/parallel_branch.rng +2 -0
- data/cockpit/themes/presetaltid/rngs/scripts.rng +23 -0
- data/cockpit/themes/presetaltid/rngs/start.rng +145 -0
- data/cockpit/themes/presetaltid/rngs/stop.rng +5 -0
- data/cockpit/themes/presetaltid/rngs/terminate.rng +1 -0
- data/cockpit/themes/presetaltid/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/presetaltid/symbols/alternative.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/arrow.svg +3 -0
- data/cockpit/themes/presetaltid/symbols/call.svg +19 -0
- data/cockpit/themes/presetaltid/symbols/call_sensor.svg +23 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate.svg +23 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor.svg +26 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/presetaltid/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/presetaltid/symbols/choose.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/choose_exclusive.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/choose_inclusive.svg +13 -0
- data/cockpit/themes/presetaltid/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/presetaltid/symbols/closed_loop.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/closed_loop_cancel.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/closed_loop_control.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/closed_loop_measuring.svg +6 -0
- data/cockpit/themes/presetaltid/symbols/complex.svg +8 -0
- data/cockpit/themes/presetaltid/symbols/critical.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/delete.svg +4 -0
- data/cockpit/themes/presetaltid/symbols/end.svg +3 -0
- data/cockpit/themes/presetaltid/symbols/escape.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/event_end.svg +3 -0
- data/cockpit/themes/presetaltid/symbols/loop.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/loop_end.svg +15 -0
- data/cockpit/themes/presetaltid/symbols/manipulate.svg +19 -0
- data/cockpit/themes/presetaltid/symbols/otherwise.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/parallel.svg +6 -0
- data/cockpit/themes/presetaltid/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/presetaltid/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/presetaltid/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/presetaltid/symbols/scripts.svg +4 -0
- data/cockpit/themes/presetaltid/symbols/start.svg +3 -0
- data/cockpit/themes/presetaltid/symbols/start_event.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/stop.svg +5 -0
- data/cockpit/themes/presetaltid/symbols/terminate.svg +4 -0
- data/cockpit/themes/presetaltid/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/presetaltid/theme.js +16 -0
- data/cockpit/themes/presetid/rngs/alternative.rng +25 -0
- data/cockpit/themes/presetid/rngs/call.rng +251 -0
- data/cockpit/themes/presetid/rngs/callmanipulate.rng +283 -0
- data/cockpit/themes/presetid/rngs/choose.rng +17 -0
- data/cockpit/themes/presetid/rngs/closed_loop.rng +62 -0
- data/cockpit/themes/presetid/rngs/closed_loop_cancel.rng +5 -0
- data/cockpit/themes/presetid/rngs/closed_loop_control.rng +31 -0
- data/cockpit/themes/presetid/rngs/closed_loop_measuring.rng +12 -0
- data/cockpit/themes/presetid/rngs/critical.rng +5 -0
- data/cockpit/themes/presetid/rngs/escape.rng +1 -0
- data/cockpit/themes/presetid/rngs/group.rng +3 -0
- data/cockpit/themes/presetid/rngs/loop.rng +29 -0
- data/cockpit/themes/presetid/rngs/manipulate.rng +30 -0
- data/cockpit/themes/presetid/rngs/otherwise.rng +22 -0
- data/cockpit/themes/presetid/rngs/parallel.rng +27 -0
- data/cockpit/themes/presetid/rngs/parallel_branch.rng +2 -0
- data/cockpit/themes/presetid/rngs/scripts.rng +23 -0
- data/cockpit/themes/presetid/rngs/start.rng +145 -0
- data/cockpit/themes/presetid/rngs/stop.rng +5 -0
- data/cockpit/themes/presetid/rngs/terminate.rng +1 -0
- data/cockpit/themes/presetid/rngs/wait_for_signal.rng +8 -0
- data/cockpit/themes/presetid/symbols/alternative.svg +15 -0
- data/cockpit/themes/presetid/symbols/arrow.svg +3 -0
- data/cockpit/themes/presetid/symbols/call.svg +19 -0
- data/cockpit/themes/presetid/symbols/call_sensor.svg +23 -0
- data/cockpit/themes/presetid/symbols/callmanipulate.svg +23 -0
- data/cockpit/themes/presetid/symbols/callmanipulate_sensor.svg +26 -0
- data/cockpit/themes/presetid/symbols/callmanipulate_sensor_signal.svg +32 -0
- data/cockpit/themes/presetid/symbols/callmanipulate_signal.svg +29 -0
- data/cockpit/themes/presetid/symbols/choose.svg +15 -0
- data/cockpit/themes/presetid/symbols/choose_exclusive.svg +15 -0
- data/cockpit/themes/presetid/symbols/choose_exclusive_finish.svg +5 -0
- data/cockpit/themes/presetid/symbols/choose_inclusive.svg +13 -0
- data/cockpit/themes/presetid/symbols/choose_inclusive_finish.svg +4 -0
- data/cockpit/themes/presetid/symbols/closed_loop.svg +5 -0
- data/cockpit/themes/presetid/symbols/closed_loop_cancel.svg +5 -0
- data/cockpit/themes/presetid/symbols/closed_loop_control.svg +5 -0
- data/cockpit/themes/presetid/symbols/closed_loop_measuring.svg +6 -0
- data/cockpit/themes/presetid/symbols/complex.svg +8 -0
- data/cockpit/themes/presetid/symbols/critical.svg +5 -0
- data/cockpit/themes/presetid/symbols/delete.svg +4 -0
- data/cockpit/themes/presetid/symbols/end.svg +3 -0
- data/cockpit/themes/presetid/symbols/escape.svg +5 -0
- data/cockpit/themes/presetid/symbols/event_end.svg +3 -0
- data/cockpit/themes/presetid/symbols/loop.svg +15 -0
- data/cockpit/themes/presetid/symbols/loop_end.svg +15 -0
- data/cockpit/themes/presetid/symbols/manipulate.svg +19 -0
- data/cockpit/themes/presetid/symbols/otherwise.svg +5 -0
- data/cockpit/themes/presetid/symbols/parallel.svg +6 -0
- data/cockpit/themes/presetid/symbols/parallel_branch.svg +5 -0
- data/cockpit/themes/presetid/symbols/parallel_branch_event.svg +14 -0
- data/cockpit/themes/presetid/symbols/parallel_branch_normal.svg +5 -0
- data/cockpit/themes/presetid/symbols/parallel_eventbased_exclusive.svg +9 -0
- data/cockpit/themes/presetid/symbols/parallel_eventbased_parallel.svg +8 -0
- data/cockpit/themes/presetid/symbols/scripts.svg +4 -0
- data/cockpit/themes/presetid/symbols/start.svg +3 -0
- data/cockpit/themes/presetid/symbols/start_event.svg +5 -0
- data/cockpit/themes/presetid/symbols/stop.svg +5 -0
- data/cockpit/themes/presetid/symbols/terminate.svg +4 -0
- data/cockpit/themes/presetid/symbols/wait_for_signal.svg +21 -0
- data/cockpit/themes/presetid/theme.js +16 -0
- data/cockpit/themes/reduced/rngs/call.rng +9 -0
- data/cockpit/themes/reduced/rngs/callmanipulate.rng +10 -1
- data/cockpit/themes/reduced/rngs/loop.rng +7 -0
- data/cockpit/themes/reduced/rngs/manipulate.rng +8 -0
- data/cockpit/themes/reduced/rngs/start.rng +1 -0
- data/cockpit/themes/reduced/symbols/arrow.svg +1 -1
- data/cockpit/themes/reduced/symbols/callmanipulate.svg +1 -1
- data/cockpit/themes/reduced/symbols/callmanipulate_sensor.svg +2 -1
- data/cockpit/themes/reduced/symbols/callmanipulate_sensor_signal.svg +1 -1
- data/cockpit/themes/reduced/symbols/callmanipulate_signal.svg +1 -1
- data/cockpit/themes/reduced/symbols/critical.svg +3 -2
- data/cockpit/themes/reduced/symbols/delete.svg +2 -2
- data/cockpit/themes/reduced/symbols/end.svg +1 -1
- data/cockpit/themes/reduced/symbols/manipulate.svg +2 -2
- data/cockpit/themes/reduced/symbols/parallel.svg +2 -1
- data/cockpit/themes/reduced/symbols/scripts.svg +1 -1
- data/cockpit/track.html +3 -3
- data/cpee.gemspec +1 -1
- data/lib/cpee/implementation.rb +25 -38
- data/server/executionhandlers/ruby/connection.rb +11 -3
- data/server/routing/end.pid +1 -1
- data/server/routing/forward-events-00.pid +1 -1
- data/server/routing/forward-events-01.pid +1 -0
- data/server/routing/forward-events-02.pid +1 -0
- data/server/routing/forward-events-03.pid +1 -0
- data/server/routing/forward-events-04.pid +1 -0
- data/server/routing/forward-events-05.pid +1 -0
- data/server/routing/forward-events-06.pid +1 -0
- data/server/routing/forward-votes.pid +1 -1
- data/server/routing/persist.pid +1 -1
- metadata +133 -6
- data/cockpit/js/resources.js +0 -64
- data/server/executionhandlers/ruby/ShiftingTestSimple.xml +0 -100
- data/server/server.pid +0 -1
- /data/cockpit/css/{resources-svg.css → extended_columns-svg.css} +0 -0
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
<receive>https-get://cpee.org/ing/correlators/message/receive/</receive>
|
|
23
23
|
</endpoints>
|
|
24
24
|
<attributes>
|
|
25
|
+
<guarded>none</guarded>
|
|
26
|
+
<modeltype>CPEE</modeltype>
|
|
25
27
|
<theme>extended</theme>
|
|
28
|
+
<guarded_id/>
|
|
26
29
|
<info>Coopis 2010</info>
|
|
27
30
|
<creator>Christine Ashcreek</creator>
|
|
28
31
|
<author>Christine Ashcreek</author>
|
|
29
|
-
<modeltype>CPEE</modeltype>
|
|
30
32
|
<design_stage>development</design_stage>
|
|
31
|
-
<
|
|
32
|
-
<design_dir>Experiments.dir/Twin Engine.dir</design_dir>
|
|
33
|
-
<guarded_id/>
|
|
33
|
+
<design_dir>Templates.dir</design_dir>
|
|
34
34
|
<model_uuid>a1cbb855-90e3-4d8c-b44b-d3ba7bff9f4e</model_uuid>
|
|
35
35
|
<model_version/>
|
|
36
36
|
<replay>https://cpee.org/replay/</replay>
|
|
@@ -194,4 +194,11 @@ data.costs += result.value('costs').to_f</finalize>
|
|
|
194
194
|
<dataelements type="none"/>
|
|
195
195
|
<endpoints type="none"/>
|
|
196
196
|
</transformation>
|
|
197
|
+
<subscriptions xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0">
|
|
198
|
+
<subscription id="_matze" url="https://lehre.bpm.in.tum.de/~mangler/a.php">
|
|
199
|
+
<topic id="state">
|
|
200
|
+
<event>change</event>
|
|
201
|
+
</topic>
|
|
202
|
+
</subscription>
|
|
203
|
+
</subscriptions>
|
|
197
204
|
</testset>
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
|
3
3
|
<executionhandler>ruby</executionhandler>
|
|
4
|
-
<dataelements
|
|
4
|
+
<dataelements>
|
|
5
|
+
<res>{"select_0":"learned in class or from book","input_0":"sadff","select_1":"used on a class project","input_1":"asdfsaf","input_2":"sadfasdf"}</res>
|
|
6
|
+
</dataelements>
|
|
5
7
|
<endpoints>
|
|
6
|
-
<
|
|
7
|
-
<
|
|
8
|
-
<frames_init>https-post://cpee.org/out/frames/simple/</frames_init>
|
|
9
|
-
<send>https-post://cpee.org/ing/correlators/message/send/</send>
|
|
10
|
-
<frames_display>https-put://cpee.org/out/frames/simple/</frames_display>
|
|
11
|
-
<receive>https-get://cpee.org/ing/correlators/message/receive/</receive>
|
|
12
|
-
<user>https-post://cpee.org/services/timeout-user.php</user>
|
|
13
|
-
<auto>https-post://cpee.org/services/timeout-auto.php</auto>
|
|
8
|
+
<frames_init>https-post://cpee.org/out/frames/</frames_init>
|
|
9
|
+
<frames_display>https-put://cpee.org/out/frames/</frames_display>
|
|
14
10
|
</endpoints>
|
|
15
11
|
<attributes>
|
|
12
|
+
<guarded>none</guarded>
|
|
13
|
+
<modeltype>CPEE</modeltype>
|
|
14
|
+
<theme>extended</theme>
|
|
15
|
+
<guarded_id/>
|
|
16
16
|
<info>Frames</info>
|
|
17
17
|
<creator>Christine Ashcreek</creator>
|
|
18
18
|
<author>Christine Ashcreek</author>
|
|
19
|
-
<modeltype>CPEE</modeltype>
|
|
20
|
-
<guarded>none</guarded>
|
|
21
|
-
<guarded_id/>
|
|
22
19
|
<model_uuid>5ed82f61-a382-49b5-a420-c63e01d5a9f5</model_uuid>
|
|
23
20
|
<model_version/>
|
|
24
|
-
<theme>extended</theme>
|
|
25
21
|
<design_dir>Templates.dir</design_dir>
|
|
26
22
|
<design_stage>development</design_stage>
|
|
23
|
+
<fid>gnd</fid>
|
|
27
24
|
</attributes>
|
|
28
25
|
<description>
|
|
29
26
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
30
27
|
<call id="a1" endpoint="frames_init">
|
|
31
28
|
<parameters>
|
|
32
29
|
<label>"Init Frame"</label>
|
|
30
|
+
<color/>
|
|
33
31
|
<arguments>
|
|
34
32
|
<style_url>https://cpee.org/form/frames.css</style_url>
|
|
35
33
|
<document_url/>
|
|
@@ -39,19 +37,30 @@
|
|
|
39
37
|
<document_name>Show Info</document_name>
|
|
40
38
|
</arguments>
|
|
41
39
|
</parameters>
|
|
40
|
+
<code>
|
|
41
|
+
<signal/>
|
|
42
|
+
<prepare>endpoints.frames_init += attributes.fid</prepare>
|
|
43
|
+
<finalize output="result"/>
|
|
44
|
+
<update output="result"/>
|
|
45
|
+
<rescue output="result"/>
|
|
46
|
+
</code>
|
|
42
47
|
<annotations>
|
|
48
|
+
<_generic/>
|
|
43
49
|
<_timing>
|
|
44
50
|
<_timing_weight/>
|
|
45
51
|
<_timing_avg/>
|
|
46
|
-
<_context_data_analysis>
|
|
47
|
-
<probes/>
|
|
48
|
-
<ips/>
|
|
49
|
-
</_context_data_analysis>
|
|
50
|
-
<report>
|
|
51
|
-
<url/>
|
|
52
|
-
</report>
|
|
53
52
|
<explanations/>
|
|
54
53
|
</_timing>
|
|
54
|
+
<_shifting>
|
|
55
|
+
<_shifting_type>Duration</_shifting_type>
|
|
56
|
+
</_shifting>
|
|
57
|
+
<_context_data_analysis>
|
|
58
|
+
<probes/>
|
|
59
|
+
<ips/>
|
|
60
|
+
</_context_data_analysis>
|
|
61
|
+
<report>
|
|
62
|
+
<url/>
|
|
63
|
+
</report>
|
|
55
64
|
<_notes>
|
|
56
65
|
<_notes_general/>
|
|
57
66
|
</_notes>
|
|
@@ -62,11 +71,15 @@
|
|
|
62
71
|
<implementation>
|
|
63
72
|
<description/>
|
|
64
73
|
</implementation>
|
|
74
|
+
<code>
|
|
75
|
+
<description/>
|
|
76
|
+
</code>
|
|
65
77
|
</documentation>
|
|
66
78
|
</call>
|
|
67
79
|
<call id="a3" endpoint="frames_display">
|
|
68
80
|
<parameters>
|
|
69
81
|
<label>Clear </label>
|
|
82
|
+
<color/>
|
|
70
83
|
<arguments>
|
|
71
84
|
<type>set</type>
|
|
72
85
|
<lx>0</lx>
|
|
@@ -79,19 +92,30 @@
|
|
|
79
92
|
<default/>
|
|
80
93
|
</arguments>
|
|
81
94
|
</parameters>
|
|
95
|
+
<code>
|
|
96
|
+
<signal/>
|
|
97
|
+
<prepare>endpoints.frames_display += attributes.fid</prepare>
|
|
98
|
+
<finalize output="result"/>
|
|
99
|
+
<update output="result"/>
|
|
100
|
+
<rescue output="result"/>
|
|
101
|
+
</code>
|
|
82
102
|
<annotations>
|
|
103
|
+
<_generic/>
|
|
83
104
|
<_timing>
|
|
84
105
|
<_timing_weight/>
|
|
85
106
|
<_timing_avg/>
|
|
86
|
-
<_context_data_analysis>
|
|
87
|
-
<probes/>
|
|
88
|
-
<ips/>
|
|
89
|
-
</_context_data_analysis>
|
|
90
|
-
<report>
|
|
91
|
-
<url/>
|
|
92
|
-
</report>
|
|
93
107
|
<explanations/>
|
|
94
108
|
</_timing>
|
|
109
|
+
<_shifting>
|
|
110
|
+
<_shifting_type>Duration</_shifting_type>
|
|
111
|
+
</_shifting>
|
|
112
|
+
<_context_data_analysis>
|
|
113
|
+
<probes/>
|
|
114
|
+
<ips/>
|
|
115
|
+
</_context_data_analysis>
|
|
116
|
+
<report>
|
|
117
|
+
<url/>
|
|
118
|
+
</report>
|
|
95
119
|
<_notes>
|
|
96
120
|
<_notes_general/>
|
|
97
121
|
</_notes>
|
|
@@ -102,11 +126,15 @@
|
|
|
102
126
|
<implementation>
|
|
103
127
|
<description/>
|
|
104
128
|
</implementation>
|
|
129
|
+
<code>
|
|
130
|
+
<description/>
|
|
131
|
+
</code>
|
|
105
132
|
</documentation>
|
|
106
133
|
</call>
|
|
107
134
|
<call id="a6" endpoint="frames_display">
|
|
108
135
|
<parameters>
|
|
109
136
|
<label>Show Header</label>
|
|
137
|
+
<color/>
|
|
110
138
|
<arguments>
|
|
111
139
|
<type>set</type>
|
|
112
140
|
<lx>0</lx>
|
|
@@ -124,19 +152,30 @@
|
|
|
124
152
|
<default/>
|
|
125
153
|
</arguments>
|
|
126
154
|
</parameters>
|
|
155
|
+
<code>
|
|
156
|
+
<signal/>
|
|
157
|
+
<prepare>endpoints.frames_display += attributes.fid</prepare>
|
|
158
|
+
<finalize output="result"/>
|
|
159
|
+
<update output="result"/>
|
|
160
|
+
<rescue output="result"/>
|
|
161
|
+
</code>
|
|
127
162
|
<annotations>
|
|
163
|
+
<_generic/>
|
|
128
164
|
<_timing>
|
|
129
165
|
<_timing_weight/>
|
|
130
166
|
<_timing_avg/>
|
|
131
|
-
<_context_data_analysis>
|
|
132
|
-
<probes/>
|
|
133
|
-
<ips/>
|
|
134
|
-
</_context_data_analysis>
|
|
135
|
-
<report>
|
|
136
|
-
<url/>
|
|
137
|
-
</report>
|
|
138
167
|
<explanations/>
|
|
139
168
|
</_timing>
|
|
169
|
+
<_shifting>
|
|
170
|
+
<_shifting_type>Duration</_shifting_type>
|
|
171
|
+
</_shifting>
|
|
172
|
+
<_context_data_analysis>
|
|
173
|
+
<probes/>
|
|
174
|
+
<ips/>
|
|
175
|
+
</_context_data_analysis>
|
|
176
|
+
<report>
|
|
177
|
+
<url/>
|
|
178
|
+
</report>
|
|
140
179
|
<_notes>
|
|
141
180
|
<_notes_general/>
|
|
142
181
|
</_notes>
|
|
@@ -147,11 +186,15 @@
|
|
|
147
186
|
<implementation>
|
|
148
187
|
<description/>
|
|
149
188
|
</implementation>
|
|
189
|
+
<code>
|
|
190
|
+
<description/>
|
|
191
|
+
</code>
|
|
150
192
|
</documentation>
|
|
151
193
|
</call>
|
|
152
194
|
<call id="a5" endpoint="frames_display">
|
|
153
195
|
<parameters>
|
|
154
196
|
<label>Display Graph</label>
|
|
197
|
+
<color/>
|
|
155
198
|
<arguments>
|
|
156
199
|
<type>set</type>
|
|
157
200
|
<lx>3</lx>
|
|
@@ -169,19 +212,30 @@
|
|
|
169
212
|
<default/>
|
|
170
213
|
</arguments>
|
|
171
214
|
</parameters>
|
|
215
|
+
<code>
|
|
216
|
+
<signal/>
|
|
217
|
+
<prepare>endpoints.frames_display += attributes.fid</prepare>
|
|
218
|
+
<finalize output="result"/>
|
|
219
|
+
<update output="result"/>
|
|
220
|
+
<rescue output="result"/>
|
|
221
|
+
</code>
|
|
172
222
|
<annotations>
|
|
223
|
+
<_generic/>
|
|
173
224
|
<_timing>
|
|
174
225
|
<_timing_weight/>
|
|
175
226
|
<_timing_avg/>
|
|
176
|
-
<_context_data_analysis>
|
|
177
|
-
<probes/>
|
|
178
|
-
<ips/>
|
|
179
|
-
</_context_data_analysis>
|
|
180
|
-
<report>
|
|
181
|
-
<url/>
|
|
182
|
-
</report>
|
|
183
227
|
<explanations/>
|
|
184
228
|
</_timing>
|
|
229
|
+
<_shifting>
|
|
230
|
+
<_shifting_type>Duration</_shifting_type>
|
|
231
|
+
</_shifting>
|
|
232
|
+
<_context_data_analysis>
|
|
233
|
+
<probes/>
|
|
234
|
+
<ips/>
|
|
235
|
+
</_context_data_analysis>
|
|
236
|
+
<report>
|
|
237
|
+
<url/>
|
|
238
|
+
</report>
|
|
185
239
|
<_notes>
|
|
186
240
|
<_notes_general/>
|
|
187
241
|
</_notes>
|
|
@@ -192,6 +246,9 @@
|
|
|
192
246
|
<implementation>
|
|
193
247
|
<description/>
|
|
194
248
|
</implementation>
|
|
249
|
+
<code>
|
|
250
|
+
<description/>
|
|
251
|
+
</code>
|
|
195
252
|
</documentation>
|
|
196
253
|
</call>
|
|
197
254
|
<loop mode="post_test" condition="true">
|
|
@@ -203,6 +260,7 @@
|
|
|
203
260
|
<call id="a2" endpoint="frames_display">
|
|
204
261
|
<parameters>
|
|
205
262
|
<label>Show Button</label>
|
|
263
|
+
<color/>
|
|
206
264
|
<arguments>
|
|
207
265
|
<type>wait</type>
|
|
208
266
|
<lx>0</lx>
|
|
@@ -220,19 +278,98 @@
|
|
|
220
278
|
<default/>
|
|
221
279
|
</arguments>
|
|
222
280
|
</parameters>
|
|
281
|
+
<code>
|
|
282
|
+
<signal/>
|
|
283
|
+
<prepare>endpoints.frames_display += attributes.fid</prepare>
|
|
284
|
+
<finalize output="result"/>
|
|
285
|
+
<update output="result"/>
|
|
286
|
+
<rescue output="result"/>
|
|
287
|
+
</code>
|
|
288
|
+
<annotations>
|
|
289
|
+
<_generic/>
|
|
290
|
+
<_timing>
|
|
291
|
+
<_timing_weight/>
|
|
292
|
+
<_timing_avg/>
|
|
293
|
+
<explanations/>
|
|
294
|
+
</_timing>
|
|
295
|
+
<_shifting>
|
|
296
|
+
<_shifting_type>Duration</_shifting_type>
|
|
297
|
+
</_shifting>
|
|
298
|
+
<_context_data_analysis>
|
|
299
|
+
<probes/>
|
|
300
|
+
<ips/>
|
|
301
|
+
</_context_data_analysis>
|
|
302
|
+
<report>
|
|
303
|
+
<url/>
|
|
304
|
+
</report>
|
|
305
|
+
<_notes>
|
|
306
|
+
<_notes_general/>
|
|
307
|
+
</_notes>
|
|
308
|
+
</annotations>
|
|
309
|
+
<documentation>
|
|
310
|
+
<input/>
|
|
311
|
+
<output/>
|
|
312
|
+
<implementation>
|
|
313
|
+
<description/>
|
|
314
|
+
</implementation>
|
|
315
|
+
<code>
|
|
316
|
+
<description/>
|
|
317
|
+
</code>
|
|
318
|
+
</documentation>
|
|
319
|
+
</call>
|
|
320
|
+
<call id="a8" endpoint="frames_display">
|
|
321
|
+
<parameters>
|
|
322
|
+
<label>Experience</label>
|
|
323
|
+
<color/>
|
|
324
|
+
<arguments>
|
|
325
|
+
<type>wait</type>
|
|
326
|
+
<lx>0</lx>
|
|
327
|
+
<ly>1</ly>
|
|
328
|
+
<x_amount>5</x_amount>
|
|
329
|
+
<y_amount>9</y_amount>
|
|
330
|
+
<button/>
|
|
331
|
+
<style/>
|
|
332
|
+
<urls>
|
|
333
|
+
<urls_item>
|
|
334
|
+
<lang>de-at</lang>
|
|
335
|
+
<url>https://cpee.org/quests/dataflow/questions.html</url>
|
|
336
|
+
</urls_item>
|
|
337
|
+
</urls>
|
|
338
|
+
<default>
|
|
339
|
+
<text_0>Please rate your **programming** experience with respect to the following 5-point levels:</text_0>
|
|
340
|
+
<select_0>no experience; learned in class or from book; used on a class project; used on one project in industry; used on multiple projects in industry</select_0>
|
|
341
|
+
<input_0>How many years of programming experience do you have?</input_0>
|
|
342
|
+
<text_1>Please rate your **modelling** experience with respect to the following 5-point levels:</text_1>
|
|
343
|
+
<select_1>no experience; learned in class or from book; used on a class project; used on one project in industry; used on multiple projects in industry</select_1>
|
|
344
|
+
<input_1>How many years of modelling experience do you have?</input_1>
|
|
345
|
+
<input_2>Which graphical modeling languages are you familiar with (e.g., UML, ER, etc.)?</input_2>
|
|
346
|
+
</default>
|
|
347
|
+
</arguments>
|
|
348
|
+
</parameters>
|
|
349
|
+
<code>
|
|
350
|
+
<signal/>
|
|
351
|
+
<prepare>endpoints.frames_display += attributes.fid</prepare>
|
|
352
|
+
<finalize output="result">data.res = result</finalize>
|
|
353
|
+
<update output="result"/>
|
|
354
|
+
<rescue output="result"/>
|
|
355
|
+
</code>
|
|
223
356
|
<annotations>
|
|
357
|
+
<_generic/>
|
|
224
358
|
<_timing>
|
|
225
359
|
<_timing_weight/>
|
|
226
360
|
<_timing_avg/>
|
|
227
|
-
<_context_data_analysis>
|
|
228
|
-
<probes/>
|
|
229
|
-
<ips/>
|
|
230
|
-
</_context_data_analysis>
|
|
231
|
-
<report>
|
|
232
|
-
<url/>
|
|
233
|
-
</report>
|
|
234
361
|
<explanations/>
|
|
235
362
|
</_timing>
|
|
363
|
+
<_shifting>
|
|
364
|
+
<_shifting_type>Duration</_shifting_type>
|
|
365
|
+
</_shifting>
|
|
366
|
+
<_context_data_analysis>
|
|
367
|
+
<probes/>
|
|
368
|
+
<ips/>
|
|
369
|
+
</_context_data_analysis>
|
|
370
|
+
<report>
|
|
371
|
+
<url/>
|
|
372
|
+
</report>
|
|
236
373
|
<_notes>
|
|
237
374
|
<_notes_general/>
|
|
238
375
|
</_notes>
|
|
@@ -243,11 +380,15 @@
|
|
|
243
380
|
<implementation>
|
|
244
381
|
<description/>
|
|
245
382
|
</implementation>
|
|
383
|
+
<code>
|
|
384
|
+
<description/>
|
|
385
|
+
</code>
|
|
246
386
|
</documentation>
|
|
247
387
|
</call>
|
|
248
388
|
<call id="a7" endpoint="frames_display">
|
|
249
389
|
<parameters>
|
|
250
390
|
<label>Clear Button</label>
|
|
391
|
+
<color/>
|
|
251
392
|
<arguments>
|
|
252
393
|
<type>set</type>
|
|
253
394
|
<lx>0</lx>
|
|
@@ -260,19 +401,30 @@
|
|
|
260
401
|
<default/>
|
|
261
402
|
</arguments>
|
|
262
403
|
</parameters>
|
|
404
|
+
<code>
|
|
405
|
+
<signal/>
|
|
406
|
+
<prepare>endpoints.frames_display += attributes.fid</prepare>
|
|
407
|
+
<finalize output="result"/>
|
|
408
|
+
<update output="result"/>
|
|
409
|
+
<rescue output="result"/>
|
|
410
|
+
</code>
|
|
263
411
|
<annotations>
|
|
412
|
+
<_generic/>
|
|
264
413
|
<_timing>
|
|
265
414
|
<_timing_weight/>
|
|
266
415
|
<_timing_avg/>
|
|
267
|
-
<_context_data_analysis>
|
|
268
|
-
<probes/>
|
|
269
|
-
<ips/>
|
|
270
|
-
</_context_data_analysis>
|
|
271
|
-
<report>
|
|
272
|
-
<url/>
|
|
273
|
-
</report>
|
|
274
416
|
<explanations/>
|
|
275
417
|
</_timing>
|
|
418
|
+
<_shifting>
|
|
419
|
+
<_shifting_type>Duration</_shifting_type>
|
|
420
|
+
</_shifting>
|
|
421
|
+
<_context_data_analysis>
|
|
422
|
+
<probes/>
|
|
423
|
+
<ips/>
|
|
424
|
+
</_context_data_analysis>
|
|
425
|
+
<report>
|
|
426
|
+
<url/>
|
|
427
|
+
</report>
|
|
276
428
|
<_notes>
|
|
277
429
|
<_notes_general/>
|
|
278
430
|
</_notes>
|
|
@@ -283,6 +435,9 @@
|
|
|
283
435
|
<implementation>
|
|
284
436
|
<description/>
|
|
285
437
|
</implementation>
|
|
438
|
+
<code>
|
|
439
|
+
<description/>
|
|
440
|
+
</code>
|
|
286
441
|
</documentation>
|
|
287
442
|
</call>
|
|
288
443
|
<stop id="a4"/>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
<description>
|
|
22
22
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
23
23
|
<loop mode="pre_test" condition="true">
|
|
24
|
-
<parallel wait="-1">
|
|
24
|
+
<parallel wait="-1" cancel="last">
|
|
25
25
|
<loop mode="pre_test" condition="data.i < 4">
|
|
26
26
|
<_probability>
|
|
27
27
|
<_probability_min/>
|
data/cockpit/themes/base.js
CHANGED
|
@@ -117,7 +117,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
117
117
|
nodes.reverse();
|
|
118
118
|
var iconm = contextMenuHandling_clean_icon(self.resources['arrow']);
|
|
119
119
|
var iconc = contextMenuHandling_clean_icon(self.resources['arrow']);
|
|
120
|
-
iconm.children('.
|
|
120
|
+
iconm.children('.colorstyle').css('fill','var(--wfadaptor-important');
|
|
121
121
|
if (myid == localStorage.getItem('marked_from')) {
|
|
122
122
|
menu.push(
|
|
123
123
|
{
|
|
@@ -186,8 +186,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
186
186
|
|
|
187
187
|
if(xml_node.get(0).tagName != 'description' && !self.elements[xml_node.get(0).tagName].neverdelete) {
|
|
188
188
|
var icon = contextMenuHandling_clean_icon(self.elements[xml_node.get(0).tagName].illustrator.svg);
|
|
189
|
-
icon.find('.
|
|
190
|
-
icon.find('.hfill').addClass('menu');
|
|
189
|
+
icon.find('.colorstyle').css('fill','var(--wfadaptor-important');
|
|
191
190
|
menu['Delete'] = [{
|
|
192
191
|
'label': 'Remove Element',
|
|
193
192
|
'function_call': function(selector,target,selected){
|
|
@@ -204,7 +203,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
204
203
|
nodes = JSON.parse(nodes);
|
|
205
204
|
if (nodes && nodes.length > 0) {
|
|
206
205
|
var icond = contextMenuHandling_clean_icon(self.resources['delete']);
|
|
207
|
-
icond.
|
|
206
|
+
icond.find('.colorstyle').css('stroke','var(--wfadaptor-important)');
|
|
208
207
|
menu['Delete'].push({
|
|
209
208
|
'label': 'Remove Marked Elements',
|
|
210
209
|
'function_call': function(){
|
|
@@ -236,7 +235,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
236
235
|
}
|
|
237
236
|
if($('> code', xml_node).length > 0 && xml_node.get(0).tagName == 'call') {
|
|
238
237
|
var icon = contextMenuHandling_clean_icon(self.elements.callmanipulate.illustrator.svg);
|
|
239
|
-
icon.
|
|
238
|
+
icon.find('.part-extra .colorstyle').css('fill','var(--wfadaptor-important');
|
|
240
239
|
menu['Delete'].push({
|
|
241
240
|
'label': 'Remove Scripts',
|
|
242
241
|
'function_call': self.adaptor.description.remove,
|
|
@@ -247,7 +246,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
247
246
|
}
|
|
248
247
|
if (xml_node.get(0).tagName == "call" || xml_node.get(0).tagName == "manipulate" || xml_node.get(0).tagName == "stop") {
|
|
249
248
|
var icon = contextMenuHandling_clean_icon(self.elements.call.illustrator.svg);
|
|
250
|
-
icon.
|
|
249
|
+
icon.find('.part-normal').addClass('passive');
|
|
251
250
|
var vtarget = self.adaptor.illustrator.get_node_by_svg_id(svgid);
|
|
252
251
|
if (vtarget.length > 0) {
|
|
253
252
|
if (vtarget.parents('g.activities.passive, g.activities.active').length > 0) {
|
|
@@ -352,7 +351,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
352
351
|
$('.resource-row[element-row=' + er + '] .resource-point').each((_,e) => {
|
|
353
352
|
let pos = e.getBoundingClientRect();
|
|
354
353
|
let text = $('text',e).text();
|
|
355
|
-
|
|
354
|
+
show_dataflow_label(pos.x + 12, pos.y + 5, 60, text);
|
|
356
355
|
})
|
|
357
356
|
self.adaptor.illustrator.svg.container.find('.tile[element-id = "' + svgid + '"]').css('display','block');
|
|
358
357
|
self.adaptor.illustrator.svg.container.find('[element-id = "' + svgid + '"]').addClass('hover');
|
|
@@ -387,6 +386,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
387
386
|
let col = $('> parameters > color', node);
|
|
388
387
|
if (col.length > 0 && col.text() != '') {
|
|
389
388
|
sty['fill'] = col.text();
|
|
389
|
+
// sty['fill'] = "url(#custom-gradient)";
|
|
390
|
+
// sty['--custom-color'] = col.text();
|
|
390
391
|
}
|
|
391
392
|
return sty;
|
|
392
393
|
},
|
|
@@ -1337,8 +1338,8 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1337
1338
|
let alist = []
|
|
1338
1339
|
let plist = []
|
|
1339
1340
|
|
|
1340
|
-
var regassi = /data\.([a-zA-
|
|
1341
|
-
var reg_not_assi = /data\.([a-zA-
|
|
1341
|
+
var regassi = /data\.([a-z_][a-zA-Z0-9_]*)\s*(=[^=]|\+\=|\-\=|\*\=|\/\=|<<|>>|\|\|=)/g; // we do not have to check for >/< version of stuff as only conditions are in attributes, and conditions can not contain assignments
|
|
1342
|
+
var reg_not_assi = /data\.([a-z_][a-zA-Z0-9_]*)\s*/g;
|
|
1342
1343
|
|
|
1343
1344
|
$('call, manipulate, loop[condition], alternative[condition]',node).each(function(i,n) {
|
|
1344
1345
|
let item = '';
|
|
@@ -1351,16 +1352,18 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1351
1352
|
if (n.nodeName == 'manipulate') { // css selector can not directly access manipulate
|
|
1352
1353
|
item += n.textContent + '\n';
|
|
1353
1354
|
}
|
|
1354
|
-
$('call > parameters > arguments
|
|
1355
|
+
$('call > parameters > arguments *',n).each(function(j,m){
|
|
1356
|
+
let x = m.textContent;
|
|
1357
|
+
if (x.charAt(0) == '!') { item += x + '\n'; }
|
|
1358
|
+
});
|
|
1359
|
+
$('call > code > finalize, call > code > update, call > code > rescue',n).each(function(j,m){
|
|
1355
1360
|
let x = m.textContent;
|
|
1356
|
-
if (m.parentNode.nodeName == 'arguments' && x.charAt(0) != '!' ) { return }
|
|
1357
1361
|
item += x + '\n';
|
|
1358
1362
|
});
|
|
1359
1363
|
}
|
|
1360
1364
|
if (item == '') { return; }
|
|
1361
1365
|
|
|
1362
1366
|
let indices = [];
|
|
1363
|
-
|
|
1364
1367
|
for (const match of item.matchAll(regassi)) {
|
|
1365
1368
|
indices.push(match.index);
|
|
1366
1369
|
alist.push(match[1]);
|
|
@@ -1370,7 +1373,7 @@ function WFAdaptorManifestationBase(adaptor) {
|
|
|
1370
1373
|
const arg1 = match[1];
|
|
1371
1374
|
if (indices.includes(match.index)) { continue; }
|
|
1372
1375
|
if (!alist.includes(arg1)) {
|
|
1373
|
-
if (
|
|
1376
|
+
if (indices.length == 0 || match.index < indices[0]) {
|
|
1374
1377
|
plist.push(arg1);
|
|
1375
1378
|
}
|
|
1376
1379
|
}
|
|
@@ -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="ω - 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
|
|
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="ω - 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>
|